bwm-tools-tech Mailing List for Bandwidth Management Tools (Page 18)
Brought to you by:
nkukard
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(13) |
Jul
(2) |
Aug
(1) |
Sep
(5) |
Oct
(10) |
Nov
(11) |
Dec
(8) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(6) |
Feb
(3) |
Mar
(22) |
Apr
(26) |
May
(15) |
Jun
|
Jul
(8) |
Aug
(2) |
Sep
(3) |
Oct
(4) |
Nov
|
Dec
(1) |
2005 |
Jan
(2) |
Feb
(6) |
Mar
(12) |
Apr
(34) |
May
(23) |
Jun
(21) |
Jul
|
Aug
(4) |
Sep
(5) |
Oct
(3) |
Nov
(2) |
Dec
|
2006 |
Jan
(3) |
Feb
(28) |
Mar
(12) |
Apr
(6) |
May
(17) |
Jun
(5) |
Jul
(19) |
Aug
(15) |
Sep
(10) |
Oct
(12) |
Nov
(1) |
Dec
|
2007 |
Jan
(5) |
Feb
(1) |
Mar
(5) |
Apr
(5) |
May
(7) |
Jun
(6) |
Jul
(2) |
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
(4) |
May
(5) |
Jun
|
Jul
|
Aug
(8) |
Sep
(8) |
Oct
(2) |
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
(6) |
May
(6) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(7) |
Dec
|
2013 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
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 |
From: Nigel K. <nk...@lb...> - 2003-10-25 16:29:15
|
You need the rrdtool shared library. librrd.so=20 check the build options in rrdtool On Thu, Oct 23, 2003 at 01:32:21PM +0100, SatyaDev Sharma wrote: > I m trying to install bwm but its giving erros...!!! >=20 > I m using redhat 9.0 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > [root@SERVER bwm_graph]# make > cc -o bwm_graph bwm_graph.o graph.o ../lib/libbwm.a > -pthread -lgthread-2.0 -lglib-2.0 -lrrd > /usr/bin/ld: cannot find -lrrd > collect2: ld returned 1 exit status > make: *** [bwm_graph] Error 1 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D >=20 > I installed rrdtool-1.0.45 also for debug this error > but no result. >=20 > my /etc/ld.so.conf file is : > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > /usr/local/rrdtool-1.0.45/lib > /usr/kerberos/lib > /usr/X11R6/lib > /usr/lib/sane > /usr/lib/qt-3.1/lib > /usr/lib/mysql > /usr/lib/qt2/lib > /usr/lib > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 >=20 >=20 > Can I get solution...!!! whats wrong !!! Plz help >=20 >=20 > Dev ~~ |
From: <sha...@ya...> - 2003-10-25 13:33:11
|
I m trying to install bwm but its giving erros...!!! I m using redhat 9.0 ===================================================== [root@SERVER bwm_graph]# make cc -o bwm_graph bwm_graph.o graph.o ../lib/libbwm.a -pthread -lgthread-2.0 -lglib-2.0 -lrrd /usr/bin/ld: cannot find -lrrd collect2: ld returned 1 exit status make: *** [bwm_graph] Error 1 ====================================================== I installed rrdtool-1.0.45 also for debug this error but no result. my /etc/ld.so.conf file is : =========================================== /usr/local/rrdtool-1.0.45/lib /usr/kerberos/lib /usr/X11R6/lib /usr/lib/sane /usr/lib/qt-3.1/lib /usr/lib/mysql /usr/lib/qt2/lib /usr/lib ============================================= Can I get solution...!!! whats wrong !!! Plz help Dev ~~ ________________________________________________________________________ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://mail.messenger.yahoo.co.uk |
From: Mahmudur R. J. <ja...@go...> - 2003-10-15 16:24:14
|
When I try to install bwm tools I got the following error message when I run "make" 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 How can I properly install it? Help me Mahmudur Jami |
From: Jon N. <jn...@op...> - 2003-10-04 18:07:04
|
Thanks...looking at RRDTool's configure output the only errors I see are: a) "checking for tclConfig.sh in ... no configure: warning: tclConfig.sh not found - Tcl interface won't be built" b) "checking for fp_class.h... (cached) no" c) "checking for ieeefp.h... (cached) no" d) "checking for fpclassify... (cached) no checking for fpclassify with <math.h>... no" Some of those look suspicious... Thanks again... Jon > hrmmm, > > I think the rrdtool libs arn't linked to a math library, this isn't > really a bwm_tools error, but i'll look around and see if I can find > anything. > > > On Sat, Oct 04, 2003 at 11:51:56AM -0500, Jon Newman wrote: >> Running Slackware 9.0, Kernel 2.4.18. Downloaded the latest version of >> the >> utilities (v0.1.1) and installed all required libs...configure runs >> fine...but after running make I am getting some strange errors: >> >> --- CUT --- >> >> make[1]: Leaving directory `/root/bw/bwm_tools-0.1.1/bwm_graph' >> /usr/local/lib/librrd.a(rrd_graph.o): In function `ytr': >> /root/rrdtool-1.0.45/src/rrd_graph.c:155: undefined reference to `log10' >> /root/rrdtool-1.0.45/src/rrd_graph.c:155: undefined reference to `log10' >> /root/rrdtool-1.0.45/src/rrd_graph.c:167: undefined reference to `log10' >> /root/rrdtool-1.0.45/src/rrd_graph.c:167: undefined reference to `log10' >> /usr/local/lib/librrd.a(rrd_graph.o): In function `auto_scale': >> /root/rrdtool-1.0.45/src/rrd_graph.c:492: undefined reference to `log' >> /root/rrdtool-1.0.45/src/rrd_graph.c:492: undefined reference to `log' >> /root/rrdtool-1.0.45/src/rrd_graph.c:312: undefined reference to `pow' >> /usr/local/lib/librrd.a(rrd_graph.o): In function `si_unit': >> /root/rrdtool-1.0.45/src/rrd_graph.c:492: undefined reference to `log' >> /root/rrdtool-1.0.45/src/rrd_graph.c:492: undefined reference to `log' >> /root/rrdtool-1.0.45/src/rrd_graph.c:359: undefined reference to `pow' >> /usr/local/lib/librrd.a(rrd_graph.o): In function `expand_range': >> /root/rrdtool-1.0.45/src/rrd_graph.c:503: undefined reference to `log10' >> /root/rrdtool-1.0.45/src/rrd_graph.c:503: undefined reference to `pow' >> /root/rrdtool-1.0.45/src/rrd_graph.c:395: undefined reference to `pow' >> /root/rrdtool-1.0.45/src/rrd_graph.c:492: undefined reference to `log10' >> /root/rrdtool-1.0.45/src/rrd_graph.c:408: undefined reference to `pow' >> /usr/local/lib/librrd.a(rrd_graph.o): In function `data_calc': >> /root/rrdtool-1.0.45/src/rrd_graph.c:1065: undefined reference to `sin' >> /root/rrdtool-1.0.45/src/rrd_graph.c:1073: undefined reference to `cos' >> /root/rrdtool-1.0.45/src/rrd_graph.c:1097: undefined reference to `log' >> /root/rrdtool-1.0.45/src/rrd_graph.c:1134: undefined reference to `exp' >> >> --- CUT --- >> >> That isn't the whole error list but it is all the same...looks as if >> some >> lib isn't being loaded? Can anyone point me in the right direction? >> >> Thanks. >> >> Sincerely, >> Jon Newman >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> bwm-tools-tech mailing list >> bwm...@li... >> https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech > > |
From: Nigel K. <nk...@lb...> - 2003-10-04 17:15:20
|
hrmmm, I think the rrdtool libs arn't linked to a math library, this isn't really a bwm_tools error, but i'll look around and see if I can find anything. On Sat, Oct 04, 2003 at 11:51:56AM -0500, Jon Newman wrote: > Running Slackware 9.0, Kernel 2.4.18. Downloaded the latest version of the > utilities (v0.1.1) and installed all required libs...configure runs > fine...but after running make I am getting some strange errors: >=20 > --- CUT --- >=20 > make[1]: Leaving directory `/root/bw/bwm_tools-0.1.1/bwm_graph' > /usr/local/lib/librrd.a(rrd_graph.o): In function `ytr': > /root/rrdtool-1.0.45/src/rrd_graph.c:155: undefined reference to `log10' > /root/rrdtool-1.0.45/src/rrd_graph.c:155: undefined reference to `log10' > /root/rrdtool-1.0.45/src/rrd_graph.c:167: undefined reference to `log10' > /root/rrdtool-1.0.45/src/rrd_graph.c:167: undefined reference to `log10' > /usr/local/lib/librrd.a(rrd_graph.o): In function `auto_scale': > /root/rrdtool-1.0.45/src/rrd_graph.c:492: undefined reference to `log' > /root/rrdtool-1.0.45/src/rrd_graph.c:492: undefined reference to `log' > /root/rrdtool-1.0.45/src/rrd_graph.c:312: undefined reference to `pow' > /usr/local/lib/librrd.a(rrd_graph.o): In function `si_unit': > /root/rrdtool-1.0.45/src/rrd_graph.c:492: undefined reference to `log' > /root/rrdtool-1.0.45/src/rrd_graph.c:492: undefined reference to `log' > /root/rrdtool-1.0.45/src/rrd_graph.c:359: undefined reference to `pow' > /usr/local/lib/librrd.a(rrd_graph.o): In function `expand_range': > /root/rrdtool-1.0.45/src/rrd_graph.c:503: undefined reference to `log10' > /root/rrdtool-1.0.45/src/rrd_graph.c:503: undefined reference to `pow' > /root/rrdtool-1.0.45/src/rrd_graph.c:395: undefined reference to `pow' > /root/rrdtool-1.0.45/src/rrd_graph.c:492: undefined reference to `log10' > /root/rrdtool-1.0.45/src/rrd_graph.c:408: undefined reference to `pow' > /usr/local/lib/librrd.a(rrd_graph.o): In function `data_calc': > /root/rrdtool-1.0.45/src/rrd_graph.c:1065: undefined reference to `sin' > /root/rrdtool-1.0.45/src/rrd_graph.c:1073: undefined reference to `cos' > /root/rrdtool-1.0.45/src/rrd_graph.c:1097: undefined reference to `log' > /root/rrdtool-1.0.45/src/rrd_graph.c:1134: undefined reference to `exp' >=20 > --- CUT --- >=20 > That isn't the whole error list but it is all the same...looks as if some > lib isn't being loaded? Can anyone point me in the right direction? >=20 > Thanks. >=20 > Sincerely, > Jon Newman >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > bwm-tools-tech mailing list > bwm...@li... > https://lists.sourceforge.net/lists/listinfo/bwm-tools-tech |
From: Jon N. <jn...@op...> - 2003-10-04 16:52:01
|
Running Slackware 9.0, Kernel 2.4.18. Downloaded the latest version of the utilities (v0.1.1) and installed all required libs...configure runs fine...but after running make I am getting some strange errors: --- CUT --- make[1]: Leaving directory `/root/bw/bwm_tools-0.1.1/bwm_graph' /usr/local/lib/librrd.a(rrd_graph.o): In function `ytr': /root/rrdtool-1.0.45/src/rrd_graph.c:155: undefined reference to `log10' /root/rrdtool-1.0.45/src/rrd_graph.c:155: undefined reference to `log10' /root/rrdtool-1.0.45/src/rrd_graph.c:167: undefined reference to `log10' /root/rrdtool-1.0.45/src/rrd_graph.c:167: undefined reference to `log10' /usr/local/lib/librrd.a(rrd_graph.o): In function `auto_scale': /root/rrdtool-1.0.45/src/rrd_graph.c:492: undefined reference to `log' /root/rrdtool-1.0.45/src/rrd_graph.c:492: undefined reference to `log' /root/rrdtool-1.0.45/src/rrd_graph.c:312: undefined reference to `pow' /usr/local/lib/librrd.a(rrd_graph.o): In function `si_unit': /root/rrdtool-1.0.45/src/rrd_graph.c:492: undefined reference to `log' /root/rrdtool-1.0.45/src/rrd_graph.c:492: undefined reference to `log' /root/rrdtool-1.0.45/src/rrd_graph.c:359: undefined reference to `pow' /usr/local/lib/librrd.a(rrd_graph.o): In function `expand_range': /root/rrdtool-1.0.45/src/rrd_graph.c:503: undefined reference to `log10' /root/rrdtool-1.0.45/src/rrd_graph.c:503: undefined reference to `pow' /root/rrdtool-1.0.45/src/rrd_graph.c:395: undefined reference to `pow' /root/rrdtool-1.0.45/src/rrd_graph.c:492: undefined reference to `log10' /root/rrdtool-1.0.45/src/rrd_graph.c:408: undefined reference to `pow' /usr/local/lib/librrd.a(rrd_graph.o): In function `data_calc': /root/rrdtool-1.0.45/src/rrd_graph.c:1065: undefined reference to `sin' /root/rrdtool-1.0.45/src/rrd_graph.c:1073: undefined reference to `cos' /root/rrdtool-1.0.45/src/rrd_graph.c:1097: undefined reference to `log' /root/rrdtool-1.0.45/src/rrd_graph.c:1134: undefined reference to `exp' --- CUT --- That isn't the whole error list but it is all the same...looks as if some lib isn't being loaded? Can anyone point me in the right direction? Thanks. Sincerely, Jon Newman |
From: Nick B. <ni...@bu...> - 2003-09-18 23:29:16
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sorry it took me so long... [root@localhost root]# ls -la /usr/lib/pkgconfig/ total 72 drwxr-xr-x 2 root root 4096 Aug 31 10:20 . drwxr-xr-x 61 root root 24576 Aug 31 10:29 .. - -rw-r--r-- 1 root root 215 Feb 4 2003 gnome-mime-data-2.0.pc - -rwxr-xr-x 1 root root 158 Feb 6 2003 gnome-python-2.0.pc - -rw-r--r-- 1 root root 156 Jan 24 2003 gtk-engines-2.pc - -rw-r--r-- 1 root root 170 Feb 19 2003 gtk-thinice-engine-2.pc - -rw-r--r-- 1 root root 275 Feb 24 2003 libmetacity-private.pc - -rw-r--r-- 1 root root 279 Feb 25 2003 libnautilus.pc - -rw-r--r-- 1 root root 261 Feb 24 2003 libpanelapplet-2.0.pc - -rw-r--r-- 1 root root 263 Feb 19 2003 libuser.pc - -rw-r--r-- 1 root root 240 Feb 24 2003 libxml-2.0.pc - -rw-r--r-- 1 root root 204 Jan 24 2003 libxml.pc - -rwxr-xr-x 1 root root 383 Feb 27 2003 openssl.pc On Thursday, September 18, 2003, at 01:27 PM, Nigel Kukard wrote: > perfect... we making progress > > can you check if there are any .pc files in the pkg-config directory? > > it might use something like /usr/share/pkg-config or > /usr/lib/pkg-config > to store .pc files > > > > Regards > Nigel Kukard > > > On Thu, Sep 18, 2003 at 01:21:28PM -0500, Nick Buraglio wrote: >> Excellent, yes, you're right it cannot find the path. Here is the >> output: >> >> root@localhost root]# pkg-config --cflags --libs glib-2.0 >> Package glib-2.0 was not found in the pkg-config search path. >> Perhaps you should add the directory containing `glib-2.0.pc' >> to the PKG_CONFIG_PATH environment variable >> No package 'glib-2.0' found >> >> >> On Thursday, September 18, 2003, at 11:50 AM, Nigel Kukard wrote: >> >>> Hi Nick, >>> >>> hrmmmm... this is very strage, bwm_tools uses pkg-config to find out >>> where the include directories and libraries can be found. >>> >>> can you maybe try running this command for me? >>> >>> # pkg-config --cflags --libs glib-2.0 >>> >>> lets see what we get... >>> >>> the problem is bwm_tools' configure script cannot find the glib-2.0 >>> include or libraries... not too serious, i'll help you sort it out! >>> >>> >>> >>> Kind Regards >>> Nigel Kukard >>> >>> > > > > ----- End forwarded message ----- > > -- > > > Nigel Kukard (Chief Executive Officer) > Lando Technologies Africa (Pty) Ltd > ni...@la... www.lando.co.za > Tel: 083 399 5822 Fax: 086 1100036 > Hoheisen Park Bellville, Cape Town > National Internet Service Provider > > > The best language to use is the language that was designed for > what you want to use it for - 1997 > > > ===================================================================== > > Disclaimer > ---------- > The contents of this message and any attachments are intended > solely for the addressee's use and may be legally privileged and/or > confidential information. This message may not be retained, > distributed, copied or used if you are not he addressee of this > message. If this message was sent to you in error, please notify > the sender immediately by reply e-mail and then destroy the message > and any copies thereof. > > Opinions, conclusions and other information in this message may be > personal to the sender and is not that of Lando Technologies Africa > or any of it's subsideries, associated companies or principals and > is therefore not endorsed by any of the Lando groups of companies. > Due to e-maill communication being insecure, Lando groups of > companies do not guarantee confidentiality, security, accuracy or > performance of the e-mail. Any liability for viruses is excluded > to the fullest extent. > <mime-attachment> - ------------ - - Nick Buraglio, Network Engineer - - Phone: 217.244.6428 - - National Center for Supercomputing Applications - - CAB 269, 605 E Springfield, Champaign IL 61820 - - www: http://www.ncsa.uiuc.edu/People/buraglio/ - ------------ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (Darwin) iD8DBQE/aj/JFOm2Sy5bRPQRAuZEAJ9n/CsJ6tOOOAsSGPJCeEV1wwy1fACfVfpO Jr/NjZdMbmJltohYLGiMLGM= =/QzO -----END PGP SIGNATURE----- |
From: Nigel K. <nk...@lb...> - 2003-09-18 18:27:58
|
perfect... we making progress can you check if there are any .pc files in the pkg-config directory? it might use something like /usr/share/pkg-config or /usr/lib/pkg-config to store .pc files Regards Nigel Kukard On Thu, Sep 18, 2003 at 01:21:28PM -0500, Nick Buraglio wrote: > Excellent, yes, you're right it cannot find the path. Here is the=20 > output: >=20 > root@localhost root]# pkg-config --cflags --libs glib-2.0 > Package glib-2.0 was not found in the pkg-config search path. > Perhaps you should add the directory containing `glib-2.0.pc' > to the PKG_CONFIG_PATH environment variable > No package 'glib-2.0' found >=20 >=20 > On Thursday, September 18, 2003, at 11:50 AM, Nigel Kukard wrote: >=20 > >Hi Nick, > > > >hrmmmm... this is very strage, bwm_tools uses pkg-config to find out > >where the include directories and libraries can be found. > > > >can you maybe try running this command for me? > > > ># pkg-config --cflags --libs glib-2.0 > > > >lets see what we get... > > > >the problem is bwm_tools' configure script cannot find the glib-2.0 > >include or libraries... not too serious, i'll help you sort it out! > > > > > > > >Kind Regards > >Nigel Kukard > > > > ----- End forwarded message ----- --=20 Nigel Kukard (Chief Executive Officer) Lando Technologies Africa (Pty) Ltd ni...@la... www.lando.co.za Tel: 083 399 5822 Fax: 086 1100036 Hoheisen Park Bellville, Cape Town National Internet Service Provider The best language to use is the language that was designed for what you want to use it for - 1997 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Disclaimer ---------- The contents of this message and any attachments are intended=20 solely for the addressee's use and may be legally privileged and/or=20 confidential information. This message may not be retained,=20 distributed, copied or used if you are not he addressee of this=20 message. If this message was sent to you in error, please notify=20 the sender immediately by reply e-mail and then destroy the message=20 and any copies thereof. Opinions, conclusions and other information in this message may be=20 personal to the sender and is not that of Lando Technologies Africa=20 or any of it's subsideries, associated companies or principals and=20 is therefore not endorsed by any of the Lando groups of companies.=20 Due to e-maill communication being insecure, Lando groups of=20 companies do not guarantee confidentiality, security, accuracy or =20 performance of the e-mail. Any liability for viruses is excluded=20 to the fullest extent. |
From: Nick B. <ni...@bu...> - 2003-09-18 18:21:44
|
Excellent, yes, you're right it cannot find the path. Here is the output: root@localhost root]# pkg-config --cflags --libs glib-2.0 Package glib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `glib-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'glib-2.0' found On Thursday, September 18, 2003, at 11:50 AM, Nigel Kukard wrote: > Hi Nick, > > hrmmmm... this is very strage, bwm_tools uses pkg-config to find out > where the include directories and libraries can be found. > > can you maybe try running this command for me? > > # pkg-config --cflags --libs glib-2.0 > > lets see what we get... > > the problem is bwm_tools' configure script cannot find the glib-2.0 > include or libraries... not too serious, i'll help you sort it out! > > > > Kind Regards > Nigel Kukard > > > On Thu, Sep 18, 2003 at 08:09:40AM -0500, Nick Buraglio wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> I've been trying to compile the newest version of bwm-tools (0.1.1) >> and >> I've been been experiencing some errors, I've also tried the older >> versionsand got similar errors. All dependencies should be installed. >> I'm not really a programmer, so the errors really don't mean much to >> me >> (looks like a syntax error maybe?). Running Redhat Linux 9.0 (I'm >> also >> really not a linux user, I stick more to the BSD flavors, so it could >> be a user error) >> >> glib-2.0.0 is installed. >> libxml2-2.5.9 is also installed. >> >> [root@localhost bwm_tools-0.1.1]# uname -a >> Linux localhost.localdomain 2.4.20-8 #1 Thu Mar 13 17:18:24 EST 2003 >> i686 athlon i386 GNU/Linux >> >> Any help or insight greatly appreciated. >> >> Thanks, >> nb >> >> Errors follow: >> >> [root@localhost bwm_tools-0.1.1]# make >> for dir in lib bwm_firewall bwm_graph bwmd bwm_monitor; \ >> do \ >> make -C $dir all; \ >> res=$?; \ >> if [ $res != '0' ]; then exit $res; fi \ >> done >> make[1]: Entering directory `/root/bwm_tools-0.1.1/lib' >> make libbwm.a >> make[2]: Entering directory `/root/bwm_tools-0.1.1/lib' >> cc -I/usr/include/libxml2 -Wall -I../include -D_GNU_SOURCE -c >> flow.c >> flow.c:9:18: glib.h: No such file or directory >> In file included from flow.c:14: >> ../include/common.h:12:18: glib.h: No such file or directory >> In file included from flow.c:14: >> ../include/common.h:31: parse error before "GList" >> ../include/common.h:31: warning: no semicolon at end of struct or >> union >> ../include/common.h:32: warning: type defaults to `int' in declaration >> of `lock' >> ../include/common.h:32: warning: data definition has no type or >> storage >> class >> ../include/common.h:33: parse error before '}' token >> ../include/common.h:40: parse error before "GList" >> ../include/common.h:40: warning: no semicolon at end of struct or >> union >> ../include/common.h:41: warning: type defaults to `int' in declaration >> of `flows' >> ../include/common.h:41: warning: data definition has no type or >> storage >> class >> ../include/common.h:42: parse error before '*' token >> ../include/common.h:42: warning: type defaults to `int' in declaration >> of `groups' >> ../include/common.h:42: warning: data definition has no type or >> storage >> class >> ../include/common.h:44: parse error before '*' token >> ../include/common.h:44: warning: type defaults to `int' in declaration >> of `bandSignalCond' >> ../include/common.h:44: warning: data definition has no type or >> storage >> class >> ../include/common.h:45: parse error before '*' token >> ../include/common.h:45: warning: type defaults to `int' in declaration >> of `bandSignalLock' >> ../include/common.h:45: warning: data definition has no type or >> storage >> class >> ../include/common.h:47: parse error before '*' token >> ../include/common.h:47: warning: type defaults to `int' in declaration >> of `queueChangeList' >> ../include/common.h:47: warning: data definition has no type or >> storage >> class >> ../include/common.h:48: parse error before '*' token >> ../include/common.h:48: warning: type defaults to `int' in declaration >> of `waitListLock' >> ../include/common.h:48: warning: data definition has no type or >> storage >> class >> ../include/common.h:50: parse error before '*' token >> ../include/common.h:50: warning: type defaults to `int' in declaration >> of `queueWaitList' >> ../include/common.h:50: warning: data definition has no type or >> storage >> class >> ../include/common.h:53: parse error before '*' token >> ../include/common.h:53: warning: type defaults to `int' in declaration >> of `IPQLock' >> ../include/common.h:53: warning: data definition has no type or >> storage >> class >> ../include/common.h:56: parse error before '}' token >> ../include/common.h:61: parse error before "GList" >> ../include/common.h:61: warning: no semicolon at end of struct or >> union >> ../include/common.h:62: warning: type defaults to `int' in declaration >> of `flows' >> ../include/common.h:62: warning: data definition has no type or >> storage >> class >> ../include/common.h:63: parse error before '*' token >> ../include/common.h:63: warning: type defaults to `int' in declaration >> of `groups' >> ../include/common.h:63: warning: data definition has no type or >> storage >> class >> ../include/common.h:64: parse error before '}' token >> In file included from flow.c:15: >> ../include/flow.h:13:18: glib.h: No such file or directory >> In file included from ../include/flow.h:17, >> from flow.c:15: >> ../include/ipq.h:17:18: glib.h: No such file or directory >> In file included from flow.c:15: >> ../include/flow.h:84: parse error before "GMutex" >> ../include/flow.h:84: warning: no semicolon at end of struct or union >> ../include/flow.h:97: parse error before '*' token >> ../include/flow.h:97: warning: type defaults to `int' in declaration >> of >> `packets' >> ../include/flow.h:97: warning: data definition has no type or storage >> class >> ../include/flow.h:98: parse error before '}' token >> ../include/flow.h:104: parse error before "GMutex" >> ../include/flow.h:104: warning: no semicolon at end of struct or union >> ../include/flow.h:116: conflicting types for `prio' >> ../include/flow.h:86: previous declaration of `prio' >> ../include/flow.h:132: parse error before '*' token >> ../include/flow.h:132: warning: type defaults to `int' in declaration >> of `counterLock' >> ../include/flow.h:132: warning: data definition has no type or storage >> class >> ../include/flow.h:134: parse error before '*' token >> ../include/flow.h:134: warning: type defaults to `int' in declaration >> of `groups' >> ../include/flow.h:134: warning: data definition has no type or storage >> class >> ../include/flow.h:146: parse error before '}' token >> ../include/flow.h:152: parse error before "GMutex" >> ../include/flow.h:152: warning: no semicolon at end of struct or union >> ../include/flow.h:163: parse error before '*' token >> ../include/flow.h:163: warning: type defaults to `int' in declaration >> of `counterLock' >> ../include/flow.h:163: warning: data definition has no type or storage >> class >> ../include/flow.h:172: parse error before '*' token >> ../include/flow.h:172: warning: type defaults to `int' in declaration >> of `flowList' >> ../include/flow.h:172: warning: data definition has no type or storage >> class >> ../include/flow.h:173: parse error before '}' token >> ../include/flow.h:196: parse error before "GList" >> flow.c: In function `createFlow': >> flow.c:36: sizeof applied to an incomplete type >> flow.c:48: dereferencing pointer to incomplete type >> flow.c:48: warning: implicit declaration of function `g_mutex_new' >> flow.c:50: dereferencing pointer to incomplete type >> flow.c:52: dereferencing pointer to incomplete type >> flow.c:53: dereferencing pointer to incomplete type >> flow.c:55: dereferencing pointer to incomplete type >> flow.c:56: dereferencing pointer to incomplete type >> flow.c:57: dereferencing pointer to incomplete type >> flow.c:58: dereferencing pointer to incomplete type >> flow.c:59: dereferencing pointer to incomplete type >> flow.c:60: dereferencing pointer to incomplete type >> flow.c:62: dereferencing pointer to incomplete type >> flow.c:64: dereferencing pointer to incomplete type >> flow.c:65: dereferencing pointer to incomplete type >> flow.c:67: dereferencing pointer to incomplete type >> flow.c:68: dereferencing pointer to incomplete type >> flow.c:71: dereferencing pointer to incomplete type >> flow.c:72: dereferencing pointer to incomplete type >> flow.c:73: dereferencing pointer to incomplete type >> flow.c:74: dereferencing pointer to incomplete type >> flow.c:75: dereferencing pointer to incomplete type >> flow.c:77: dereferencing pointer to incomplete type >> flow.c:79: dereferencing pointer to incomplete type >> flow.c:81: dereferencing pointer to incomplete type >> flow.c:83: dereferencing pointer to incomplete type >> flow.c:83: dereferencing pointer to incomplete type >> flow.c:84: dereferencing pointer to incomplete type >> flow.c:84: dereferencing pointer to incomplete type >> flow.c:88: dereferencing pointer to incomplete type >> flow.c:89: dereferencing pointer to incomplete type >> flow.c:92: dereferencing pointer to incomplete type >> flow.c:94: dereferencing pointer to incomplete type >> flow.c:94: dereferencing pointer to incomplete type >> flow.c:95: dereferencing pointer to incomplete type >> flow.c:95: dereferencing pointer to incomplete type >> flow.c:99: dereferencing pointer to incomplete type >> flow.c:100: dereferencing pointer to incomplete type >> flow.c:103: dereferencing pointer to incomplete type >> flow.c:105: dereferencing pointer to incomplete type >> flow.c:106: dereferencing pointer to incomplete type >> flow.c:107: dereferencing pointer to incomplete type >> flow.c:108: dereferencing pointer to incomplete type >> flow.c:111: dereferencing pointer to incomplete type >> flow.c:112: dereferencing pointer to incomplete type >> flow.c:115: dereferencing pointer to incomplete type >> flow.c:115: dereferencing pointer to incomplete type >> flow.c:115: dereferencing pointer to incomplete type >> flow.c:116: dereferencing pointer to incomplete type >> flow.c:124: dereferencing pointer to incomplete type >> flow.c:126: dereferencing pointer to incomplete type >> flow.c:127: dereferencing pointer to incomplete type >> flow.c:127: dereferencing pointer to incomplete type >> flow.c:129: dereferencing pointer to incomplete type >> flow.c:131: dereferencing pointer to incomplete type >> flow.c:133: dereferencing pointer to incomplete type >> flow.c:134: dereferencing pointer to incomplete type >> flow.c:134: dereferencing pointer to incomplete type >> flow.c:136: dereferencing pointer to incomplete type >> flow.c:140: dereferencing pointer to incomplete type >> flow.c:140: dereferencing pointer to incomplete type >> flow.c:141: dereferencing pointer to incomplete type >> flow.c:141: dereferencing pointer to incomplete type >> flow.c:146: dereferencing pointer to incomplete type >> flow.c:146: sizeof applied to an incomplete type >> flow.c:148: dereferencing pointer to incomplete type >> flow.c:149: dereferencing pointer to incomplete type >> flow.c:150: dereferencing pointer to incomplete type >> flow.c:151: dereferencing pointer to incomplete type >> flow.c:152: dereferencing pointer to incomplete type >> flow.c:153: dereferencing pointer to incomplete type >> flow.c:154: dereferencing pointer to incomplete type >> flow.c:155: dereferencing pointer to incomplete type >> flow.c:156: dereferencing pointer to incomplete type >> flow.c: At top level: >> flow.c:187: parse error before "GList" >> flow.c: In function `createGroup': >> flow.c:189: sizeof applied to an incomplete type >> flow.c:193: dereferencing pointer to incomplete type >> flow.c:195: dereferencing pointer to incomplete type >> flow.c:198: dereferencing pointer to incomplete type >> flow.c:199: dereferencing pointer to incomplete type >> flow.c:202: dereferencing pointer to incomplete type >> flow.c:203: dereferencing pointer to incomplete type >> flow.c:204: dereferencing pointer to incomplete type >> flow.c:205: dereferencing pointer to incomplete type >> flow.c:207: dereferencing pointer to incomplete type >> flow.c:208: dereferencing pointer to incomplete type >> flow.c:209: dereferencing pointer to incomplete type >> flow.c:210: dereferencing pointer to incomplete type >> flow.c:211: dereferencing pointer to incomplete type >> flow.c:214: dereferencing pointer to incomplete type >> flow.c:217: dereferencing pointer to incomplete type >> flow.c:217: `reportTimeout' undeclared (first use in this function) >> flow.c:217: (Each undeclared identifier is reported only once >> flow.c:217: for each function it appears in.) >> flow.c:218: dereferencing pointer to incomplete type >> flow.c:221: dereferencing pointer to incomplete type >> flow.c:224: dereferencing pointer to incomplete type >> flow.c:225: dereferencing pointer to incomplete type >> flow.c:227: dereferencing pointer to incomplete type >> flow.c:227: dereferencing pointer to incomplete type >> flow.c:227: dereferencing pointer to incomplete type >> flow.c:228: dereferencing pointer to incomplete type >> flow.c: In function `createPktQueue': >> flow.c:244: dereferencing pointer to incomplete type >> flow.c:254: dereferencing pointer to incomplete type >> flow.c: In function `updateGroups': >> flow.c:267: `GList' undeclared (first use in this function) >> flow.c:267: `groupItem' undeclared (first use in this function) >> flow.c:267: warning: implicit declaration of function `g_list_first' >> flow.c:267: dereferencing pointer to incomplete type >> flow.c:277: warning: implicit declaration of function `g_mutex_lock' >> flow.c:277: dereferencing pointer to incomplete type >> flow.c:281: dereferencing pointer to incomplete type >> flow.c:283: dereferencing pointer to incomplete type >> flow.c:286: dereferencing pointer to incomplete type >> flow.c:288: dereferencing pointer to incomplete type >> flow.c:291: dereferencing pointer to incomplete type >> flow.c:293: dereferencing pointer to incomplete type >> flow.c:296: dereferencing pointer to incomplete type >> flow.c:298: dereferencing pointer to incomplete type >> flow.c:300: warning: implicit declaration of function `g_mutex_unlock' >> flow.c:300: dereferencing pointer to incomplete type >> flow.c:303: warning: implicit declaration of function `g_list_next' >> flow.c: In function `processPktQueue': >> flow.c:339: `GList' undeclared (first use in this function) >> flow.c:348: dereferencing pointer to incomplete type >> flow.c:349: dereferencing pointer to incomplete type >> flow.c:350: dereferencing pointer to incomplete type >> flow.c:351: dereferencing pointer to incomplete type >> flow.c:357: `pktQueueItem' undeclared (first use in this function) >> flow.c:372: dereferencing pointer to incomplete type >> flow.c:384: dereferencing pointer to incomplete type >> flow.c:384: dereferencing pointer to incomplete type >> flow.c:384: dereferencing pointer to incomplete type >> flow.c:384: dereferencing pointer to incomplete type >> flow.c:384: dereferencing pointer to incomplete type >> flow.c:384: dereferencing pointer to incomplete type >> flow.c:384: dereferencing pointer to incomplete type >> flow.c:384: dereferencing pointer to incomplete type >> flow.c:385: dereferencing pointer to incomplete type >> flow.c:385: dereferencing pointer to incomplete type >> flow.c:385: dereferencing pointer to incomplete type >> flow.c:385: dereferencing pointer to incomplete type >> flow.c:385: dereferencing pointer to incomplete type >> flow.c:385: dereferencing pointer to incomplete type >> flow.c:385: dereferencing pointer to incomplete type >> flow.c:385: dereferencing pointer to incomplete type >> flow.c:388: dereferencing pointer to incomplete type >> flow.c:388: dereferencing pointer to incomplete type >> flow.c:388: dereferencing pointer to incomplete type >> flow.c:388: dereferencing pointer to incomplete type >> flow.c:391: dereferencing pointer to incomplete type >> flow.c:394: dereferencing pointer to incomplete type >> flow.c:394: dereferencing pointer to incomplete type >> flow.c:394: dereferencing pointer to incomplete type >> flow.c:394: dereferencing pointer to incomplete type >> flow.c:394: dereferencing pointer to incomplete type >> flow.c:394: dereferencing pointer to incomplete type >> flow.c:400: dereferencing pointer to incomplete type >> flow.c:406: dereferencing pointer to incomplete type >> flow.c:406: dereferencing pointer to incomplete type >> flow.c:406: dereferencing pointer to incomplete type >> flow.c:406: dereferencing pointer to incomplete type >> flow.c:406: dereferencing pointer to incomplete type >> flow.c:406: dereferencing pointer to incomplete type >> flow.c:406: dereferencing pointer to incomplete type >> flow.c:406: dereferencing pointer to incomplete type >> flow.c:407: dereferencing pointer to incomplete type >> flow.c:407: dereferencing pointer to incomplete type >> flow.c:407: dereferencing pointer to incomplete type >> flow.c:407: dereferencing pointer to incomplete type >> flow.c:407: dereferencing pointer to incomplete type >> flow.c:407: dereferencing pointer to incomplete type >> flow.c:407: dereferencing pointer to incomplete type >> flow.c:407: dereferencing pointer to incomplete type >> flow.c:410: dereferencing pointer to incomplete type >> flow.c:410: dereferencing pointer to incomplete type >> flow.c:410: dereferencing pointer to incomplete type >> flow.c:410: dereferencing pointer to incomplete type >> flow.c:411: dereferencing pointer to incomplete type >> flow.c:411: dereferencing pointer to incomplete type >> flow.c:412: dereferencing pointer to incomplete type >> flow.c:419: dereferencing pointer to incomplete type >> flow.c:421: dereferencing pointer to incomplete type >> flow.c:422: dereferencing pointer to incomplete type >> flow.c:423: dereferencing pointer to incomplete type >> flow.c:424: dereferencing pointer to incomplete type >> flow.c:427: dereferencing pointer to incomplete type >> flow.c:428: dereferencing pointer to incomplete type >> flow.c:430: dereferencing pointer to incomplete type >> flow.c:432: dereferencing pointer to incomplete type >> flow.c:439: dereferencing pointer to incomplete type >> flow.c:448: dereferencing pointer to incomplete type >> flow.c:449: dereferencing pointer to incomplete type >> flow.c:450: dereferencing pointer to incomplete type >> flow.c:461: warning: implicit declaration of function `g_list_remove' >> flow.c:461: warning: assignment makes pointer from integer without a >> cast >> flow.c:466: dereferencing pointer to incomplete type >> flow.c:467: dereferencing pointer to incomplete type >> flow.c:467: warning: implicit declaration of function `g_list_append' >> flow.c:467: dereferencing pointer to incomplete type >> flow.c:468: dereferencing pointer to incomplete type >> flow.c:477: dereferencing pointer to incomplete type >> flow.c:477: dereferencing pointer to incomplete type >> flow.c:480: dereferencing pointer to incomplete type >> flow.c:484: warning: assignment makes pointer from integer without a >> cast >> flow.c:487: dereferencing pointer to incomplete type >> flow.c:488: dereferencing pointer to incomplete type >> flow.c:490: dereferencing pointer to incomplete type >> flow.c:490: dereferencing pointer to incomplete type >> flow.c:492: dereferencing pointer to incomplete type >> flow.c:493: dereferencing pointer to incomplete type >> flow.c:495: dereferencing pointer to incomplete type >> flow.c:496: dereferencing pointer to incomplete type >> flow.c:498: dereferencing pointer to incomplete type >> flow.c:499: dereferencing pointer to incomplete type >> flow.c:502: dereferencing pointer to incomplete type >> flow.c:505: warning: implicit declaration of function `g_list_find' >> flow.c:505: dereferencing pointer to incomplete type >> flow.c:505: dereferencing pointer to incomplete type >> flow.c:506: dereferencing pointer to incomplete type >> flow.c:506: dereferencing pointer to incomplete type >> flow.c:507: dereferencing pointer to incomplete type >> flow.c:507: dereferencing pointer to incomplete type >> flow.c:508: warning: implicit declaration of function `g_cond_signal' >> flow.c:508: dereferencing pointer to incomplete type >> flow.c:509: dereferencing pointer to incomplete type >> flow.c:516: dereferencing pointer to incomplete type >> flow.c:517: dereferencing pointer to incomplete type >> flow.c:518: dereferencing pointer to incomplete type >> flow.c:519: dereferencing pointer to incomplete type >> flow.c:522: dereferencing pointer to incomplete type >> flow.c:525: dereferencing pointer to incomplete type >> flow.c:525: warning: implicit declaration of function `g_list_concat' >> flow.c:525: dereferencing pointer to incomplete type >> flow.c:527: dereferencing pointer to incomplete type >> flow.c:530: dereferencing pointer to incomplete type >> flow.c:530: dereferencing pointer to incomplete type >> flow.c:531: dereferencing pointer to incomplete type >> flow.c:531: dereferencing pointer to incomplete type >> flow.c:531: dereferencing pointer to incomplete type >> flow.c:531: dereferencing pointer to incomplete type >> flow.c:532: dereferencing pointer to incomplete type >> flow.c:533: dereferencing pointer to incomplete type >> flow.c:535: dereferencing pointer to incomplete type >> flow.c:536: dereferencing pointer to incomplete type >> flow.c:538: dereferencing pointer to incomplete type >> flow.c: In function `flowRunner': >> flow.c:552: `GList' undeclared (first use in this function) >> flow.c:554: `GTimeVal' undeclared (first use in this function) >> flow.c:554: parse error before "mytime" >> flow.c:575: dereferencing pointer to incomplete type >> flow.c:581: dereferencing pointer to incomplete type >> flow.c:584: dereferencing pointer to incomplete type >> flow.c:586: warning: implicit declaration of function >> `g_get_current_time' >> flow.c:586: `mytime' undeclared (first use in this function) >> flow.c:587: warning: implicit declaration of function `g_time_val_add' >> flow.c:588: warning: implicit declaration of function >> `g_cond_timed_wait' >> flow.c:588: dereferencing pointer to incomplete type >> flow.c:588: dereferencing pointer to incomplete type >> flow.c:596: dereferencing pointer to incomplete type >> flow.c:598: dereferencing pointer to incomplete type >> flow.c:600: dereferencing pointer to incomplete type >> flow.c:606: dereferencing pointer to incomplete type >> flow.c:608: dereferencing pointer to incomplete type >> flow.c:617: warning: implicit declaration of function `g_list_foreach' >> flow.c:618: warning: implicit declaration of function `g_list_free' >> flow.c: At top level: >> ../include/common.h:55: storage size of `pmem' isn't known >> make[2]: *** [flow.o] Error 1 >> make[2]: Leaving directory `/root/bwm_tools-0.1.1/lib' >> make[1]: *** [all] Error 2 >> make[1]: Leaving directory `/root/bwm_tools-0.1.1/lib' >> make: *** [all] Error 2 >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.2.1 (Darwin) >> >> iD8DBQE/aa6ZFOm2Sy5bRPQRAkeFAJ9tAu7Hdh/kQWDPIY9iErx8VLjJIQCgiGSw >> eQf6pb+EDqypZwstzp5KOsw= >> =Dj+3 >> -----END PGP SIGNATURE----- > <mime-attachment> ------------ - Nick Buraglio, Network Engineer - Phone: 217.244.6428 - National Center for Supercomputing Applications - CAB 269, 605 E Springfield, Champaign IL 61820 - www: http://www.ncsa.uiuc.edu/People/buraglio/ ------------ |
From: Nigel K. <nk...@lb...> - 2003-09-18 16:51:23
|
Hi Nick, hrmmmm... this is very strage, bwm_tools uses pkg-config to find out where the include directories and libraries can be found. can you maybe try running this command for me? # pkg-config --cflags --libs glib-2.0 lets see what we get... the problem is bwm_tools' configure script cannot find the glib-2.0 include or libraries... not too serious, i'll help you sort it out! Kind Regards Nigel Kukard On Thu, Sep 18, 2003 at 08:09:40AM -0500, Nick Buraglio wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > I've been trying to compile the newest version of bwm-tools (0.1.1) and= =20 > I've been been experiencing some errors, I've also tried the older=20 > versionsand got similar errors. All dependencies should be installed. = =20 > I'm not really a programmer, so the errors really don't mean much to me= =20 > (looks like a syntax error maybe?). Running Redhat Linux 9.0 (I'm also= =20 > really not a linux user, I stick more to the BSD flavors, so it could=20 > be a user error) >=20 > glib-2.0.0 is installed. > libxml2-2.5.9 is also installed. >=20 > [root@localhost bwm_tools-0.1.1]# uname -a > Linux localhost.localdomain 2.4.20-8 #1 Thu Mar 13 17:18:24 EST 2003=20 > i686 athlon i386 GNU/Linux >=20 > Any help or insight greatly appreciated. >=20 > Thanks, > nb >=20 > Errors follow: >=20 > [root@localhost 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 `/root/bwm_tools-0.1.1/lib' > make libbwm.a > make[2]: Entering directory `/root/bwm_tools-0.1.1/lib' > cc -I/usr/include/libxml2 -Wall -I../include -D_GNU_SOURCE -c flow.c > flow.c:9:18: glib.h: No such file or directory > In file included from flow.c:14: > ../include/common.h:12:18: glib.h: No such file or directory > In file included from flow.c:14: > ../include/common.h:31: parse error before "GList" > ../include/common.h:31: warning: no semicolon at end of struct or union > ../include/common.h:32: warning: type defaults to `int' in declaration=20 > of `lock' > ../include/common.h:32: warning: data definition has no type or storage= =20 > class > ../include/common.h:33: parse error before '}' token > ../include/common.h:40: parse error before "GList" > ../include/common.h:40: warning: no semicolon at end of struct or union > ../include/common.h:41: warning: type defaults to `int' in declaration=20 > of `flows' > ../include/common.h:41: warning: data definition has no type or storage= =20 > class > ../include/common.h:42: parse error before '*' token > ../include/common.h:42: warning: type defaults to `int' in declaration=20 > of `groups' > ../include/common.h:42: warning: data definition has no type or storage= =20 > class > ../include/common.h:44: parse error before '*' token > ../include/common.h:44: warning: type defaults to `int' in declaration=20 > of `bandSignalCond' > ../include/common.h:44: warning: data definition has no type or storage= =20 > class > ../include/common.h:45: parse error before '*' token > ../include/common.h:45: warning: type defaults to `int' in declaration=20 > of `bandSignalLock' > ../include/common.h:45: warning: data definition has no type or storage= =20 > class > ../include/common.h:47: parse error before '*' token > ../include/common.h:47: warning: type defaults to `int' in declaration=20 > of `queueChangeList' > ../include/common.h:47: warning: data definition has no type or storage= =20 > class > ../include/common.h:48: parse error before '*' token > ../include/common.h:48: warning: type defaults to `int' in declaration=20 > of `waitListLock' > ../include/common.h:48: warning: data definition has no type or storage= =20 > class > ../include/common.h:50: parse error before '*' token > ../include/common.h:50: warning: type defaults to `int' in declaration=20 > of `queueWaitList' > ../include/common.h:50: warning: data definition has no type or storage= =20 > class > ../include/common.h:53: parse error before '*' token > ../include/common.h:53: warning: type defaults to `int' in declaration=20 > of `IPQLock' > ../include/common.h:53: warning: data definition has no type or storage= =20 > class > ../include/common.h:56: parse error before '}' token > ../include/common.h:61: parse error before "GList" > ../include/common.h:61: warning: no semicolon at end of struct or union > ../include/common.h:62: warning: type defaults to `int' in declaration=20 > of `flows' > ../include/common.h:62: warning: data definition has no type or storage= =20 > class > ../include/common.h:63: parse error before '*' token > ../include/common.h:63: warning: type defaults to `int' in declaration=20 > of `groups' > ../include/common.h:63: warning: data definition has no type or storage= =20 > class > ../include/common.h:64: parse error before '}' token > In file included from flow.c:15: > ../include/flow.h:13:18: glib.h: No such file or directory > In file included from ../include/flow.h:17, > from flow.c:15: > ../include/ipq.h:17:18: glib.h: No such file or directory > In file included from flow.c:15: > ../include/flow.h:84: parse error before "GMutex" > ../include/flow.h:84: warning: no semicolon at end of struct or union > ../include/flow.h:97: parse error before '*' token > ../include/flow.h:97: warning: type defaults to `int' in declaration of= =20 > `packets' > ../include/flow.h:97: warning: data definition has no type or storage=20 > class > ../include/flow.h:98: parse error before '}' token > ../include/flow.h:104: parse error before "GMutex" > ../include/flow.h:104: warning: no semicolon at end of struct or union > ../include/flow.h:116: conflicting types for `prio' > ../include/flow.h:86: previous declaration of `prio' > ../include/flow.h:132: parse error before '*' token > ../include/flow.h:132: warning: type defaults to `int' in declaration=20 > of `counterLock' > ../include/flow.h:132: warning: data definition has no type or storage=20 > class > ../include/flow.h:134: parse error before '*' token > ../include/flow.h:134: warning: type defaults to `int' in declaration=20 > of `groups' > ../include/flow.h:134: warning: data definition has no type or storage=20 > class > ../include/flow.h:146: parse error before '}' token > ../include/flow.h:152: parse error before "GMutex" > ../include/flow.h:152: warning: no semicolon at end of struct or union > ../include/flow.h:163: parse error before '*' token > ../include/flow.h:163: warning: type defaults to `int' in declaration=20 > of `counterLock' > ../include/flow.h:163: warning: data definition has no type or storage=20 > class > ../include/flow.h:172: parse error before '*' token > ../include/flow.h:172: warning: type defaults to `int' in declaration=20 > of `flowList' > ../include/flow.h:172: warning: data definition has no type or storage=20 > class > ../include/flow.h:173: parse error before '}' token > ../include/flow.h:196: parse error before "GList" > flow.c: In function `createFlow': > flow.c:36: sizeof applied to an incomplete type > flow.c:48: dereferencing pointer to incomplete type > flow.c:48: warning: implicit declaration of function `g_mutex_new' > flow.c:50: dereferencing pointer to incomplete type > flow.c:52: dereferencing pointer to incomplete type > flow.c:53: dereferencing pointer to incomplete type > flow.c:55: dereferencing pointer to incomplete type > flow.c:56: dereferencing pointer to incomplete type > flow.c:57: dereferencing pointer to incomplete type > flow.c:58: dereferencing pointer to incomplete type > flow.c:59: dereferencing pointer to incomplete type > flow.c:60: dereferencing pointer to incomplete type > flow.c:62: dereferencing pointer to incomplete type > flow.c:64: dereferencing pointer to incomplete type > flow.c:65: dereferencing pointer to incomplete type > flow.c:67: dereferencing pointer to incomplete type > flow.c:68: dereferencing pointer to incomplete type > flow.c:71: dereferencing pointer to incomplete type > flow.c:72: dereferencing pointer to incomplete type > flow.c:73: dereferencing pointer to incomplete type > flow.c:74: dereferencing pointer to incomplete type > flow.c:75: dereferencing pointer to incomplete type > flow.c:77: dereferencing pointer to incomplete type > flow.c:79: dereferencing pointer to incomplete type > flow.c:81: dereferencing pointer to incomplete type > flow.c:83: dereferencing pointer to incomplete type > flow.c:83: dereferencing pointer to incomplete type > flow.c:84: dereferencing pointer to incomplete type > flow.c:84: dereferencing pointer to incomplete type > flow.c:88: dereferencing pointer to incomplete type > flow.c:89: dereferencing pointer to incomplete type > flow.c:92: dereferencing pointer to incomplete type > flow.c:94: dereferencing pointer to incomplete type > flow.c:94: dereferencing pointer to incomplete type > flow.c:95: dereferencing pointer to incomplete type > flow.c:95: dereferencing pointer to incomplete type > flow.c:99: dereferencing pointer to incomplete type > flow.c:100: dereferencing pointer to incomplete type > flow.c:103: dereferencing pointer to incomplete type > flow.c:105: dereferencing pointer to incomplete type > flow.c:106: dereferencing pointer to incomplete type > flow.c:107: dereferencing pointer to incomplete type > flow.c:108: dereferencing pointer to incomplete type > flow.c:111: dereferencing pointer to incomplete type > flow.c:112: dereferencing pointer to incomplete type > flow.c:115: dereferencing pointer to incomplete type > flow.c:115: dereferencing pointer to incomplete type > flow.c:115: dereferencing pointer to incomplete type > flow.c:116: dereferencing pointer to incomplete type > flow.c:124: dereferencing pointer to incomplete type > flow.c:126: dereferencing pointer to incomplete type > flow.c:127: dereferencing pointer to incomplete type > flow.c:127: dereferencing pointer to incomplete type > flow.c:129: dereferencing pointer to incomplete type > flow.c:131: dereferencing pointer to incomplete type > flow.c:133: dereferencing pointer to incomplete type > flow.c:134: dereferencing pointer to incomplete type > flow.c:134: dereferencing pointer to incomplete type > flow.c:136: dereferencing pointer to incomplete type > flow.c:140: dereferencing pointer to incomplete type > flow.c:140: dereferencing pointer to incomplete type > flow.c:141: dereferencing pointer to incomplete type > flow.c:141: dereferencing pointer to incomplete type > flow.c:146: dereferencing pointer to incomplete type > flow.c:146: sizeof applied to an incomplete type > flow.c:148: dereferencing pointer to incomplete type > flow.c:149: dereferencing pointer to incomplete type > flow.c:150: dereferencing pointer to incomplete type > flow.c:151: dereferencing pointer to incomplete type > flow.c:152: dereferencing pointer to incomplete type > flow.c:153: dereferencing pointer to incomplete type > flow.c:154: dereferencing pointer to incomplete type > flow.c:155: dereferencing pointer to incomplete type > flow.c:156: dereferencing pointer to incomplete type > flow.c: At top level: > flow.c:187: parse error before "GList" > flow.c: In function `createGroup': > flow.c:189: sizeof applied to an incomplete type > flow.c:193: dereferencing pointer to incomplete type > flow.c:195: dereferencing pointer to incomplete type > flow.c:198: dereferencing pointer to incomplete type > flow.c:199: dereferencing pointer to incomplete type > flow.c:202: dereferencing pointer to incomplete type > flow.c:203: dereferencing pointer to incomplete type > flow.c:204: dereferencing pointer to incomplete type > flow.c:205: dereferencing pointer to incomplete type > flow.c:207: dereferencing pointer to incomplete type > flow.c:208: dereferencing pointer to incomplete type > flow.c:209: dereferencing pointer to incomplete type > flow.c:210: dereferencing pointer to incomplete type > flow.c:211: dereferencing pointer to incomplete type > flow.c:214: dereferencing pointer to incomplete type > flow.c:217: dereferencing pointer to incomplete type > flow.c:217: `reportTimeout' undeclared (first use in this function) > flow.c:217: (Each undeclared identifier is reported only once > flow.c:217: for each function it appears in.) > flow.c:218: dereferencing pointer to incomplete type > flow.c:221: dereferencing pointer to incomplete type > flow.c:224: dereferencing pointer to incomplete type > flow.c:225: dereferencing pointer to incomplete type > flow.c:227: dereferencing pointer to incomplete type > flow.c:227: dereferencing pointer to incomplete type > flow.c:227: dereferencing pointer to incomplete type > flow.c:228: dereferencing pointer to incomplete type > flow.c: In function `createPktQueue': > flow.c:244: dereferencing pointer to incomplete type > flow.c:254: dereferencing pointer to incomplete type > flow.c: In function `updateGroups': > flow.c:267: `GList' undeclared (first use in this function) > flow.c:267: `groupItem' undeclared (first use in this function) > flow.c:267: warning: implicit declaration of function `g_list_first' > flow.c:267: dereferencing pointer to incomplete type > flow.c:277: warning: implicit declaration of function `g_mutex_lock' > flow.c:277: dereferencing pointer to incomplete type > flow.c:281: dereferencing pointer to incomplete type > flow.c:283: dereferencing pointer to incomplete type > flow.c:286: dereferencing pointer to incomplete type > flow.c:288: dereferencing pointer to incomplete type > flow.c:291: dereferencing pointer to incomplete type > flow.c:293: dereferencing pointer to incomplete type > flow.c:296: dereferencing pointer to incomplete type > flow.c:298: dereferencing pointer to incomplete type > flow.c:300: warning: implicit declaration of function `g_mutex_unlock' > flow.c:300: dereferencing pointer to incomplete type > flow.c:303: warning: implicit declaration of function `g_list_next' > flow.c: In function `processPktQueue': > flow.c:339: `GList' undeclared (first use in this function) > flow.c:348: dereferencing pointer to incomplete type > flow.c:349: dereferencing pointer to incomplete type > flow.c:350: dereferencing pointer to incomplete type > flow.c:351: dereferencing pointer to incomplete type > flow.c:357: `pktQueueItem' undeclared (first use in this function) > flow.c:372: dereferencing pointer to incomplete type > flow.c:384: dereferencing pointer to incomplete type > flow.c:384: dereferencing pointer to incomplete type > flow.c:384: dereferencing pointer to incomplete type > flow.c:384: dereferencing pointer to incomplete type > flow.c:384: dereferencing pointer to incomplete type > flow.c:384: dereferencing pointer to incomplete type > flow.c:384: dereferencing pointer to incomplete type > flow.c:384: dereferencing pointer to incomplete type > flow.c:385: dereferencing pointer to incomplete type > flow.c:385: dereferencing pointer to incomplete type > flow.c:385: dereferencing pointer to incomplete type > flow.c:385: dereferencing pointer to incomplete type > flow.c:385: dereferencing pointer to incomplete type > flow.c:385: dereferencing pointer to incomplete type > flow.c:385: dereferencing pointer to incomplete type > flow.c:385: dereferencing pointer to incomplete type > flow.c:388: dereferencing pointer to incomplete type > flow.c:388: dereferencing pointer to incomplete type > flow.c:388: dereferencing pointer to incomplete type > flow.c:388: dereferencing pointer to incomplete type > flow.c:391: dereferencing pointer to incomplete type > flow.c:394: dereferencing pointer to incomplete type > flow.c:394: dereferencing pointer to incomplete type > flow.c:394: dereferencing pointer to incomplete type > flow.c:394: dereferencing pointer to incomplete type > flow.c:394: dereferencing pointer to incomplete type > flow.c:394: dereferencing pointer to incomplete type > flow.c:400: dereferencing pointer to incomplete type > flow.c:406: dereferencing pointer to incomplete type > flow.c:406: dereferencing pointer to incomplete type > flow.c:406: dereferencing pointer to incomplete type > flow.c:406: dereferencing pointer to incomplete type > flow.c:406: dereferencing pointer to incomplete type > flow.c:406: dereferencing pointer to incomplete type > flow.c:406: dereferencing pointer to incomplete type > flow.c:406: dereferencing pointer to incomplete type > flow.c:407: dereferencing pointer to incomplete type > flow.c:407: dereferencing pointer to incomplete type > flow.c:407: dereferencing pointer to incomplete type > flow.c:407: dereferencing pointer to incomplete type > flow.c:407: dereferencing pointer to incomplete type > flow.c:407: dereferencing pointer to incomplete type > flow.c:407: dereferencing pointer to incomplete type > flow.c:407: dereferencing pointer to incomplete type > flow.c:410: dereferencing pointer to incomplete type > flow.c:410: dereferencing pointer to incomplete type > flow.c:410: dereferencing pointer to incomplete type > flow.c:410: dereferencing pointer to incomplete type > flow.c:411: dereferencing pointer to incomplete type > flow.c:411: dereferencing pointer to incomplete type > flow.c:412: dereferencing pointer to incomplete type > flow.c:419: dereferencing pointer to incomplete type > flow.c:421: dereferencing pointer to incomplete type > flow.c:422: dereferencing pointer to incomplete type > flow.c:423: dereferencing pointer to incomplete type > flow.c:424: dereferencing pointer to incomplete type > flow.c:427: dereferencing pointer to incomplete type > flow.c:428: dereferencing pointer to incomplete type > flow.c:430: dereferencing pointer to incomplete type > flow.c:432: dereferencing pointer to incomplete type > flow.c:439: dereferencing pointer to incomplete type > flow.c:448: dereferencing pointer to incomplete type > flow.c:449: dereferencing pointer to incomplete type > flow.c:450: dereferencing pointer to incomplete type > flow.c:461: warning: implicit declaration of function `g_list_remove' > flow.c:461: warning: assignment makes pointer from integer without a=20 > cast > flow.c:466: dereferencing pointer to incomplete type > flow.c:467: dereferencing pointer to incomplete type > flow.c:467: warning: implicit declaration of function `g_list_append' > flow.c:467: dereferencing pointer to incomplete type > flow.c:468: dereferencing pointer to incomplete type > flow.c:477: dereferencing pointer to incomplete type > flow.c:477: dereferencing pointer to incomplete type > flow.c:480: dereferencing pointer to incomplete type > flow.c:484: warning: assignment makes pointer from integer without a=20 > cast > flow.c:487: dereferencing pointer to incomplete type > flow.c:488: dereferencing pointer to incomplete type > flow.c:490: dereferencing pointer to incomplete type > flow.c:490: dereferencing pointer to incomplete type > flow.c:492: dereferencing pointer to incomplete type > flow.c:493: dereferencing pointer to incomplete type > flow.c:495: dereferencing pointer to incomplete type > flow.c:496: dereferencing pointer to incomplete type > flow.c:498: dereferencing pointer to incomplete type > flow.c:499: dereferencing pointer to incomplete type > flow.c:502: dereferencing pointer to incomplete type > flow.c:505: warning: implicit declaration of function `g_list_find' > flow.c:505: dereferencing pointer to incomplete type > flow.c:505: dereferencing pointer to incomplete type > flow.c:506: dereferencing pointer to incomplete type > flow.c:506: dereferencing pointer to incomplete type > flow.c:507: dereferencing pointer to incomplete type > flow.c:507: dereferencing pointer to incomplete type > flow.c:508: warning: implicit declaration of function `g_cond_signal' > flow.c:508: dereferencing pointer to incomplete type > flow.c:509: dereferencing pointer to incomplete type > flow.c:516: dereferencing pointer to incomplete type > flow.c:517: dereferencing pointer to incomplete type > flow.c:518: dereferencing pointer to incomplete type > flow.c:519: dereferencing pointer to incomplete type > flow.c:522: dereferencing pointer to incomplete type > flow.c:525: dereferencing pointer to incomplete type > flow.c:525: warning: implicit declaration of function `g_list_concat' > flow.c:525: dereferencing pointer to incomplete type > flow.c:527: dereferencing pointer to incomplete type > flow.c:530: dereferencing pointer to incomplete type > flow.c:530: dereferencing pointer to incomplete type > flow.c:531: dereferencing pointer to incomplete type > flow.c:531: dereferencing pointer to incomplete type > flow.c:531: dereferencing pointer to incomplete type > flow.c:531: dereferencing pointer to incomplete type > flow.c:532: dereferencing pointer to incomplete type > flow.c:533: dereferencing pointer to incomplete type > flow.c:535: dereferencing pointer to incomplete type > flow.c:536: dereferencing pointer to incomplete type > flow.c:538: dereferencing pointer to incomplete type > flow.c: In function `flowRunner': > flow.c:552: `GList' undeclared (first use in this function) > flow.c:554: `GTimeVal' undeclared (first use in this function) > flow.c:554: parse error before "mytime" > flow.c:575: dereferencing pointer to incomplete type > flow.c:581: dereferencing pointer to incomplete type > flow.c:584: dereferencing pointer to incomplete type > flow.c:586: warning: implicit declaration of function=20 > `g_get_current_time' > flow.c:586: `mytime' undeclared (first use in this function) > flow.c:587: warning: implicit declaration of function `g_time_val_add' > flow.c:588: warning: implicit declaration of function=20 > `g_cond_timed_wait' > flow.c:588: dereferencing pointer to incomplete type > flow.c:588: dereferencing pointer to incomplete type > flow.c:596: dereferencing pointer to incomplete type > flow.c:598: dereferencing pointer to incomplete type > flow.c:600: dereferencing pointer to incomplete type > flow.c:606: dereferencing pointer to incomplete type > flow.c:608: dereferencing pointer to incomplete type > flow.c:617: warning: implicit declaration of function `g_list_foreach' > flow.c:618: warning: implicit declaration of function `g_list_free' > flow.c: At top level: > ../include/common.h:55: storage size of `pmem' isn't known > make[2]: *** [flow.o] Error 1 > make[2]: Leaving directory `/root/bwm_tools-0.1.1/lib' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/root/bwm_tools-0.1.1/lib' > make: *** [all] Error 2 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.1 (Darwin) >=20 > iD8DBQE/aa6ZFOm2Sy5bRPQRAkeFAJ9tAu7Hdh/kQWDPIY9iErx8VLjJIQCgiGSw > eQf6pb+EDqypZwstzp5KOsw=3D > =3DDj+3 > -----END PGP SIGNATURE----- |
From: Nick B. <ni...@bu...> - 2003-09-18 13:09:48
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've been trying to compile the newest version of bwm-tools (0.1.1) and I've been been experiencing some errors, I've also tried the older versionsand got similar errors. All dependencies should be installed. I'm not really a programmer, so the errors really don't mean much to me (looks like a syntax error maybe?). Running Redhat Linux 9.0 (I'm also really not a linux user, I stick more to the BSD flavors, so it could be a user error) glib-2.0.0 is installed. libxml2-2.5.9 is also installed. [root@localhost bwm_tools-0.1.1]# uname -a Linux localhost.localdomain 2.4.20-8 #1 Thu Mar 13 17:18:24 EST 2003 i686 athlon i386 GNU/Linux Any help or insight greatly appreciated. Thanks, nb Errors follow: [root@localhost bwm_tools-0.1.1]# make for dir in lib bwm_firewall bwm_graph bwmd bwm_monitor; \ do \ make -C $dir all; \ res=$?; \ if [ $res != '0' ]; then exit $res; fi \ done make[1]: Entering directory `/root/bwm_tools-0.1.1/lib' make libbwm.a make[2]: Entering directory `/root/bwm_tools-0.1.1/lib' cc -I/usr/include/libxml2 -Wall -I../include -D_GNU_SOURCE -c flow.c flow.c:9:18: glib.h: No such file or directory In file included from flow.c:14: ../include/common.h:12:18: glib.h: No such file or directory In file included from flow.c:14: ../include/common.h:31: parse error before "GList" ../include/common.h:31: warning: no semicolon at end of struct or union ../include/common.h:32: warning: type defaults to `int' in declaration of `lock' ../include/common.h:32: warning: data definition has no type or storage class ../include/common.h:33: parse error before '}' token ../include/common.h:40: parse error before "GList" ../include/common.h:40: warning: no semicolon at end of struct or union ../include/common.h:41: warning: type defaults to `int' in declaration of `flows' ../include/common.h:41: warning: data definition has no type or storage class ../include/common.h:42: parse error before '*' token ../include/common.h:42: warning: type defaults to `int' in declaration of `groups' ../include/common.h:42: warning: data definition has no type or storage class ../include/common.h:44: parse error before '*' token ../include/common.h:44: warning: type defaults to `int' in declaration of `bandSignalCond' ../include/common.h:44: warning: data definition has no type or storage class ../include/common.h:45: parse error before '*' token ../include/common.h:45: warning: type defaults to `int' in declaration of `bandSignalLock' ../include/common.h:45: warning: data definition has no type or storage class ../include/common.h:47: parse error before '*' token ../include/common.h:47: warning: type defaults to `int' in declaration of `queueChangeList' ../include/common.h:47: warning: data definition has no type or storage class ../include/common.h:48: parse error before '*' token ../include/common.h:48: warning: type defaults to `int' in declaration of `waitListLock' ../include/common.h:48: warning: data definition has no type or storage class ../include/common.h:50: parse error before '*' token ../include/common.h:50: warning: type defaults to `int' in declaration of `queueWaitList' ../include/common.h:50: warning: data definition has no type or storage class ../include/common.h:53: parse error before '*' token ../include/common.h:53: warning: type defaults to `int' in declaration of `IPQLock' ../include/common.h:53: warning: data definition has no type or storage class ../include/common.h:56: parse error before '}' token ../include/common.h:61: parse error before "GList" ../include/common.h:61: warning: no semicolon at end of struct or union ../include/common.h:62: warning: type defaults to `int' in declaration of `flows' ../include/common.h:62: warning: data definition has no type or storage class ../include/common.h:63: parse error before '*' token ../include/common.h:63: warning: type defaults to `int' in declaration of `groups' ../include/common.h:63: warning: data definition has no type or storage class ../include/common.h:64: parse error before '}' token In file included from flow.c:15: ../include/flow.h:13:18: glib.h: No such file or directory In file included from ../include/flow.h:17, from flow.c:15: ../include/ipq.h:17:18: glib.h: No such file or directory In file included from flow.c:15: ../include/flow.h:84: parse error before "GMutex" ../include/flow.h:84: warning: no semicolon at end of struct or union ../include/flow.h:97: parse error before '*' token ../include/flow.h:97: warning: type defaults to `int' in declaration of `packets' ../include/flow.h:97: warning: data definition has no type or storage class ../include/flow.h:98: parse error before '}' token ../include/flow.h:104: parse error before "GMutex" ../include/flow.h:104: warning: no semicolon at end of struct or union ../include/flow.h:116: conflicting types for `prio' ../include/flow.h:86: previous declaration of `prio' ../include/flow.h:132: parse error before '*' token ../include/flow.h:132: warning: type defaults to `int' in declaration of `counterLock' ../include/flow.h:132: warning: data definition has no type or storage class ../include/flow.h:134: parse error before '*' token ../include/flow.h:134: warning: type defaults to `int' in declaration of `groups' ../include/flow.h:134: warning: data definition has no type or storage class ../include/flow.h:146: parse error before '}' token ../include/flow.h:152: parse error before "GMutex" ../include/flow.h:152: warning: no semicolon at end of struct or union ../include/flow.h:163: parse error before '*' token ../include/flow.h:163: warning: type defaults to `int' in declaration of `counterLock' ../include/flow.h:163: warning: data definition has no type or storage class ../include/flow.h:172: parse error before '*' token ../include/flow.h:172: warning: type defaults to `int' in declaration of `flowList' ../include/flow.h:172: warning: data definition has no type or storage class ../include/flow.h:173: parse error before '}' token ../include/flow.h:196: parse error before "GList" flow.c: In function `createFlow': flow.c:36: sizeof applied to an incomplete type flow.c:48: dereferencing pointer to incomplete type flow.c:48: warning: implicit declaration of function `g_mutex_new' flow.c:50: dereferencing pointer to incomplete type flow.c:52: dereferencing pointer to incomplete type flow.c:53: dereferencing pointer to incomplete type flow.c:55: dereferencing pointer to incomplete type flow.c:56: dereferencing pointer to incomplete type flow.c:57: dereferencing pointer to incomplete type flow.c:58: dereferencing pointer to incomplete type flow.c:59: dereferencing pointer to incomplete type flow.c:60: dereferencing pointer to incomplete type flow.c:62: dereferencing pointer to incomplete type flow.c:64: dereferencing pointer to incomplete type flow.c:65: dereferencing pointer to incomplete type flow.c:67: dereferencing pointer to incomplete type flow.c:68: dereferencing pointer to incomplete type flow.c:71: dereferencing pointer to incomplete type flow.c:72: dereferencing pointer to incomplete type flow.c:73: dereferencing pointer to incomplete type flow.c:74: dereferencing pointer to incomplete type flow.c:75: dereferencing pointer to incomplete type flow.c:77: dereferencing pointer to incomplete type flow.c:79: dereferencing pointer to incomplete type flow.c:81: dereferencing pointer to incomplete type flow.c:83: dereferencing pointer to incomplete type flow.c:83: dereferencing pointer to incomplete type flow.c:84: dereferencing pointer to incomplete type flow.c:84: dereferencing pointer to incomplete type flow.c:88: dereferencing pointer to incomplete type flow.c:89: dereferencing pointer to incomplete type flow.c:92: dereferencing pointer to incomplete type flow.c:94: dereferencing pointer to incomplete type flow.c:94: dereferencing pointer to incomplete type flow.c:95: dereferencing pointer to incomplete type flow.c:95: dereferencing pointer to incomplete type flow.c:99: dereferencing pointer to incomplete type flow.c:100: dereferencing pointer to incomplete type flow.c:103: dereferencing pointer to incomplete type flow.c:105: dereferencing pointer to incomplete type flow.c:106: dereferencing pointer to incomplete type flow.c:107: dereferencing pointer to incomplete type flow.c:108: dereferencing pointer to incomplete type flow.c:111: dereferencing pointer to incomplete type flow.c:112: dereferencing pointer to incomplete type flow.c:115: dereferencing pointer to incomplete type flow.c:115: dereferencing pointer to incomplete type flow.c:115: dereferencing pointer to incomplete type flow.c:116: dereferencing pointer to incomplete type flow.c:124: dereferencing pointer to incomplete type flow.c:126: dereferencing pointer to incomplete type flow.c:127: dereferencing pointer to incomplete type flow.c:127: dereferencing pointer to incomplete type flow.c:129: dereferencing pointer to incomplete type flow.c:131: dereferencing pointer to incomplete type flow.c:133: dereferencing pointer to incomplete type flow.c:134: dereferencing pointer to incomplete type flow.c:134: dereferencing pointer to incomplete type flow.c:136: dereferencing pointer to incomplete type flow.c:140: dereferencing pointer to incomplete type flow.c:140: dereferencing pointer to incomplete type flow.c:141: dereferencing pointer to incomplete type flow.c:141: dereferencing pointer to incomplete type flow.c:146: dereferencing pointer to incomplete type flow.c:146: sizeof applied to an incomplete type flow.c:148: dereferencing pointer to incomplete type flow.c:149: dereferencing pointer to incomplete type flow.c:150: dereferencing pointer to incomplete type flow.c:151: dereferencing pointer to incomplete type flow.c:152: dereferencing pointer to incomplete type flow.c:153: dereferencing pointer to incomplete type flow.c:154: dereferencing pointer to incomplete type flow.c:155: dereferencing pointer to incomplete type flow.c:156: dereferencing pointer to incomplete type flow.c: At top level: flow.c:187: parse error before "GList" flow.c: In function `createGroup': flow.c:189: sizeof applied to an incomplete type flow.c:193: dereferencing pointer to incomplete type flow.c:195: dereferencing pointer to incomplete type flow.c:198: dereferencing pointer to incomplete type flow.c:199: dereferencing pointer to incomplete type flow.c:202: dereferencing pointer to incomplete type flow.c:203: dereferencing pointer to incomplete type flow.c:204: dereferencing pointer to incomplete type flow.c:205: dereferencing pointer to incomplete type flow.c:207: dereferencing pointer to incomplete type flow.c:208: dereferencing pointer to incomplete type flow.c:209: dereferencing pointer to incomplete type flow.c:210: dereferencing pointer to incomplete type flow.c:211: dereferencing pointer to incomplete type flow.c:214: dereferencing pointer to incomplete type flow.c:217: dereferencing pointer to incomplete type flow.c:217: `reportTimeout' undeclared (first use in this function) flow.c:217: (Each undeclared identifier is reported only once flow.c:217: for each function it appears in.) flow.c:218: dereferencing pointer to incomplete type flow.c:221: dereferencing pointer to incomplete type flow.c:224: dereferencing pointer to incomplete type flow.c:225: dereferencing pointer to incomplete type flow.c:227: dereferencing pointer to incomplete type flow.c:227: dereferencing pointer to incomplete type flow.c:227: dereferencing pointer to incomplete type flow.c:228: dereferencing pointer to incomplete type flow.c: In function `createPktQueue': flow.c:244: dereferencing pointer to incomplete type flow.c:254: dereferencing pointer to incomplete type flow.c: In function `updateGroups': flow.c:267: `GList' undeclared (first use in this function) flow.c:267: `groupItem' undeclared (first use in this function) flow.c:267: warning: implicit declaration of function `g_list_first' flow.c:267: dereferencing pointer to incomplete type flow.c:277: warning: implicit declaration of function `g_mutex_lock' flow.c:277: dereferencing pointer to incomplete type flow.c:281: dereferencing pointer to incomplete type flow.c:283: dereferencing pointer to incomplete type flow.c:286: dereferencing pointer to incomplete type flow.c:288: dereferencing pointer to incomplete type flow.c:291: dereferencing pointer to incomplete type flow.c:293: dereferencing pointer to incomplete type flow.c:296: dereferencing pointer to incomplete type flow.c:298: dereferencing pointer to incomplete type flow.c:300: warning: implicit declaration of function `g_mutex_unlock' flow.c:300: dereferencing pointer to incomplete type flow.c:303: warning: implicit declaration of function `g_list_next' flow.c: In function `processPktQueue': flow.c:339: `GList' undeclared (first use in this function) flow.c:348: dereferencing pointer to incomplete type flow.c:349: dereferencing pointer to incomplete type flow.c:350: dereferencing pointer to incomplete type flow.c:351: dereferencing pointer to incomplete type flow.c:357: `pktQueueItem' undeclared (first use in this function) flow.c:372: dereferencing pointer to incomplete type flow.c:384: dereferencing pointer to incomplete type flow.c:384: dereferencing pointer to incomplete type flow.c:384: dereferencing pointer to incomplete type flow.c:384: dereferencing pointer to incomplete type flow.c:384: dereferencing pointer to incomplete type flow.c:384: dereferencing pointer to incomplete type flow.c:384: dereferencing pointer to incomplete type flow.c:384: dereferencing pointer to incomplete type flow.c:385: dereferencing pointer to incomplete type flow.c:385: dereferencing pointer to incomplete type flow.c:385: dereferencing pointer to incomplete type flow.c:385: dereferencing pointer to incomplete type flow.c:385: dereferencing pointer to incomplete type flow.c:385: dereferencing pointer to incomplete type flow.c:385: dereferencing pointer to incomplete type flow.c:385: dereferencing pointer to incomplete type flow.c:388: dereferencing pointer to incomplete type flow.c:388: dereferencing pointer to incomplete type flow.c:388: dereferencing pointer to incomplete type flow.c:388: dereferencing pointer to incomplete type flow.c:391: dereferencing pointer to incomplete type flow.c:394: dereferencing pointer to incomplete type flow.c:394: dereferencing pointer to incomplete type flow.c:394: dereferencing pointer to incomplete type flow.c:394: dereferencing pointer to incomplete type flow.c:394: dereferencing pointer to incomplete type flow.c:394: dereferencing pointer to incomplete type flow.c:400: dereferencing pointer to incomplete type flow.c:406: dereferencing pointer to incomplete type flow.c:406: dereferencing pointer to incomplete type flow.c:406: dereferencing pointer to incomplete type flow.c:406: dereferencing pointer to incomplete type flow.c:406: dereferencing pointer to incomplete type flow.c:406: dereferencing pointer to incomplete type flow.c:406: dereferencing pointer to incomplete type flow.c:406: dereferencing pointer to incomplete type flow.c:407: dereferencing pointer to incomplete type flow.c:407: dereferencing pointer to incomplete type flow.c:407: dereferencing pointer to incomplete type flow.c:407: dereferencing pointer to incomplete type flow.c:407: dereferencing pointer to incomplete type flow.c:407: dereferencing pointer to incomplete type flow.c:407: dereferencing pointer to incomplete type flow.c:407: dereferencing pointer to incomplete type flow.c:410: dereferencing pointer to incomplete type flow.c:410: dereferencing pointer to incomplete type flow.c:410: dereferencing pointer to incomplete type flow.c:410: dereferencing pointer to incomplete type flow.c:411: dereferencing pointer to incomplete type flow.c:411: dereferencing pointer to incomplete type flow.c:412: dereferencing pointer to incomplete type flow.c:419: dereferencing pointer to incomplete type flow.c:421: dereferencing pointer to incomplete type flow.c:422: dereferencing pointer to incomplete type flow.c:423: dereferencing pointer to incomplete type flow.c:424: dereferencing pointer to incomplete type flow.c:427: dereferencing pointer to incomplete type flow.c:428: dereferencing pointer to incomplete type flow.c:430: dereferencing pointer to incomplete type flow.c:432: dereferencing pointer to incomplete type flow.c:439: dereferencing pointer to incomplete type flow.c:448: dereferencing pointer to incomplete type flow.c:449: dereferencing pointer to incomplete type flow.c:450: dereferencing pointer to incomplete type flow.c:461: warning: implicit declaration of function `g_list_remove' flow.c:461: warning: assignment makes pointer from integer without a cast flow.c:466: dereferencing pointer to incomplete type flow.c:467: dereferencing pointer to incomplete type flow.c:467: warning: implicit declaration of function `g_list_append' flow.c:467: dereferencing pointer to incomplete type flow.c:468: dereferencing pointer to incomplete type flow.c:477: dereferencing pointer to incomplete type flow.c:477: dereferencing pointer to incomplete type flow.c:480: dereferencing pointer to incomplete type flow.c:484: warning: assignment makes pointer from integer without a cast flow.c:487: dereferencing pointer to incomplete type flow.c:488: dereferencing pointer to incomplete type flow.c:490: dereferencing pointer to incomplete type flow.c:490: dereferencing pointer to incomplete type flow.c:492: dereferencing pointer to incomplete type flow.c:493: dereferencing pointer to incomplete type flow.c:495: dereferencing pointer to incomplete type flow.c:496: dereferencing pointer to incomplete type flow.c:498: dereferencing pointer to incomplete type flow.c:499: dereferencing pointer to incomplete type flow.c:502: dereferencing pointer to incomplete type flow.c:505: warning: implicit declaration of function `g_list_find' flow.c:505: dereferencing pointer to incomplete type flow.c:505: dereferencing pointer to incomplete type flow.c:506: dereferencing pointer to incomplete type flow.c:506: dereferencing pointer to incomplete type flow.c:507: dereferencing pointer to incomplete type flow.c:507: dereferencing pointer to incomplete type flow.c:508: warning: implicit declaration of function `g_cond_signal' flow.c:508: dereferencing pointer to incomplete type flow.c:509: dereferencing pointer to incomplete type flow.c:516: dereferencing pointer to incomplete type flow.c:517: dereferencing pointer to incomplete type flow.c:518: dereferencing pointer to incomplete type flow.c:519: dereferencing pointer to incomplete type flow.c:522: dereferencing pointer to incomplete type flow.c:525: dereferencing pointer to incomplete type flow.c:525: warning: implicit declaration of function `g_list_concat' flow.c:525: dereferencing pointer to incomplete type flow.c:527: dereferencing pointer to incomplete type flow.c:530: dereferencing pointer to incomplete type flow.c:530: dereferencing pointer to incomplete type flow.c:531: dereferencing pointer to incomplete type flow.c:531: dereferencing pointer to incomplete type flow.c:531: dereferencing pointer to incomplete type flow.c:531: dereferencing pointer to incomplete type flow.c:532: dereferencing pointer to incomplete type flow.c:533: dereferencing pointer to incomplete type flow.c:535: dereferencing pointer to incomplete type flow.c:536: dereferencing pointer to incomplete type flow.c:538: dereferencing pointer to incomplete type flow.c: In function `flowRunner': flow.c:552: `GList' undeclared (first use in this function) flow.c:554: `GTimeVal' undeclared (first use in this function) flow.c:554: parse error before "mytime" flow.c:575: dereferencing pointer to incomplete type flow.c:581: dereferencing pointer to incomplete type flow.c:584: dereferencing pointer to incomplete type flow.c:586: warning: implicit declaration of function `g_get_current_time' flow.c:586: `mytime' undeclared (first use in this function) flow.c:587: warning: implicit declaration of function `g_time_val_add' flow.c:588: warning: implicit declaration of function `g_cond_timed_wait' flow.c:588: dereferencing pointer to incomplete type flow.c:588: dereferencing pointer to incomplete type flow.c:596: dereferencing pointer to incomplete type flow.c:598: dereferencing pointer to incomplete type flow.c:600: dereferencing pointer to incomplete type flow.c:606: dereferencing pointer to incomplete type flow.c:608: dereferencing pointer to incomplete type flow.c:617: warning: implicit declaration of function `g_list_foreach' flow.c:618: warning: implicit declaration of function `g_list_free' flow.c: At top level: ../include/common.h:55: storage size of `pmem' isn't known make[2]: *** [flow.o] Error 1 make[2]: Leaving directory `/root/bwm_tools-0.1.1/lib' make[1]: *** [all] Error 2 make[1]: Leaving directory `/root/bwm_tools-0.1.1/lib' make: *** [all] Error 2 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (Darwin) iD8DBQE/aa6ZFOm2Sy5bRPQRAkeFAJ9tAu7Hdh/kQWDPIY9iErx8VLjJIQCgiGSw eQf6pb+EDqypZwstzp5KOsw= =Dj+3 -----END PGP SIGNATURE----- |
From: Nigel H. <nig...@as...> - 2003-08-08 07:37:40
|
Hi, I'm rather new to the whole linux thing, and one of my first tasks has been to find a 'packet shaper' that we can test and possibly implement on our firewall. I downloaded BWM, but I'm having problems making it. I've checked the dependencies, and have both GLIB 2.2 and LibXML 2.5 installed. I am attaching the terminal output to this mail. Any help would be greatly appreciated. Nigel Hertz **Begin Output** [root@srd-itsnigelh bwm_tools-0.0.5]# ./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 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.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... yes checking for _Bool... yes 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 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 memset... yes checking for select... yes checking for socket... yes checking for strcasecmp... yes checking for strdup... yes checking for strerror... yes checking for strndup... yes checking for pkg-config... /usr/bin/pkg-config checking for GLIB - version >= 2.0.0... yes (version 2.2.1) checking for xml2-config... /usr/bin/xml2-config checking for libxml - version >= 2.0.0... yes (version 2.5.4) 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 [root@srd-itsnigelh bwm_tools-0.0.5]# make for dir in lib bwm_firewall bwm_graph bwmd bwm_monitor; \ do \ make -C $dir all; \ res=$?; \ if [ $res != '0' ]; then exit $res; fi \ done make[1]: Entering directory `/usr/downloads/bwm_tools-0.0.5/lib' cc -pthread -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 xmlCo nf.c > .deps make libbwm.a make[2]: Entering directory `/usr/downloads/bwm_tools-0.0.5/lib' cc -pthread -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 -pthread -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 cc -pthread -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 -pthread -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 ar cr libbwm.a flow.o ipq.o libipq.o xmlConf.o make[2]: Leaving directory `/usr/downloads/bwm_tools-0.0.5/lib' make[1]: Leaving directory `/usr/downloads/bwm_tools-0.0.5/lib' make[1]: Entering directory `/usr/downloads/bwm_tools-0.0.5/bwm_firewall' cc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include /libxml2 -DCONFIG_FILE=\"/etc/bwm_tools/firewall.xml\" -DIPTABLES_FILE=\"/etc/ sysconfig/iptables\" -Wall -I../include -D_GNU_SOURCE --depend bwm_firewall.c > .deps make bwm_firewall make[2]: Entering directory `/usr/downloads/bwm_tools-0.0.5/bwm_firewall' cc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include /libxml2 -DCONFIG_FILE=\"/etc/bwm_tools/firewall.xml\" -DIPTABLES_FILE=\"/etc/ sysconfig/iptables\" -Wall -I../include -D_GNU_SOURCE -c bwm_firewall.c cc -o bwm_firewall bwm_firewall.o ../lib/libbwm.a -pthread -lgthread-2.0 -lglib- 2.0 -lxml2 -lz -lm make[2]: Leaving directory `/usr/downloads/bwm_tools-0.0.5/bwm_firewall' make[1]: Leaving directory `/usr/downloads/bwm_tools-0.0.5/bwm_firewall' make[1]: Entering directory `/usr/downloads/bwm_tools-0.0.5/bwm_graph' cc -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DLOG_DIR=\"/v ar/bwm_tools\" -Wall -I../include -D_GNU_SOURCE --depend bwm_graph.c graph.c > . deps graph.c:18:17: rrd.h: No such file or directory make[1]: *** [.deps] Error 1 make[1]: Leaving directory `/usr/downloads/bwm_tools-0.0.5/bwm_graph' make: *** [all] Error 2 [root@srd-itsnigelh bwm_tools-0.0.5]# **End Output** ______________________________________________ "This information is intended only for the person or entity to which it is addressed and may contain private, confidential, proprietary and/or privileged material and may be subject to confidentiality agreements. Any review, retransmission, dissemination, or any other use of or taking of any action in reliance upon this information, by persons or entities other than the intended recipient, is prohibited. If you received this in error, please contact the sender and delete the material from all storage media. The company is neither liable for proper, complete transmission of the information contained in this communication, any delay in its receipt or that the mail is virus-free" |
From: Nigel K. <nk...@lb...> - 2003-07-11 06:29:29
|
Ok, what does your configuration file look like at the moment? On Thu, Jul 10, 2003 at 11:20:03PM -0700, Sanjeev Dhiman wrote: > ..like to do all of these but my prime requirement is traffic shaping and= monitoring. > =20 > =20 > Sanjeev=20 >=20 > Nigel Kukard <nk...@lb...> wrote: > On Wed, Jul 09, 2003 at 01:30:11AM -0700, Sanjeev Dhiman wrote: > > First of all thanks for a quick response. > > Its a firewall box which is also running a squid proxy. If you dont rec= ommand proxy...no probs I can move it on to another machine. >=20 > will make no difference. :) >=20 > ok... what would you like the box to do? firewalling? traffic > monitoring? traffic shaping? >=20 >=20 > -Nigel >=20 >=20 > > ATTACHMENT part 2 application/pgp-signature=20 >=20 |
From: Nigel K. <nk...@lb...> - 2003-07-09 06:58:18
|
Ok, the first thing I need to know, is the box you have it currently installed on. Is it a firewall/gateway? -Nigel On Tue, Jul 08, 2003 at 11:14:21PM -0700, Sanjeev Dhiman wrote: > Dear Sir, > Can I have some docs (set by setp ) on how to configure, manage and monit= or your Bandwidth Management Tools. The docs available is not sufficient fo= r me as I'm quite new to Linux. I'm using Red Hat Linux 7.1. > =20 > Thanks n Regards > Sanjeev Dhiman > =20 >=20 >=20 |
From: Glen M. <gl...@ma...> - 2003-06-28 20:44:37
|
Hello, It seems that ./configure also needs to check for libncurses5-dev or something like that. Thanks, Glen -- ****************************************************************** Glen W. Mabey Gle...@us... http://mabeys.homelinux.com/glen/ ****************************************************************** |
From: Glen M. <gl...@ma...> - 2003-06-26 15:53:03
|
Hello, While trying to compile, I ran ./configure and it didn't give any errors or warnings, but when I compiled, it complained that it couldn't find rrd.h . After installing librrd0-dev, no errors, so I suggest that librrd0 be checked for by ./configure. Thanks, Glen -- ****************************************************************** Glen W. Mabey Gle...@us... http://mabeys.homelinux.com/glen/ ****************************************************************** |
From: Nigel K. <nk...@lb...> - 2003-06-20 05:29:16
|
> >Hang on.... the normal packet size is 1500, you setting a limit to 1024 > >which is less than the packet size... i think this might be a bug. But > >this means that you want 75% of a packet to pass through your box every > >second, is this right? >=20 > from Your documentation: > max-rate=3D"" > - Maximum rate in bytes/s before packets are queu= ed, > packets are not queued if they can be bursted. = If > 0 is specified only logging of traffic will occ= ur >=20 > this parameter control paket size? xm.... >=20 > I whated set speed 1024kbytes per second (1 Mbyte per sec) not packet siz= e. 1Mbyte =3D 1024 x 1024 =3D> max-rate=3D1048576 max-rate is in BYTES, not KBytes :) >=20 > And now I completly don't understand your parameters. :( >=20 >=20 |
From: Nigel K. <nk...@lb...> - 2003-06-19 07:09:03
|
Hang on.... the normal packet size is 1500, you setting a limit to 1024 which is less than the packet size... i think this might be a bug. But this means that you want 75% of a packet to pass through your box every second, is this right? Regards -Nigel |
From: Andriy T. Y. <wir...@wi...> - 2003-06-19 06:19:28
|
On Wed, 18 Jun 2003 19:33:48 +0200 Nigel Kukard <nk...@lb...> wrote: > > Assume I what shape incomming and outgoing traffic for web (tcp port 80). > > I dont start bwm_firewall just do it by hand: > > > > iptables -t mangle -F > > iptables -t mangle -A INPUT -i eth0 -p tcp --sport 80 -j MARK --set-mark 1001 > > iptables -t mangle -A OUTPUT -o eth0 -p tcp --dport 80 -j MARK --set-mark 1002 > > > > iptables -t filter -F > > iptables -t filter -A INPUT -i eth0 -m mark --mark 1001 -j QUEUE > > iptables -t filter -A OUTPUT -o eth0 -m mark --mark 1002 -j QUEUE > > > > this looks fine :) > > > > > Look at part of firewall.xml that use bwmd: > > > > <traffic> > > <flow name="mainline" stats-len="10" queue-size="262144" queue-len="300" max-rate="65536" burst-rate="131072" counter-timeout="60"> > > <flow name="1_client_in" max-rate="8192" flow-id="1001"> > > c_traffic_in; > > </flow> > > <flow name="1_client_out" max-rate="8192" flow-id="1002"> > > c_traffic_out; > > </flow> > > </flow> > > </traffic> > > > > yep, you can define blank classes to be in the flows if you want to > write your own firewall scripts :) > > > > For example I what shape incomming traffic ( name="1_client_in" ) to 10240 bytes per sec (10KB/sec) > > and outgoing traffic ( name="1_client_out" ) to 1024 bytes per sec (1KB/sec). > > > > correct, as above > > > Which values for parameters > > > > stats-len > > queue-size > > queue-len > > max-rate > > burst-rate > > counter-timeout > > > > in this case? > > > > if you don't want bursting all you need define is the following... > stats-len = 0 > queue-len = 5 (allows 5 packets in the queue, you can also use 10) > max-rate = 1024 ok. I tried but not this not working - no download speed! :(( Can you give me correct working config file for my example? I what control 2 different flows incoming(10KB/s) & outgoing(1KB/s). I think that in this case I don't need parent (mainline) flow. Just 2 separate flows. -- Andriy T. Yanko wir...@wi... * Avoid The Gates of Hell use Linux ** Wenn ich sterbe, legt mir eine Birne in mein Grab ... |
From: Nigel K. <nk...@lb...> - 2003-06-18 17:35:32
|
could you paste the errors in an email please? Regards Nigel On Wed, Jun 18, 2003 at 10:01:35AM -0700, titus grig wrote: > Hello > I tried to install your product but it returned me > errors > at to lines at the end. > And how i can start it? > I have verified the to required Glib and libXML ,ok. > Excuse my english and help me. > OS linux redhat 9.0 > alexandru z. > romania >=20 > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com |
From: Nigel K. <nk...@lb...> - 2003-06-18 17:34:11
|
> Assume I what shape incomming and outgoing traffic for web (tcp port 80). > I dont start bwm_firewall just do it by hand: >=20 > iptables -t mangle -F > iptables -t mangle -A INPUT -i eth0 -p tcp --sport 80 -j MARK --set-mar= k 1001 > iptables -t mangle -A OUTPUT -o eth0 -p tcp --dport 80 -j MARK --set-mar= k 1002 >=20 > iptables -t filter -F > iptables -t filter -A INPUT -i eth0 -m mark --mark 1001 -j QUEUE > iptables -t filter -A OUTPUT -o eth0 -m mark --mark 1002 -j QUEUE >=20 this looks fine :) >=20 > Look at part of firewall.xml that use bwmd: >=20 > <traffic> > <flow name=3D"mainline" stats-len=3D"10" queue-size=3D"262144" queue-len= =3D"300" max-rate=3D"65536" burst-rate=3D"131072" counter-timeout=3D"60"> > <flow name=3D"1_client_in" max-rate=3D"8192" flow-id=3D"1001"> > c_traffic_in; > </flow> > <flow name=3D"1_client_out" max-rate=3D"8192" flow-id=3D"1002"> > c_traffic_out; > </flow> > </flow> > </traffic> >=20 yep, you can define blank classes to be in the flows if you want to write your own firewall scripts :) > For example I what shape incomming traffic ( name=3D"1_client_in" ) to 1= 0240 bytes per sec (10KB/sec) > and outgoing traffic ( name=3D"1_client_out" ) to 1024 bytes per sec (1= KB/sec). >=20 correct, as above > Which values for parameters=20 >=20 > stats-len > queue-size > queue-len > max-rate > burst-rate > counter-timeout >=20 > in this case? >=20 if you don't want bursting all you need define is the following... stats-len =3D 0 queue-len =3D 5 (allows 5 packets in the queue, you can also use 10) max-rate =3D 1024 >=20 > I tried to set some parameters but when downloading big file (~20 Mb) I g= ot NOT fluent flow and not stable speed (with jumps). this could be the dropping of packets instead of queueing, add a nice queue-len so you don't drop packets. > ( When I shape trafic with kernel QoS download flow approximally equal t= o rate that I set to qdisc and flow was fluent. ) >=20 try adding a queue-len... else the packets are dropped > What are relationships between parameters? >=20 check the configuration documentation in the doc directory :) > And more : What is CONCEPTION of shaping? >=20 conception means the realization of it, maybe when it was first conceived... when someone first realized it was needed... *shrug* > --=20 > Andriy T. Yanko > wir...@wi... >=20 > * Avoid The Gates of Hell use Linux > ** Wenn ich sterbe, legt mir eine Birne in mein Grab ... --=20 Nigel Kukard (Chief Executive Officer) Lando Technologies Africa (Pty) Ltd ni...@la... www.lando.co.za Tel: 083 399 5822 Fax: 086 1100036 Hoheisen Park Bellville, Cape Town National Internet Service Provider The best language to use is the language that was designed for what you want to use it for - 1997 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Disclaimer ---------- The contents of this message and any attachments are intended=20 solely for the addressee's use and may be legally privileged and/or=20 confidential information. This message may not be retained,=20 distributed, copied or used if you are not he addressee of this=20 message. If this message was sent to you in error, please notify=20 the sender immediately by reply e-mail and then destroy the message=20 and any copies thereof. Opinions, conclusions and other information in this message may be=20 personal to the sender and is not that of Lando Technologies Africa=20 or any of it's subsideries, associated companies or principals and=20 is therefore not endorsed by any of the Lando groups of companies.=20 Due to e-maill communication being insecure, Lando groups of=20 companies do not guarantee confidentiality, security, accuracy or =20 performance of the e-mail. Any liability for viruses is excluded=20 to the fullest extent. |
From: Andriy T. Y. <wir...@wi...> - 2003-06-18 16:13:21
|
Hallo. I can't complete understand all options for traffic flows. Assume I what shape incomming and outgoing traffic for web (tcp port 80). I dont start bwm_firewall just do it by hand: iptables -t mangle -F iptables -t mangle -A INPUT -i eth0 -p tcp --sport 80 -j MARK --set-mark 1001 iptables -t mangle -A OUTPUT -o eth0 -p tcp --dport 80 -j MARK --set-mark 1002 iptables -t filter -F iptables -t filter -A INPUT -i eth0 -m mark --mark 1001 -j QUEUE iptables -t filter -A OUTPUT -o eth0 -m mark --mark 1002 -j QUEUE Look at part of firewall.xml that use bwmd: <traffic> <flow name="mainline" stats-len="10" queue-size="262144" queue-len="300" max-rate="65536" burst-rate="131072" counter-timeout="60"> <flow name="1_client_in" max-rate="8192" flow-id="1001"> c_traffic_in; </flow> <flow name="1_client_out" max-rate="8192" flow-id="1002"> c_traffic_out; </flow> </flow> </traffic> For example I what shape incomming traffic ( name="1_client_in" ) to 10240 bytes per sec (10KB/sec) and outgoing traffic ( name="1_client_out" ) to 1024 bytes per sec (1KB/sec). Which values for parameters stats-len queue-size queue-len max-rate burst-rate counter-timeout in this case? I tried to set some parameters but when downloading big file (~20 Mb) I got NOT fluent flow and not stable speed (with jumps). ( When I shape trafic with kernel QoS download flow approximally equal to rate that I set to qdisc and flow was fluent. ) What are relationships between parameters? And more : What is CONCEPTION of shaping? -- Andriy T. Yanko wir...@wi... * Avoid The Gates of Hell use Linux ** Wenn ich sterbe, legt mir eine Birne in mein Grab ... |
From: titus g. <al...@ya...> - 2003-06-18 15:32:24
|
I am new and want to test your software on a linux redhat 9 . Why it is imposibile to install? this is config log contain: Sorry for my english Alexandru z Romania __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |
From: Nigel K. <nk...@lb...> - 2003-06-18 15:18:15
|
----- Forwarded message from "Andriy T. Yanko" <wir...@wi...> -= ---- From: "Andriy T. Yanko" <wir...@wi...> Organization: Home To: Nigel Kukard <nk...@lb...> Subject: about bwm Date: Tue, 17 Jun 2003 22:50:38 +0300 User-Agent: KMail/1.5 Hi! I download Your source code of bwm_tools-0.0.3. Nice codding.=20 But i have some question for You: What was your purpose to modify libipq? lib/libipq.c: struct ipq_handle *ipq_create_handle(u_int32_t flags, u_int32_t protocol, i= nt=20 recv_buf_size) line 235: status =3D setsockopt(h->fd,SOL_SOCKET,SO_RCVBUF,&recv_buf_size,sizeof(int= )); if (status =3D=3D -1) { ipq_errno =3D IPQ_ERR_SETSOCKET; close(h->fd); free(h); return NULL; } What this modifing realy doing? --=20 Wenn ich sterbe, legt mir eine Birne in mein Grab ... ----- End forwarded message ----- |