Re: Problems when compiling CFLOW

From: Liger-dc (liger_dc@yahoo.com)
Date: Tue Jul 31 2001 - 08:28:15 PDT

  • Next message: Liger-dc: "Port ripping script"

    Peter,
       This is the file 'ar' that gmake couldnt find. Run the whereis command like I did to find the
    'ar' file and make sure that its path is in root. as you can see in the example below my ar file
    is in /usr/bin.

    [root@cwsi graphs]# whereis ar
    ar: /usr/bin/ar /usr/include/ar.h /usr/man/man1/ar.1 /usr/share/man/man1/ar.1.gz
    [root@cwsi graphs]#

    --- Pieter Bezuidenhout <pieter@saix.net> wrote:
    > Thanks,
    >
    > That helped. I now have another problem, any ideas:
    >
    > /usr/local/saixnms/flow/cflowd-2-1-b1 > /usr/local/bin/gmake
    > cd snmp++; /usr/local/bin/gmake
    > gmake[1]: Entering directory `/usr/local/saixnms/flow/cflowd-2-1-b1/snmp++'
    > cd classes; /usr/local/bin/gmake
    > gmake[2]: Entering directory `/usr/local/saixnms/flow/cflowd-2-1-b1/snmp++/classes'
    > cd src; /usr/local/bin/gmake
    > gmake[3]: Entering directory `/usr/local/saixnms/flow/cflowd-2-1-b1/snmp++/classes/src'
    > rm -fr ../lib/.libs/libsnmp++.la ../lib/.libs/libsnmp++.* ../lib/.libs/libsnmp++.*
    > ar cru ../lib/.libs/libsnmp++.a address.o counter.o ctr64.o gauge.o integer.o octet.o oid.o
    > pdu.o target.o timetick.o vb.o asn1.o snmpmsg.o uxsnmp.o eventlist.o msgqueue.o userdefined.o
    > usertimeout.o
    > msec.o notifyqueue.o
    > ../../../libtool: ar: not found
    > gmake[3]: *** [../lib/libsnmp++.la] Error 1
    > gmake[3]: Leaving directory `/usr/local/saixnms/flow/cflowd-2-1-b1/snmp++/classes/src'
    > gmake[2]: *** [all] Error 2
    > gmake[2]: Leaving directory `/usr/local/saixnms/flow/cflowd-2-1-b1/snmp++/classes'
    > gmake[1]: *** [classes/lib/libsnmp++.a] Error 2
    > gmake[1]: Leaving directory `/usr/local/saixnms/flow/cflowd-2-1-b1/snmp++'
    > gmake: *** [all] Error 2
    >
    >
    > Liger-dc wrote:
    > >
    > > Make sure your using gnumake
    > >
    > > --- Pieter Bezuidenhout <pieter@saix.net> wrote:
    > > > Hi,
    > > >
    > > > I get the following error when compiling CFLOW on a Sun Sparc 7 sytem
    > > >
    > > > /usr/flow/cflowd-2-1-b1 > make
    > > > cd snmp++; make
    > > > cd classes; make
    > > > cd src; make
    > > > libtool: unrecognized option `-D__unix__'
    > > > Try `libtool --help' for more information
    > > >
    > > > Any ideas to resolve this ??
    > > >
    > > > Pieter
    > > > --
    > > > cflowd mailing list
    > > > cflowd@caida.org
    > >
    > > =====
    > > Edson Manners
    > > Academic Computing & Networking Services
    > > Florida State University
    > >
    > > __________________________________________________
    > > Do You Yahoo!?
    > > Make international calls for as low as $.04/minute with Yahoo! Messenger
    > > http://phonecard.yahoo.com/

    =====
    Edson Manners
    Academic Computing & Networking Services
    Florida State University

    __________________________________________________
    Do You Yahoo!?
    Make international calls for as low as $.04/minute with Yahoo! Messenger
    http://phonecard.yahoo.com/

    --
    cflowd mailing list
    cflowd@caida.org
    



    This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 08:47:57 PDT