Subject: Problem compiling using RH9
From: allan borman (allan.borman@hccs.edu)
Date: Thu May 15 2003 - 15:42:09 CDT
I am trying to install flowscan on redhat9. I am having problems
compiling. I have attached the following filws
fs-conf-out output genarated
make-out output of the make
if you have come across and can help please let me know.
[root@flow cflowd-2-1-b1]# ./configure
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for AIX... no
checking for ranlib... ranlib
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
loading cache /dev/null within ltconfig
checking for object suffix... o
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache /dev/null
checking for inet_ntoa in -lnsl... yes
checking for socket in -lsocket... no
checking for ftok in -lcompat... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking sys/termios.h usability... yes
checking sys/termios.h presence... yes
checking for sys/termios.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for strcasecmp... yes
configure: checking how to call msync...
artspp set to /usr/local/arts (default)
cflowdtop set to /boot/flowscan/cflowd-2-1-b1 (default)
docurl set to /caida/powertools/cflowd (default)
checking for yywrap in -lfl... yes
flexdir set to system (default)
DOC_VERSION set to cflowd-2-1-b1
PKG_VERSION set to cflowd-2-1-b1
C_R_A set to 0:0:0
checking for socklen_t... yes
checking for union semun... no
OSNAME set to i686-linux-gnu
Prereq paths:
artspp: /usr/local/arts
cflowdtop: /boot/flowscan/cflowd-2-1-b1
docurl: /caida/powertools/cflowd
flexdir: system
Install paths:
includedir: /usr/local/arts/include/cflowd
libdir: /usr/local/arts/lib/cflowd
bindir: /usr/local/arts/bin
sbindir: /usr/local/arts/sbin
mandir: /usr/local/arts/man
sysconfdir: /usr/local/arts/etc
configure: creating ./config.status
config.status: creating Makefile
config.status: creating apps/cfdases/Makefile
config.status: creating apps/cfdases/cfdases.man
config.status: creating apps/cfdcollect/Makefile
config.status: creating apps/cfdifmatrix/Makefile
config.status: creating apps/cfdifmatrix/cfdifmatrix.man
config.status: creating apps/cfdnets/Makefile
config.status: creating apps/cfdnets/cfdnets.man
config.status: creating apps/cfdnexthops/Makefile
config.status: creating apps/cfdnexthops/cfdnexthops.man
config.status: creating apps/cfdportmatrix/Makefile
config.status: creating apps/cfdportmatrix/cfdportmatrix.man
config.status: creating apps/cfdprotos/Makefile
config.status: creating apps/cfdprotos/cfdprotos.man
config.status: creating apps/cfdtos/Makefile
config.status: creating apps/cfdtos/cfdtos.man
config.status: creating apps/cflowd/Makefile
config.status: creating apps/cflowdmux/Makefile
config.status: creating apps/dnswatch/Makefile
config.status: creating apps/flowdump/Makefile
config.status: creating apps/flowdump/flowdump.man
config.status: creating apps/flowwatch/Makefile
config.status: creating apps/flowwatch/flowwatch.man
config.status: creating classes/src/CflowdConfig.cc
config.status: creating classes/src/Makefile
config.status: creating etc/Makefile
config.status: creating doc/configuration/configuration.sgml
config.status: creating doc/libCfd/Makefile
config.status: creating doc/libCfd/installHtml.sh
config.status: creating doc/libCfd/cocoon.conf
config.status: creating bsd.ports/net/cflowd/Makefile
config.status: creating snmp++/classes/include/snmp++/Makefile
config.status: creating snmp++/classes/src/Makefile
config.status: creating include/aclocal.h
config.status: include/aclocal.h is unchangedmake
root@flow cflowd-2-1-b1]#
In file included from /usr/include/c++/3.2.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.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 17.4.1.2 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[2]: *** [all] Error 2
make[1]: *** [classes/lib/libsnmp++.a] Error 2
make: *** [all] Error 2
--
Help mailto:majordomo@net.doit.wisc.edu and say "help" in message body
Unsubscribe mailto:majordomo@net.doit.wisc.edu and say
"unsubscribe flowscan" in message body
Archive http://net.doit.wisc.edu/~plonka/list/flowscan/archive/
This archive was generated by hypermail 2b25 : Thu May 15 2003 - 15:47:26 CDT