From: Nishit Shah <nsshah.82@gmail.com>
To: Bart De Schuymer <bdschuym@pandora.be>,
Jan Engelhardt <jengelh@medozas.de>
Cc: Patrick McHardy <kaber@trash.net>,
Richard Horton <arimus.uk@googlemail.com>,
netfilter-devel@vger.kernel.org, netfilter@vger.kernel.org
Subject: Re: arptables ruleset not working when compiling on fedora6,7,8/centos 5/redhat 5
Date: Wed, 8 Jul 2009 12:27:17 +0530 [thread overview]
Message-ID: <b2d58cb80907072357p55cc6bbbt81b107be50d5c46@mail.gmail.com> (raw)
In-Reply-To: <alpine.LSU.2.00.0907062200500.27775@fbirervta.pbzchgretzou.qr>
Should I wait for another version to test ?
Rgds,
Nishit Shah.
On Tue, Jul 7, 2009 at 1:31 AM, Jan Engelhardt<jengelh@medozas.de> 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
>
next prev parent reply other threads:[~2009-07-08 6:57 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-29 14:12 arptables ruleset not working when compiling on fedora6,7,8/centos 5/redhat 5 Nishit Shah
2009-06-29 14:21 ` Richard Horton
2009-06-29 14:51 ` Nishit Shah
2009-06-29 14:58 ` Patrick McHardy
2009-06-29 15:18 ` Nishit Shah
2009-06-29 15:44 ` Patrick McHardy
2009-06-29 16:18 ` Nishit Shah
2009-06-30 8:08 ` Nishit Shah
2009-07-01 9:56 ` Patrick McHardy
2009-07-01 11:09 ` Jan Engelhardt
2009-07-01 11:18 ` Patrick McHardy
2009-07-02 16:58 ` Bart De Schuymer
2009-07-05 12:59 ` Bart De Schuymer
2009-07-05 15:59 ` Jan Engelhardt
2009-07-06 19:54 ` Bart De Schuymer
2009-07-06 20:01 ` Jan Engelhardt
2009-07-08 6:57 ` Nishit Shah [this message]
2009-07-09 17:50 ` Bart De Schuymer
2009-06-29 18:47 ` Jan Engelhardt
-- strict thread matches above, loose matches on Subject: below --
2009-07-01 11:02 bdschuym@pandora.be
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b2d58cb80907072357p55cc6bbbt81b107be50d5c46@mail.gmail.com \
--to=nsshah.82@gmail.com \
--cc=arimus.uk@googlemail.com \
--cc=bdschuym@pandora.be \
--cc=jengelh@medozas.de \
--cc=kaber@trash.net \
--cc=netfilter-devel@vger.kernel.org \
--cc=netfilter@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).