Re: cflowdmux / libsnmp++.a compile error

From: Alexander Serkin (als@cell.ru)
Date: Tue Feb 20 2001 - 22:43:00 PST

  • Next message: Mark Manuel C. Ramos: "Re: What about a zero *mask* ?"

    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]#
    >

    Seen the same on RH7.0. Try to give "--enable-shared" option to
    configure script.

    -- 
    Alexander
    --
    cflowd mailing list
    cflowd@caida.org
    



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