View previous topic :: View next topic |
Author |
Message |
Akaihiryuu l33t
Joined: 08 May 2003 Posts: 798 Location: Columbus, OH
|
Posted: Wed Jun 30, 2004 9:30 pm Post subject: iptables-1.2.9 will not compile, help! |
|
|
I'm using kernel 2.6.7. I even made sure to upgrade my linux-headers to 2.6.7 as well, I had to manually emerge the ebuild for that. Prior to that, the iproute2 package was complaining about the headers, but after I upgraded the headers, that was fixed, so I don't think the problem is with my kernel headers. iptables will just not compile. Here's the text of the error: In file included from include/libiptc/libiptc.h:6,
from include/iptables.h:5,
from extensions/libipt_stealth.c:10:
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:255: warning: no semicolon at end of struct or union
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:255: error: syntax error before '*' token
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:259: error: syntax error before '}' token
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:339: warning: type defaults to `int' in declaration of `DECLARE_MUTEX'
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:339: warning: parameter
names (without types) in function declaration
/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:339: warning: `DECLARE_MUTEX' declared `static' but never defined
make: *** [extensions/libipt_stealth_sh.o] Error 1
!!! ERROR: net-firewall/iptables-1.2.9 failed.
!!! Function src_compile, Line 56, Exitcode 2
!!! (no error message) I've talked to two friends who had the same problems. I just can't get this to work. Anyone have any ideas? |
|
Back to top |
|
|
puggy Bodhisattva
Joined: 28 Feb 2003 Posts: 1992 Location: Oxford, UK
|
Posted: Wed Jun 30, 2004 10:15 pm Post subject: |
|
|
Moving to Networking & Security from Installing Gentoo.
Puggy _________________ Where there's open source , there's a way. |
|
Back to top |
|
|
kallamej Administrator
Joined: 27 Jun 2003 Posts: 4983 Location: Gothenburg, Sweden
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|