net-mgmt/cflowd 2.1.b1 build failure

Kim Culhan w8hdkim at gmail.com
Tue Jun 18 18:19:56 UTC 2013


On Mon, June 17, 2013 10:47 pm, Mark Felder wrote:
> I just did a build of this in poudriere with no issues. I'd guess you
> have a dirty build environment. Can you post the contents of your
> make.conf?

Had added the gcc lines to make.conf to build with gcc, now commented the
gcc lines
and compiled with clang.

make.conf now looks like:

# added by use.perl 2013-04-14 17:30:19
PERL_VERSION=5.14.2
WITH_PKGNG=yes
#.if !empty(.CURDIR:M/usr/ports/*) && exists(/usr/bin/gcc42)
#CC=gcc
#CXX=g++
#CPP=cpp
#.endif

The build failure now looks like:

libtool: link: c++ -O2 -pipe -fno-strict-aliasing CflowdRawFlowClientList.o
cflowdmux.o -o .libs/cflowdmux  ../../classes/lib/.libs/libCfd.so
-L/usr/local/lib /usr/local/lib/libArts.so
../../snmp++/classes/lib/.libs/libsnmp++.so -lfl -lcompat -Wl,-rpath
-Wl,/usr/local/lib/cflowd -Wl,-rpath -Wl,/usr/local/lib
../../classes/lib/.libs/libCfd.so: undefined reference to
`yyFlexLexer::yywrap()'
c++: error: linker command failed with exit code 1 (use -v to see
invocation)
gmake[2]: *** [cflowdmux] Error 1
gmake[2]: Leaving directory
`/usr/ports/net-mgmt/cflowd/work/cflowd-2-1-b1/apps/cflowdmux'
gmake[1]: *** [cflowdmux] Error 2
gmake[1]: Leaving directory
`/usr/ports/net-mgmt/cflowd/work/cflowd-2-1-b1/apps'
gmake: *** [all] Error 2
*** Error code 1
Stop.
make: stopped in /usr/ports/net-mgmt/cflowd
*** Error code 1
Stop.
make: stopped in /usr/ports/net-mgmt/cflowd

thanks for looking..

-kim


More information about the freebsd-ports mailing list