[Cflowd] make problems on Linux

From: Graham Zulauf (graham_zulauf@yahoo.com)
Date: Thu Nov 21 2002 - 14:15:37 PST

  • Next message: Graham Zulauf: "RE: [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 given.

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

    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 `/home/gzulauf/downloads/cflowd-2-1-b1/snmp++/classes'
    cd src; make
    make[3]: Entering directory `/home/gzulauf/downloads/cflowd-2-1-b1/snmp++/classes/src'
    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 `/home/gzulauf/downloads/cflowd-2-1-b1/snmp++/classes/src'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/home/gzulauf/downloads/cflowd-2-1-b1/snmp++/classes'
    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

    This archive was generated by hypermail 2.1.4 : Thu Nov 21 2002 - 14:30:20 PST