Re: cflowdmux / libsnmp++.a compile error

From: Paul Raj Khangure (prk@infobahn.com.au)
Date: Tue Feb 20 2001 - 22:28:17 PST

  • Next message: Alexander Serkin: "Re: cflowdmux / libsnmp++.a compile error"

    In an Age long past, an Age yet to come, Blake Caldwell wrote:
    >
    > 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.

    How bizarre.

    I'd done a make clean, removed the config files, and tried from
    ./configure again, and it had just been the same.

    But rm -rf ing the directory, then untarring again seemed fine.

    Thanks for your help.

    > 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

    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



    This archive was generated by hypermail 2b29 : Tue Feb 20 2001 - 22:41:41 PST