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
it.
-Blake
Paul Raj Khangure wrote:
> G'day,
>
> I'm trying to compile cflowd-2-1-b1 on a redhat linux 6.2 box, and
> getting the following error.
>
> make[1]: Entering directory `/usr/src/cflowd-2-1-b1/apps'
> cd cflowdmux; make
> make[2]: 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[2]: *** [cflowdmux] Error 1
> make[2]: Leaving directory `/usr/src/cflowd-2-1-b1/apps/cflowdmux'
> make[1]: *** [cflowdmux] Error 2
> make[1]: 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:
> bison-1.28-2
> flex-2.5.4a-9
>
> 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.
>
> Thanks,
>
> 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@caida.org
-- cflowd mailing list cflowd@caida.org
This archive was generated by hypermail 2b29 : Tue Feb 20 2001 - 22:38:02 PST