Re: Compiling error on FreeBSD 4.1

From: Andreas Klemm (andreas@klemm.gtn.com)
Date: Sat Jan 27 2001 - 01:43:53 PST

  • Next message: Andreas Klemm: "Problems to get cflowd running on FreeBSD 4.2..."

    On Fri, Jan 26, 2001 at 12:35:05PM +0600, Alex Shavkun wrote:
    > Hello!
    >
    > > There are many mails about the compiling problem as follows.
    > > but no specific answer is given. Help me I struggle to resolve it for a month.
    > > i appreciate any answer
    > >
    > > ku-ngi#gmake
    > > ../../snmp++/classes/lib/.libs/libsnmp++.a: could not read symbols: Archive
    > has
    > > no index; run ranlib to add one
    > > gmake[2]: *** [cflowdmux] Error 1
    > > gmake[2]: Leaving directory
    > `/usr/local/src/cflowd/cflowd-2-1-a9/apps/cflowdmux'
    > > gmake[1]: *** [cflowdmux] Error 2
    > > gmake[1]: Leaving directory `/usr/local/src/cflowd/cflowd-2-1-a9/apps'
    > > gmake: *** [all] Error 2
    > > ku-ngi#
    >
    > I'm new in this list, but I have same problem.
    > I don't now why, but cflowd build SPARC (Solaris) snmp++ lib (shared and
    > static)!!!

    Maybe you can't compile on FreeBSD 4.1, because you need a newer
    compiler. Here on 4.2-STABLE it compiles like a charm...

    g++ -v:
    Using builtin specs.
    gcc version 2.95.2 19991024 (release)

    Additionally: try using standard CFLAGS first, so not redefine them
    in /etc/make.conf

            Andreas ///

    -- 
    Andreas Klemm                                           Powered by FreeBSD SMP
    Songs from our band >>64Bits<<............http://www.apsfilter.org/64bits.html
    My homepage................................ http://people.FreeBSD.ORG/~andreas
    Please note: Apsfilter got a NEW HOME................http://www.apsfilter.org/
    


    --
    cflowd mailing list
    cflowd@caida.org
    



    This archive was generated by hypermail 2b29 : Sat Jan 27 2001 - 02:10:49 PST