Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
iptables-1.2.9 will not compile, help!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Akaihiryuu
l33t
l33t


Joined: 08 May 2003
Posts: 798
Location: Columbus, OH

PostPosted: Wed Jun 30, 2004 9:30 pm    Post subject: iptables-1.2.9 will not compile, help! Reply with quote

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
View user's profile Send private message
puggy
Bodhisattva
Bodhisattva


Joined: 28 Feb 2003
Posts: 1992
Location: Oxford, UK

PostPosted: Wed Jun 30, 2004 10:15 pm    Post subject: Reply with quote

Moving to Networking & Security from Installing Gentoo.

Puggy
_________________
Where there's open source , there's a way.
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4983
Location: Gothenburg, Sweden

PostPosted: Wed Jun 30, 2004 11:08 pm    Post subject: Reply with quote

Try this thread: https://forums.gentoo.org/viewtopic.php?t=187556
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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