Re[2]: make error with iptables 1.2.11

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

 



Witam

Wednesday, June 30, 2004, 12:09:38 AM, you wrote:

AS> Okay - that narrows it down.   Anyone else here have experience with kernel
AS> 2.4.26 and iptables 1.2.11?   I can't offer any advice on this one...

I have 2.4.26 and iptables 1.2.11. I patched kernel and iptables
sources with latest pom-ng and then succesfully  builded both. I'm using
Slackware Linux with gcc 3.3.4. Here is step by step how I make this
things works ;)

1. Get kernel 2.4.26 sources, and decompress it to
/usr/src/linux-2.4.26

2. Make a symbolic link
#ln -s /usr/src/linux-2.4.26 linux

3. Get iptables sources
#wget http://www.iptables.org/files/iptables-1.2.11.tar.bz2
and decompress it to /usr/src/iptables-1.2.11

4. Make a symbolic link
#ln -s /usr/src/iptables-1.2.11 iptables

5. Get lates p-o-m-ng
#wget http://www.netfilter.org/files/patch-o-matic-ng-20040621.tar.bz2
and decompress it to /usr/src/patch-o-matic-ng-20040621

6. cd /usr/src/patch-o-matic-ng-20040621

7. Now patch your sources with any extensions you want (i suggest you
to choose only what your realy need). For example:
#KERNEL_DIR=/usr/src/linux ./runme string
#KERNEL_DIR=/usr/src/linux ./runme CONNMARK
...

8. And now the most important step ;)
#cd /usr/src/iptables
#make BINDIR=/sbin LIBDIR=/usr/lib
#make BINDIR=/sbin LIBDIR=/usr/lib install

9. If everything is fine, you can build your kernel.
10. If not ... maybe try older (or newer) version of gcc.

I hope this will help you.

(Sorry for my poooooore english :)

-- 
Pozdrawiam
 Marcin                            mailto:slacklist@xxxxx



[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