Re: [bwm-tools-tech] error while installing
Brought to you by:
nkukard
From: K Z <pro...@ya...> - 2009-04-24 12:30:55
|
It seems that the problem below could be solved as follows go to /usr/include/linux/ in netfilter.h add the following lines below #include <linux/types.h> and save it. #include <netinet/in.h> #include <linux/netfilter.h> It removed the error. and the make command ended without error. I issued make install and it ended without error. Yet I could not find bwm_tools in /usr/local directory. I have not used any prefix while installing. So it was suppose to be there. Does anyone have any idea why this is the case? thanks ________________________________ From: K Z <pro...@ya...> To: bwm...@li... Sent: Thursday, April 23, 2009 8:12:08 AM Subject: [bwm-tools-tech] error while making Hi, I have the following error while issuing the make command. Everyting else before this went well. Anyone has any idea? Making all in lib make[2]: Entering directory `/home/bwm_tools-0.3.0/lib' /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/ include -I/usr/include/libxml2 -DLOG_DIR=\"/var/bwm_tools\" -g -O2 -MT libbwm_la-xmlConf.lo -MD -MP -MF .deps/libbwm_la-xmlConf.Tpo -c -o libbwm_la-xmlConf.lo `test -f 'xmlConf.c' || echo './'`xmlConf.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/ include -I/usr/include/libxml2 -DLOG_DIR=\"/var/bwm_tools\" -g -O2 -MT libbwm_la-xmlConf.lo -MD -MP -MF .deps/libbwm_la-xmlConf.Tpo -c xmlConf.c -fPIC -DPIC -o .libs/libbwm_la-xmlConf.o In file included from .../include/flow.h:30, from ../include/autoclass.h:29, from xmlConf.c:32: /usr/include/linux/netfilter. h:45: error: field ‘in’ has incomplete type /usr/include/linux/netfilter. h:46: error: field ‘in6’ has incomplete type make[2]: *** [libbwm_la-xmlConf.lo] Error 1 make[2]: Leaving directory `/home/bwm_tools-0.3.0/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/bwm_tools-0.3.0' make: *** [all] Error 2 Thanks |