Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
iptables 1.2.9 failed to compile
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
eXtIO
n00b
n00b


Joined: 26 Aug 2003
Posts: 46
Location: Germany

PostPosted: Thu Nov 06, 2003 12:07 pm    Post subject: iptables 1.2.9 failed to compile Reply with quote

While i tried to compile iptables-1.2.9, I had the following problem:

Code:
gcc -O3 -fforce-addr -fmerge-all-constants -frerun-cse-after-loop -frerun-loop-opt -ffast-                            math -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -foptimize-sibling-calls -                            fstrict-aliasing -falign-functions=64 -falign-labels=1 -falign-loops=16 -falign-jumps=16 -                            march=athlon-xp -mcpu=athlon-xp -mfpmath=sse -mpreferred-stack-boundary=4 -mno-push-args -                            maccumulate-outgoing-args -minline-all-stringops -pipe -msse -mmmx -m3dnow -Iinclude -Wall                             -Wunused -I/usr/src/linux/include  -DIPTABLES_VERSION=\"1.2.9\"  -fPIC -o extensions/libi                            pt_ROUTE_sh.o -c extensions/libipt_ROUTE.c
extensions/libipt_ROUTE.c: In function `init':
extensions/libipt_ROUTE.c:51: error: structure has no member named `flags'
extensions/libipt_ROUTE.c: In function `parse':
extensions/libipt_ROUTE.c:138: error: structure has no member named `flags'
extensions/libipt_ROUTE.c:138: error: `IPT_ROUTE_CONTINUE' undeclared (first use in this f                            unction)
extensions/libipt_ROUTE.c:138: error: (Each undeclared identifier is reported only once
extensions/libipt_ROUTE.c:138: error: for each function it appears in.)
extensions/libipt_ROUTE.c: In function `print':
extensions/libipt_ROUTE.c:186: error: structure has no member named `flags'
extensions/libipt_ROUTE.c:186: error: `IPT_ROUTE_CONTINUE' undeclared (first use in this f                            unction)
extensions/libipt_ROUTE.c: In function `save':
extensions/libipt_ROUTE.c:209: error: structure has no member named `flags'
extensions/libipt_ROUTE.c:209: error: `IPT_ROUTE_CONTINUE' undeclared (first use in this f                            unction)
make: *** [extensions/libipt_ROUTE_sh.o] Error 1

!!! ERROR: net-firewall/iptables-1.2.9 failed.
!!! Function src_compile, Line 58, Exitcode 2
!!! (no error message)


Can anyone help me?
Back to top
View user's profile Send private message
kmj0377
Guru
Guru


Joined: 26 Sep 2003
Posts: 397

PostPosted: Thu Nov 06, 2003 12:09 pm    Post subject: Reply with quote

It needs a specific patch to be installed, one which gentoo-sources doesn't currently have.
https://bugs.gentoo.org/show_bug.cgi?id=32778
Back to top
View user's profile Send private message
eXtIO
n00b
n00b


Joined: 26 Aug 2003
Posts: 46
Location: Germany

PostPosted: Thu Nov 06, 2003 12:48 pm    Post subject: Reply with quote

ok, thank you
Back to top
View user's profile Send private message
sinisterdomestik
l33t
l33t


Joined: 28 Aug 2003
Posts: 685
Location: Texas

PostPosted: Tue Nov 18, 2003 1:04 pm    Post subject: Reply with quote

how do you apply the patch??
_________________
Thou shalt NEVER speak of removing thine Linux
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