* Compilation error: nf_debug in nfnetlink.c
@ 2003-12-05 16:58 Emmanuel Guiton
2003-12-05 17:02 ` Henrik Nordstrom
0 siblings, 1 reply; 6+ messages in thread
From: Emmanuel Guiton @ 2003-12-05 16:58 UTC (permalink / raw)
To: netfilter-devel
Hi!
While compiling nfnetlink.c I got the following error:
nfnetlink.c: In function `nfnetlink_rcv_msg':
nfnetlink.c:231: parse error before `)'
nfnetlink.c:238: parse error before `)'
nfnetlink.c:244: parse error before `)'
make[2]: *** [nfnetlink.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.23/net/ipv4/netfilter'
make[1]: *** [_modsubdir_ipv4/netfilter] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.23/net'
make: *** [_mod_net] Error 2
The error occurs in only three occurences of nf_debug(level, format,
arg...) which do not have any arguments.
Example:
231 nf_debug(0, "received non-request message\n");
This line does not work while the following works:
256 nf_debug(0, "permission denied for type %d\n", type);
Did someone already se this problem? Any idea about wat causes it?
Emmanuel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Compilation error: nf_debug in nfnetlink.c
2003-12-05 16:58 Compilation error: nf_debug in nfnetlink.c Emmanuel Guiton
@ 2003-12-05 17:02 ` Henrik Nordstrom
2003-12-05 17:21 ` Emmanuel Guiton
0 siblings, 1 reply; 6+ messages in thread
From: Henrik Nordstrom @ 2003-12-05 17:02 UTC (permalink / raw)
To: Emmanuel Guiton; +Cc: netfilter-devel
On Fri, 5 Dec 2003, Emmanuel Guiton wrote:
> The error occurs in only three occurences of nf_debug(level, format,
> arg...) which do not have any arguments.
What version of GCC are you using?
Regards
Henrik
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Compilation error: nf_debug in nfnetlink.c
2003-12-05 17:02 ` Henrik Nordstrom
@ 2003-12-05 17:21 ` Emmanuel Guiton
0 siblings, 0 replies; 6+ messages in thread
From: Emmanuel Guiton @ 2003-12-05 17:21 UTC (permalink / raw)
Cc: netfilter-devel
Hi!
>> The error occurs in only three occurences of nf_debug(level, format,
>> arg...) which do not have any arguments.
>>
>
>
> What version of GCC are you using?
>
>
>
It should be the 3.80 if I remember correctly.
Emmanuel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Compilation error: nf_debug in nfnetlink.c
[not found] <Pine.LNX.4.44.0312051843090.4858-100000@filer.marasystems.com>
@ 2003-12-05 17:54 ` Emmanuel Guiton
2003-12-05 18:26 ` Patrick McHardy
2003-12-05 22:11 ` Henrik Nordstrom
0 siblings, 2 replies; 6+ messages in thread
From: Emmanuel Guiton @ 2003-12-05 17:54 UTC (permalink / raw)
To: Henrik Nordstrom, netfilter-devel
>
>
>There is no 3.80 version of GCC. The very latest (2003-10-17) GCC is 3.3.2
>with 3.4 in development.
>
>
Sorry, I was thinking about GNU make...
gcc version 2.95.4
Ok, it seems old, I change it, thanks.
Emmanuel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Compilation error: nf_debug in nfnetlink.c
2003-12-05 17:54 ` Emmanuel Guiton
@ 2003-12-05 18:26 ` Patrick McHardy
2003-12-05 22:11 ` Henrik Nordstrom
1 sibling, 0 replies; 6+ messages in thread
From: Patrick McHardy @ 2003-12-05 18:26 UTC (permalink / raw)
To: emmanuel; +Cc: Henrik Nordstrom, netfilter-devel
Emmanuel Guiton wrote:
> Sorry, I was thinking about GNU make...
> gcc version 2.95.4
>
> Ok, it seems old, I change it, thanks.
It's a good version, but apparently there is a bug which requires a
space in the define. See the other nfnetlink message to netfilter-devel
yesterday.
Best regards,
Patrick
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Compilation error: nf_debug in nfnetlink.c
2003-12-05 17:54 ` Emmanuel Guiton
2003-12-05 18:26 ` Patrick McHardy
@ 2003-12-05 22:11 ` Henrik Nordstrom
1 sibling, 0 replies; 6+ messages in thread
From: Henrik Nordstrom @ 2003-12-05 22:11 UTC (permalink / raw)
To: Emmanuel Guiton; +Cc: netfilter-devel
On Fri, 5 Dec 2003, Emmanuel Guiton wrote:
> Sorry, I was thinking about GNU make...
> gcc version 2.95.4
There was a message just a day ago about how to compile ct_netlink with
GCC 2.95.4..
Regards
Henrik
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-12-05 22:11 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-05 16:58 Compilation error: nf_debug in nfnetlink.c Emmanuel Guiton
2003-12-05 17:02 ` Henrik Nordstrom
2003-12-05 17:21 ` Emmanuel Guiton
[not found] <Pine.LNX.4.44.0312051843090.4858-100000@filer.marasystems.com>
2003-12-05 17:54 ` Emmanuel Guiton
2003-12-05 18:26 ` Patrick McHardy
2003-12-05 22:11 ` Henrik Nordstrom
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.