Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jun 2013 14:19:49 -0400
From:      Kim Culhan <w8hdkim@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: net-mgmt/cflowd 2.1.b1 build failure
Message-ID:  <CAKZxVQXbvJDToYKTcccPtTcCevM8e52SzzifjAgA2%2BEYzie6Cg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKZxVQXbvJDToYKTcccPtTcCevM8e52SzzifjAgA2%2BEYzie6Cg>