* iptables won't compile in a debug turned on
@ 2006-10-04 19:26 Mohammad Farooq
2006-10-05 10:36 ` Pablo Neira Ayuso
0 siblings, 1 reply; 5+ messages in thread
From: Mohammad Farooq @ 2006-10-04 19:26 UTC (permalink / raw)
To: netfilter-devel
Are you guys aware of that is in the iptables-1.3.6/Makefile if turn on
debugging:
CFLAGS:=$(COPT_FLAGS) -Wall -Wunused -I$(KERNEL_DIR)/include -Iinclude/
-DIPTABLES_VERSION=\"$(IPTABLES_VERSION)\" -g -DDEBUG -pg -DIPTC_DEBUG
the compile will fail.
MF
libiptc/libip6tc.c: In function `do_check':
libiptc/libip6tc.c:284: warning: implicit declaration of function
`get_chain_end'
libiptc/libip6tc.c:285: warning: implicit declaration of function
`get_entry'
libiptc/libip6tc.c:285: error: invalid type argument of `->'
libiptc/libip6tc.c:289: error: invalid type argument of `->'
libiptc/libip6tc.c:308: error: invalid type argument of `->'
libiptc/libip6tc.c:312: error: invalid type argument of `->'
libiptc/libip6tc.c:318: error: invalid type argument of `->'
libiptc/libip6tc.c:343: error: invalid type argument of `->'
libiptc/libip6tc.c:349: error: invalid type argument of `->'
libiptc/libip6tc.c:354: error: invalid type argument of `->'
libiptc/libip6tc.c:360: error: invalid type argument of `->'
libiptc/libip6tc.c:373: error: invalid type argument of `->'
libiptc/libip6tc.c:384: error: invalid type argument of `->'
libiptc/libip6tc.c:397: warning: assignment makes pointer from integer
without a cast
libiptc/libip6tc.c:410: warning: passing arg 2 of `iptcb_entry2index'
makes pointer from integer without a cast
libiptc/libip6tc.c:411: warning: passing arg 2 of `iptcb_entry2index'
makes pointer from integer without a cast
libiptc/libip6tc.c:418: error: request for member `size' in something
not a structure or union
libiptc/libip6tc.c:418: error: structure has no member named
`new_number'
libiptc/libip6tc.c:422: error: request for member `name' in something
not a structure or union
libiptc/libip6tc.c:422: error: request for member `name' in something
not a structure or union
libiptc/libip6tc.c:422: error: request for member `name' in something
not a structure or union
libiptc/libip6tc.c:422: error: request for member `name' in something
not a structure or union
libiptc/libip6tc.c:422: error: request for member `name' in something
not a structure or union
libiptc/libip6tc.c:422: error: request for member `name' in something
not a structure or union
libiptc/libip6tc.c:422: error: request for member `name' in something
not a structure or union
libiptc/libip6tc.c:422: error: request for member `name' in something
not a structure or union
libiptc/libip6tc.c:422: error: request for member `name' in something
not a structure or union
libiptc/libip6tc.c:422: error: request for member `name' in something
not a structure or union
libiptc/libip6tc.c:422: error: request for member `name' in something
not a structure or union
libiptc/libip6tc.c:422: error: request for member `name' in something
not a structure or union
libiptc/libip6tc.c:422: error: request for member `name' in something
not a structure or union
libiptc/libip6tc.c:422: error: request for member `name' in something
not a structure or union
libiptc/libip6tc.c:422: error: request for member `name' in something
not a structure or union
libiptc/libip6tc.c:422: error: request for member `name' in something
not a structure or union
libiptc/libip6tc.c:422: error: request for member `name' in something
not a structure or union
libiptc/libip6tc.c:422: error: request for member `name' in something
not a structure or union
libiptc/libip6tc.c:422: error: request for member `name' in something
not a structure or union
libiptc/libip6tc.c:422: error: request for member `name' in something
not a structure or union
libiptc/libip6tc.c: At top level:
libiptc/libip6tc.c:135: warning: 'dump_entry' defined but not used
make: *** [libiptc/libip6tc.o] Error 1
rm libiptc/libip4tc.o
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: iptables won't compile in a debug turned on
2006-10-04 19:26 iptables won't compile in a debug turned on Mohammad Farooq
@ 2006-10-05 10:36 ` Pablo Neira Ayuso
2006-10-05 14:16 ` Mohammad Farooq
2006-10-09 15:24 ` Patrick McHardy
0 siblings, 2 replies; 5+ messages in thread
From: Pablo Neira Ayuso @ 2006-10-05 10:36 UTC (permalink / raw)
To: Mohammad Farooq; +Cc: netfilter-devel, Patrick McHardy
Mohammad Farooq wrote:
> Are you guys aware of that is in the iptables-1.3.6/Makefile if turn on
> debugging:
> CFLAGS:=$(COPT_FLAGS) -Wall -Wunused -I$(KERNEL_DIR)/include -Iinclude/
> -DIPTABLES_VERSION=\"$(IPTABLES_VERSION)\" -g -DDEBUG -pg -DIPTC_DEBUG
> the compile will fail.
>
> MF
>
> libiptc/libip6tc.c: In function `do_check':
> libiptc/libip6tc.c:284: warning: implicit declaration of function
> `get_chain_end'
> libiptc/libip6tc.c:285: warning: implicit declaration of function
> `get_entry'
> [...]
I didn't notice, it seems that nobody has been using it for quite some
time. I'm not sure if it is worth fixing this.
--
The dawn of the fourth age of Linux firewalling is coming; a time of
great struggle and heroic deeds -- J.Kadlecsik got inspired by J.Morris
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: iptables won't compile in a debug turned on
2006-10-05 10:36 ` Pablo Neira Ayuso
@ 2006-10-05 14:16 ` Mohammad Farooq
2006-10-05 20:51 ` Phil Oester
2006-10-09 15:24 ` Patrick McHardy
1 sibling, 1 reply; 5+ messages in thread
From: Mohammad Farooq @ 2006-10-05 14:16 UTC (permalink / raw)
To: Pablo Neira Ayuso; +Cc: netfilter-devel, Patrick McHardy
On Thu, 2006-10-05 at 12:36 +0200, Pablo Neira Ayuso wrote:
> Mohammad Farooq wrote:
> > Are you guys aware of that is in the iptables-1.3.6/Makefile if turn on
> > debugging:
> > CFLAGS:=$(COPT_FLAGS) -Wall -Wunused -I$(KERNEL_DIR)/include -Iinclude/
> > -DIPTABLES_VERSION=\"$(IPTABLES_VERSION)\" -g -DDEBUG -pg -DIPTC_DEBUG
> > the compile will fail.
> >
> > MF
> >
> > libiptc/libip6tc.c: In function `do_check':
> > libiptc/libip6tc.c:284: warning: implicit declaration of function
> > `get_chain_end'
> > libiptc/libip6tc.c:285: warning: implicit declaration of function
> > `get_entry'
> > [...]
>
> I didn't notice, it seems that nobody has been using it for quite some
> time. I'm not sure if it is worth fixing this.
>
When everything works okay, yes this fix may not be needed. I was trying
to debug this problem with the u32 module that it was giving me "Invalid
argument" error. In desperation every bit of information helps.
MF
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: iptables won't compile in a debug turned on
2006-10-05 14:16 ` Mohammad Farooq
@ 2006-10-05 20:51 ` Phil Oester
0 siblings, 0 replies; 5+ messages in thread
From: Phil Oester @ 2006-10-05 20:51 UTC (permalink / raw)
To: Mohammad Farooq; +Cc: netfilter-devel, Patrick McHardy, Pablo Neira Ayuso
On Thu, Oct 05, 2006 at 09:16:30AM -0500, Mohammad Farooq wrote:
> When everything works okay, yes this fix may not be needed. I was trying
> to debug this problem with the u32 module that it was giving me "Invalid
> argument" error. In desperation every bit of information helps.
Only enable the "-g -DDEBUG -pg" debug options - not the last one.
Phil
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: iptables won't compile in a debug turned on
2006-10-05 10:36 ` Pablo Neira Ayuso
2006-10-05 14:16 ` Mohammad Farooq
@ 2006-10-09 15:24 ` Patrick McHardy
1 sibling, 0 replies; 5+ messages in thread
From: Patrick McHardy @ 2006-10-09 15:24 UTC (permalink / raw)
To: Pablo Neira Ayuso; +Cc: netfilter-devel, Mohammad Farooq
Pablo Neira Ayuso wrote:
> Mohammad Farooq wrote:
>
>>Are you guys aware of that is in the iptables-1.3.6/Makefile if turn on
>>debugging:
>>CFLAGS:=$(COPT_FLAGS) -Wall -Wunused -I$(KERNEL_DIR)/include -Iinclude/
>>-DIPTABLES_VERSION=\"$(IPTABLES_VERSION)\" -g -DDEBUG -pg -DIPTC_DEBUG
>>the compile will fail.
>>
>>MF
>>
>>libiptc/libip6tc.c: In function `do_check':
>>libiptc/libip6tc.c:284: warning: implicit declaration of function
>>`get_chain_end'
>>libiptc/libip6tc.c:285: warning: implicit declaration of function
>>`get_entry'
>>[...]
>
>
> I didn't notice, it seems that nobody has been using it for quite some
> time. I'm not sure if it is worth fixing this.
I would certainly accept a patch to fix this, but I don't think its
very important.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-10-09 15:24 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-04 19:26 iptables won't compile in a debug turned on Mohammad Farooq
2006-10-05 10:36 ` Pablo Neira Ayuso
2006-10-05 14:16 ` Mohammad Farooq
2006-10-05 20:51 ` Phil Oester
2006-10-09 15:24 ` Patrick McHardy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.