Skip to contentSkip to conversation

Problem compiling iptables 3887

DISCUSSION Alexander Samad 1 participant 2 messages Apr 28, 2005 netfilter

lore
Share & tools
lore
#0 lore raw

Hi

I currently build my own kernel and iptables patched with pom-ng - I get these via svn. Iptables version 3887 , pom-ng 3887

Whilst attempting to do this recently (last week or so) I have come across this compilation problem

cc -O2 -Wall -Wunused -I../../linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.3.1\" -g -DDEBUG -pg -DIPTC_DEBUG
-DNO_SHARED_LIBS=1 -c -o libiptc/libip6tc.o libiptc/libip6tc.c
libiptc/libip6tc.c: In function `do_check':
libiptc/libip6tc.c:281: warning: implicit declaration of function `get_chain_end'
libiptc/libip6tc.c:282: warning: implicit declaration of function `get_entry'
libiptc/libip6tc.c:282: error: invalid type argument of `->' l

I was wondering if somebody can help me fix it or tell me who to talk to advise of the problem ?

Thanks
Alex

#1 lore raw

Hi

Found it I had DEBUG flag set !

A

Quoted 24 lines · Alexander Samad

Hi

I currently build my own kernel and iptables patched with pom-ng - I get these via svn. Iptables version 3887 , pom-ng 3887

Whilst attempting to do this recently (last week or so) I have come across this compilation problem

cc -O2 -Wall -Wunused -I../../linux/include -Iinclude/

(quoted diff) +0 -2
-DIPTABLES_VERSION=\"1.3.1\" -g -DDEBUG -pg  -DIPTC_DEBUG
-DNO_SHARED_LIBS=1   -c -o libiptc/libip6tc.o libiptc/libip6tc.c

libiptc/libip6tc.c: In function `do_check':
libiptc/libip6tc.c:281: warning: implicit declaration of function `get_chain_end'
libiptc/libip6tc.c:282: warning: implicit declaration of function `get_entry'
libiptc/libip6tc.c:282: error: invalid type argument of `->' l

I was wondering if somebody can help me fix it or tell me who to talk to advise of the problem ?

Thanks
Alex