Try wiping out the whole cflowd directory, then recompiling. Make sure you have
already compiled Arts. I had the same problem under Solaris and this seemed to fix
Paul Raj Khangure wrote:
> I'm trying to compile cflowd-2-1-b1 on a redhat linux 6.2 box, and
> getting the following error.
> make: Entering directory `/usr/src/cflowd-2-1-b1/apps'
> cd cflowdmux; make
> make: Entering directory `/usr/src/cflowd-2-1-b1/apps/cflowdmux'
> c++ -g -O2 -c CflowdRawFlowClientList.cc -I../../classes/include -I../../include
> -I. -I/usr/local/arts/include
> c++ -g -O2 -c cflowdmux.cc -I/usr/local/arts/include -I../../classes/include
> -I../../include -I. -I../../snmp++/classes/include
> mkdir .libs
> c++ -g -O2 CflowdRawFlowClientList.o cflowdmux.o
> ../../classes/lib/.libs/libCfd.a -L/usr/local/arts/lib -lArts
> ../../snmp++/classes/lib/.libs/libsnmp++.a -lfl -lnsl -o cflowdmux -Wl,--rpath
> -Wl,/usr/local/arts/lib -Wl,--rpath -Wl,/usr/local/arts/lib
> ../../snmp++/classes/lib/.libs/libsnmp++.a: could not read symbols: Archive has
> no index; run ranlib to add one
> collect2: ld returned 1 exit status
> make: *** [cflowdmux] Error 1
> make: Leaving directory `/usr/src/cflowd-2-1-b1/apps/cflowdmux'
> make: *** [cflowdmux] Error 2
> make: Leaving directory `/usr/src/cflowd-2-1-b1/apps'
> make: *** [all] Error 2
> [root@netflow cflowd-2-1-b1]#
> I have arts++-1-1-a8 compiled and installed.
> I have bison and flex installed as rpms:
> Searching the mailing list archive has shown a couple of other people
> having similar problems under solaris and bsd, but no solutions listed.
> Please reply off list as well.
> Paul Raj Khangure
> Senior Network Engineer. Internet Infobahn.
> Phone: +61 8 9226 1011. Fax: +61 8 9226 1012.
> Smith and Wesson: the original point and click interface.
> I don't suffer from insanity. I enjoy every minute of it.
> cflowd mailing list
-- cflowd mailing list firstname.lastname@example.org
This archive was generated by hypermail 2b29 : Tue Feb 20 2001 - 22:38:02 PST