FW: [Cflowd] make problems on Linux

From: Christophe Ponsen (christophe.ponsen@ops.skynet.be)
Date: Fri Nov 22 2002 - 01:03:39 PST

  • Next message: Anton Yurchenko: "[Cflowd] Building Cflowd and arts++ under RH8.0 gcc3"

    -----Original Message-----
    From: Christophe Ponsen
    Sent: vendredi 22 novembre 2002 10:02
    To: 'Graham Zulauf'
    Subject: RE: [Cflowd] make problems on Linux

    There's a well known problem with linux when you try to do more than one make,
    the first one only works.

    I deployed cflowd on a linux Debian 2.4.19 with gcc 2.95.4 and have no problem
    with cflowd. The only thing I'm sure is that I just made a make and install
    with no parameters, default install and default make.


    -----Original Message-----
    From: Graham Zulauf [mailto:graham_zulauf@yahoo.com]
    Sent: jeudi 21 novembre 2002 23:16
    To: cflowd@caida.org
    Subject: [Cflowd] make problems on Linux

    Having problems when trying to do a "make".

    Redhat 8

    I noticed a few other people having a similar problem, but no solution has been

    I'm a newbie with linux, so I can handle all the help anyone is willing to dish

    Here's the output from the make:

    cd snmp++; make
    make[1]: Entering directory `/home/gzulauf/downloads/cflowd-2-1-b1/snmp++'
    cd classes; make
    make[2]: Entering directory
    cd src; make
    make[3]: Entering directory
    g++ -D__unix__ -I../include/snmp++ -I./ -g -O2 -c oid.cpp -o oid.o
    In file included from /usr/include/c++/3.2/backward/iostream.h:31,
                     from ../include/snmp++/smival.h:49,
                     from ../include/snmp++/oid.h:62,
                     from oid.cpp:59:
    /usr/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning This
    file includes at
    least one deprecated or antiquated header. Please consider using one of the 32
    headers found in
    section of the C++ standard. Examples include substituting the <X>
    header for the <X.h>
    header for C++ includes, or <sstream> instead of the deprecated header
    <strstream.h>. To disable
    this warning use -Wno-deprecated.
    In file included from oid.cpp:59:
    ../include/snmp++/oid.h:181: `vector' was not declared in this scope
    ../include/snmp++/oid.h:181: parse error before `>' token
    oid.cpp:503: `vector' was not declared in this scope
    oid.cpp:503: parse error before `>' token
    oid.cpp: In member function `void Oid::get_oid(...) const':
    oid.cpp:505: `outVect' undeclared (first use this function)
    oid.cpp:505: (Each undeclared identifier is reported only once for each
       function it appears in.)
    make[3]: *** [oid.lo] Error 1
    make[3]: Leaving directory
    make[2]: *** [all] Error 2
    make[2]: Leaving directory
    make[1]: *** [classes/lib/libsnmp++.a] Error 2
    make[1]: Leaving directory `/home/gzulauf/downloads/cflowd-2-1-b1/snmp++'
    make: *** [all] Error 2

    Do you Yahoo!?
    Yahoo! Mail Plus - Powerful. Affordable. Sign up now.

    Cflowd mailing list

    Cflowd mailing list

    This archive was generated by hypermail 2.1.4 : Fri Nov 22 2002 - 01:18:37 PST