xtables compile problem

General support questions
Post Reply
cgokan
Posts: 34
Joined: 2016/12/07 13:11:56

xtables compile problem

Post by cgokan » 2017/08/22 20:26:24

Hello

I get an error like below. What can be the problem ?

include/linux/autoconf.h:1575: error: expected identifier or ‘(’ before ‘/’ token
include/linux/autoconf.h:1575: error: stray ‘#’ in program
In file included from include/linux/quota.h:178,
from include/linux/fs.h:519,
from include/linux/proc_fs.h:5,
from include/linux/netfilter.h:332,
from include/linux/netfilter_ipv4.h:8,
from /root/xtables-addons-1.41/extensions/compat_xtables.c:17:
include/linux/dqblk_xfs.h:51: error: expected specifier-qualifier-list before ‘__s8’
include/linux/dqblk_xfs.h:153: error: expected specifier-qualifier-list before ‘__s8’
make[4]: *** [/root/xtables-addons-1.41/extensions/compat_xtables.o] Error 1
make[3]: *** [_module_/root/xtables-addons-1.41/extensions] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: xtables compile problem

Post by TrevorH » 2017/08/23 09:33:24

You're going to break your system if you continue down this route. You'll find that the iptables package already supplies lots of files in /ib64/xtables/
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply