Re: arptables ruleset not working when compiling on fedora6,7,8/centos 5/redhat 5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Should I wait for another version to test ?

Rgds,
Nishit Shah.

On Tue, Jul 7, 2009 at 1:31 AM, Jan Engelhardt<jengelh@xxxxxxxxxx> wrote:
> On Monday 2009-07-06 21:54, Bart De Schuymer wrote:
>
>> Jan Engelhardt schreef:
>>>> Nishit, please try the attached file. It uses more recent kernel headers that
>>>> use x_tables. I prefer that approach...
>>>>
>>>
>>> You need to use the unifdef'ed headers or funny things like
>>> compiler complaining about __user might pop up.
>>>
>> The tarball I sent compiled fine on my (old) system. Does it give such warnings
>> on your system?
>
> You bet. iptables was also cursed by this [our own lack of using
> unifdefed headers from the start] before:
>
>
> $ make
> cc -O2 -Wall -Wunused -I.//include/ -Iinclude/ -DARPTABLES_VERSION=\"0.0.3-4\"
> -c -o arptables-standalone.o arptables-standalone.c
> In file included from .//include/libarptc/libarptc.h:6,
>                 from .//include/arptables.h:5,
>                 from arptables-standalone.c:38:
> .//include/linux/netfilter_arp/arp_tables.h:19:28: error: linux/compiler.h: No
> such file or directory
> In file included from .//include/libarptc/libarptc.h:6,
>                 from .//include/arptables.h:5,
>                 from arptables-standalone.c:38:
> .//include/linux/netfilter_arp/arp_tables.h:183: error: expected `:', `,', `;',
> `}' or `__attribute__' before `*' token
> make: *** [arptables-standalone.o] Error 1
>
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux