archive has no index?

From: Justin M. Streiner (
Date: Mon Jan 21 2002 - 12:29:32 PST

  • Next message: R. Drew Davis: "Re: archive has no index?"

    I'm having some trouble getting cflowd to link on a FreeBSD 4.4 box.
    Everything at least up to this point appears to compile and link properly.
    When making cflowdmux, I get the following error:

    cd cflowdmux; make
    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 -lcompat -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
    *** Error code 1

    Stop in /usr/local/src/cflowd-2-1-b1/apps/cflowdmux.
    *** Error code 1

    Stop in /usr/local/src/cflowd-2-1-b1/apps.
    *** Error code 1

    Stop in /usr/local/src/cflowd-2-1-b1.

    libsnmp++.a exists at the specified location relative to the build
    directory with the correct permissions.

    I ran ranlib on libsnmp++.a, and re-ran the build with the same results.

    Any ideas on where I should start to look for the problem? Any
    help/insight is appreciated.

    cflowd mailing list

    This archive was generated by hypermail 2.1.4 : Mon Jan 21 2002 - 13:00:35 PST