Re: [bwm-tools-tech] installation problem
Brought to you by:
nkukard
From: Nigel K. <nk...@lb...> - 2003-10-27 07:06:51
|
Bug fixed, was caused by a stray variable initialization in a variable declaration block... shew! Version 0.1.2 fixes this problem. Thanks man -Nigel On Sun, Oct 26, 2003 at 04:53:15PM +0600, Mahmudur Rahman Jami wrote: > Here is all log files that I got when installation. Plz help me to > installa and configure it properly. >=20 > bdexdhk:/usr/local/src/bwm_tools-0.1.1# ./configure=20 > 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...=20 > 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 a BSD-compatible install... /usr/bin/install -c > checking how to run the C preprocessor... gcc -E > checking for egrep... grep -E > 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 arpa/inet.h usability... yes > checking arpa/inet.h presence... yes > checking for arpa/inet.h... yes > checking fcntl.h usability... yes > checking fcntl.h presence... yes > checking for fcntl.h... yes > checking netinet/in.h usability... yes > checking netinet/in.h presence... yes > checking for netinet/in.h... yes > checking for stdlib.h... (cached) yes > checking for string.h... (cached) yes > checking sys/socket.h usability... yes > checking sys/socket.h presence... yes > checking for sys/socket.h... yes > checking sys/time.h usability... yes > checking sys/time.h presence... yes > checking for sys/time.h... yes > checking for unistd.h... (cached) yes > checking for stdbool.h that conforms to C99... no > checking for _Bool... no > checking for an ANSI C-conforming const... yes > checking for size_t... yes > checking whether time.h and sys/time.h may both be included... yes > checking for stdlib.h... (cached) yes > checking for GNU libc compatible malloc... yes > checking for stdlib.h... (cached) yes > checking for GNU libc compatible realloc... yes > checking sys/select.h usability... yes > checking sys/select.h presence... yes > checking for sys/select.h... yes > checking for sys/socket.h... (cached) yes > checking types of arguments for select... int,fd_set *,struct timeval * > checking return type of signal handlers... void > checking whether lstat dereferences a symlink specified with a trailing > slash... yes > checking whether stat accepts an empty string... no > checking for gettimeofday... yes > checking for inet_ntoa... yes > checking for memset... yes > checking for select... yes > checking for socket... yes > checking for strcasecmp... yes > checking for strchr... yes > checking for strdup... yes > checking for strerror... yes > checking for strncasecmp... yes > checking for strndup... yes > checking for pkg-config... /usr/bin/pkg-config > checking for GLIB - version >=3D 2.0.0... yes (version 2.0.1) > checking for xml2-config... /usr/bin/xml2-config > checking for libxml - version >=3D 2.0.0... yes (version 2.4.19) > configure: creating ./config.status > config.status: creating Makefile > config.status: creating makefile.inc > config.status: creating lib/Makefile > config.status: creating bwm_firewall/Makefile > config.status: creating bwm_graph/Makefile > config.status: creating bwmd/Makefile > config.status: creating bwm_monitor/Makefile > config.status: creating config.h > bdexdhk:/usr/local/src/bwm_tools-0.1.1# make > for dir in lib bwm_firewall bwm_graph bwmd bwm_monitor; \ > do \ > make -C $dir all; \ > res=3D$?; \ > if [ $res !=3D '0' ]; then exit $res; fi \ > done > make[1]: Entering directory `/usr/local/src/bwm_tools-0.1.1/lib' > cc -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/libxml2 -Wall -I../include -D_GNU_SOURCE --depend > flow.c ipq.c libipq.c xmlConf.c autoclass.c misc.c > .deps > make libbwm.a > make[2]: Entering directory `/usr/local/src/bwm_tools-0.1.1/lib' > cc -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/libxml2 -Wall -I../include -D_GNU_SOURCE -c flow.c > cc -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/libxml2 -Wall -I../include -D_GNU_SOURCE -c ipq.c > ipq.c: In function `queuePacket': > ipq.c:141: warning: unused variable `icmph' > cc -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/libxml2 -Wall -I../include -D_GNU_SOURCE -c libipq.c > cc -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/libxml2 -Wall -I../include -D_GNU_SOURCE -c xmlConf.c > cc -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/libxml2 -Wall -I../include -D_GNU_SOURCE -c autoclass.c > cc -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/libxml2 -Wall -I../include -D_GNU_SOURCE -c misc.c > ar cr libbwm.a flow.o ipq.o libipq.o xmlConf.o autoclass.o misc.o > make[2]: Leaving directory `/usr/local/src/bwm_tools-0.1.1/lib' > make[1]: Leaving directory `/usr/local/src/bwm_tools-0.1.1/lib' > make[1]: Entering directory > `/usr/local/src/bwm_tools-0.1.1/bwm_firewall' > cc -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/libxml2 -DCONFIG_FILE=3D\"/etc/bwm_tools/firewall.xml\" > -DIPTABLES_FILE=3D\"/etc/sysconfig/iptables\" -Wall -I../include > -D_GNU_SOURCE --depend bwm_firewall.c > .deps > make bwm_firewall > make[2]: Entering directory > `/usr/local/src/bwm_tools-0.1.1/bwm_firewall' > cc -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/libxml2 -DCONFIG_FILE=3D\"/etc/bwm_tools/firewall.xml\" > -DIPTABLES_FILE=3D\"/etc/sysconfig/iptables\" -Wall -I../include > -D_GNU_SOURCE -c bwm_firewall.c > cc -o bwm_firewall bwm_firewall.o ../lib/libbwm.a -lgthread-2.0 > -lpthread -lglib-2.0 -lxml2 -lz -lm =20 > make[2]: Leaving directory `/usr/local/src/bwm_tools-0.1.1/bwm_firewall' > make[1]: Leaving directory `/usr/local/src/bwm_tools-0.1.1/bwm_firewall' > make[1]: Entering directory `/usr/local/src/bwm_tools-0.1.1/bwm_graph' > cc -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -DLOG_DIR=3D\"/var/bwm_tools\" -Wall -I../include -D_GNU_SOURCE --depend > bwm_graph.c graph.c > .deps > make bwm_graph > make[2]: Entering directory `/usr/local/src/bwm_tools-0.1.1/bwm_graph' > cc -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -DLOG_DIR=3D\"/var/bwm_tools\" -Wall -I../include -D_GNU_SOURCE -c > bwm_graph.c > cc -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -DLOG_DIR=3D\"/var/bwm_tools\" -Wall -I../include -D_GNU_SOURCE -c graph.c > cc -o bwm_graph bwm_graph.o graph.o ../lib/libbwm.a -lgthread-2.0 > -lpthread -lglib-2.0 -lrrd > make[2]: Leaving directory `/usr/local/src/bwm_tools-0.1.1/bwm_graph' > make[1]: Leaving directory `/usr/local/src/bwm_tools-0.1.1/bwm_graph' > make[1]: Entering directory `/usr/local/src/bwm_tools-0.1.1/bwmd' > cc -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/libxml2 -DCONFIG_FILE=3D\"/etc/bwm_tools/firewall.xml\" > -DLOG_DIR=3D\"/var/bwm_tools\" -Wall -I../include -D_GNU_SOURCE --depend > report.c flowControl.c bwmd.c > .deps > make bwmd > make[2]: Entering directory `/usr/local/src/bwm_tools-0.1.1/bwmd' > cc -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/libxml2 -DCONFIG_FILE=3D\"/etc/bwm_tools/firewall.xml\" > -DLOG_DIR=3D\"/var/bwm_tools\" -Wall -I../include -D_GNU_SOURCE -c > report.c > cc -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include > -I/usr/include/libxml2 -DCONFIG_FILE=3D\"/etc/bwm_tools/firewall.xml\" > -DLOG_DIR=3D\"/var/bwm_tools\" -Wall -I../include -D_GNU_SOURCE -c > flowControl.c > flowControl.c: In function `controlRunner': > flowControl.c:191: parse error before `struct' > flowControl.c:201: `tempStat' undeclared (first use in this function) > flowControl.c:201: (Each undeclared identifier is reported only once > flowControl.c:201: for each function it appears in.) > flowControl.c:235: parse error before `struct' > make[2]: *** [flowControl.o] Error 1 > make[2]: Leaving directory `/usr/local/src/bwm_tools-0.1.1/bwmd' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/usr/local/src/bwm_tools-0.1.1/bwmd' > make: *** [all] Error 2 > bdexdhk:/usr/local/src/bwm_tools-0.1.1# >=20 > Thanks. >=20 > Mahmud Jami. >=20 > -----Original Message----- > From: Nigel Kukard [mailto:nk...@lb...]=20 > Sent: Wednesday, October 15, 2003 11:31 PM > To: Mahmudur Rahman Jami > Subject: Re: [bwm-tools-tech] installation problem >=20 >=20 > Could you include full logs? :-) >=20 >=20 > On Wed, Oct 15, 2003 at 10:23:28PM +0600, Mahmudur Rahman Jami wrote: > > When I try to install bwm tools I got the following error message when >=20 > > I run "make" > > =20 > > make[2]: *** [flowControl.o] Error 1 > > make[2]: Leaving directory `/usr/local/src/bwm_tools-0.1.1/bwmd' > > make[1]: *** [all] Error 2 > > make[1]: Leaving directory `/usr/local/src/bwm_tools-0.1.1/bwmd' > > make: *** [all] Error 2 > >=20 > > How can I properly install it? > > =20 > > Help me > > =20 > > Mahmudur Jami > >=20 > > =20 |