bwm-tools compile error resolve.
when compile bwm-tools-0.3.0.tar.gz in rhel6 (64bit)
error message shows
from ../include/autoclass.h:29,
from xmlConf.c:32:
/usr/include/linux/netfilter.h:55: error: field 'in' has incomplete type
/usr/include/linux/netfilter.h:56: error: field 'in6' has incomplete type
resolve:
vi /usr/include/linux/netfilter.h
(add some c header)
#include <linux/types.h>
#include <netinet/in.h>
#include <stdarg.h>
#include <getopt.h>
#include <netdb.h>
#include <sys/stat.h>
#include <errno.h>
最後更新:2017-04-02 17:51:21