Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Jose Teves <joseteves@linux.org.ar>
To: netfilter@lists.netfilter.org
Subject: Re: Problem compiling Iptables 1.2.11 on Kernel 2.6.7
Date: Tue, 06 Jul 2004 18:55:16 -0300	[thread overview]
Message-ID: <40EB1FC4.4090606@linux.org.ar> (raw)
In-Reply-To: <015601c46399$68674140$800101df@lvl.digidyne.ca>

Eric,

Download the last version of patch-o-matic-ng from cvs.netfilter.org

    
http://cvs.netfilter.org/patch-o-matic-ng/patch-o-matic-ng.tar.gz?tarball=1

this it compiles without problems.

good luck

pd: i'm sorry my bad english :(

--
Jose Teves
josxlnx at yahoo dot com dot ar

Eric Poulin escribió:

>Well, it turned out I need to apply the 08_linux-2.6.7-user_attr.patch from
>patch-o-matic, however, it is failing since it needs to  apply
>03_linux-2.6.5.patch, and it failed on the diff test... There is some
>rejects according to the
>output. Can't force it either... :(
>
>Interesting
>
>Eric
>----- Original Message ----- 
>From: "Eric Poulin" <epoulin@onepost.net>
>To: <netfilter@lists.netfilter.org>
>Sent: Tuesday, July 06, 2004 3:28 PM
>Subject: Problem compiling Iptables 1.2.11 on Kernel 2.6.7
>
>
>  
>
>>Hello Guys,
>>
>>Any people succesfully compiled iptables 1.2.11 on 2.6.7?  Oddly, even
>>without applying any patch-o-matics packages, I'm getting the following
>>error while doing the make:
>>
>># make BINDIR=/sbin KERNEL_DIR=/usr/src/linux
>>Making dependencies: please wait...
>>Extensions found: IPv4:ROUTE IPv4:recent IPv6:ROUTE IPv6:ah IPv6:esp
>>IPv6:frag IPv6:ipv6header IPv6:hbh IPv6:dst IPv6:rt
>>
>>    
>>
>gcc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSIO
>  
>
>>N=\"1.2.11\"  -fPIC -o extensions/libipt_ah_sh.o -c extensions/libipt_ah.c
>>In file included from include/libiptc/libiptc.h:6,
>>                 from include/iptables.h:5,
>>                 from extensions/libipt_ah.c:8:
>>/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:255: warning: no
>>semicolon at end of struct or union
>>/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:255: error: syntax
>>error before '*' token
>>/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:259: error: syntax
>>error before '}' token
>>/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:339: warning: type
>>defaults to `int' in declaration of `DECLARE_MUTEX'
>>/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:339: warning:
>>parameter names (without types) in function declaration
>>/usr/src/linux/include/linux/netfilter_ipv4/ip_tables.h:339: warning:
>>`DECLARE_MUTEX' declared `static' but never defined
>>make: *** [extensions/libipt_ah_sh.o] Error 1
>>
>>
>>I'm getting this with a vanilla source code of the kernel and iptables. I
>>was getting those with the patch-o-matic installed, but I wanted to narrow
>>it down. Kernel can compile easily those modules that are coming from
>>iptables 1.2.9.
>>
>>Any idea?
>>
>>Eric
>>
>>
>>
>>
>>    
>>
>
>
>
>
>
>  
>


-- 
Jose Teves
joseteves at linux dot org dot ar




  reply	other threads:[~2004-07-06 21:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-06 19:28 Problem compiling Iptables 1.2.11 on Kernel 2.6.7 Eric Poulin
2004-07-06 20:39 ` Eric Poulin
2004-07-06 21:55   ` Jose Teves [this message]
2004-07-07 14:53     ` Problem compiling Iptables 1.2.11 on Kernel 2.6.7 <Resolved, but other problem> Eric Poulin
2004-07-07 22:21       ` Jozsef Kadlecsik

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=40EB1FC4.4090606@linux.org.ar \
    --to=joseteves@linux.org.ar \
    --cc=netfilter@lists.netfilter.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