Skip to contentSkip to conversation

Compiling new iptables after kernel patch (compilation errors)

DISCUSSION Luke Deryckx 2 participants 2 messages Mar 31, 2004 – Apr 1, 2004

lore
Share & tools
lore
#0 lore raw

I¹ve patched my kernel (2.4.22) using the ip_conntrack_pptp patch in the latest patch-o-matic which I downloaded from the netfilter.org website. Everything went very smoothly patching, building installing and booting my kernel. However when I try to compile (or re-compile) any version of iptables so that it will work with my new kernel the make fails almost immediately yielding the a few different errors.

If I attempt to compile a fresh version of iptables 1.2.6a which is what I had been runing on before I get:

Quoted 1 line
Quoted 1 line

make: *** No rule to make target `extensions/libipt_dscp.o', needed by

`extensions/libext.a'. Stop.
If I try any other version it seems (I¹ve tried 1.2.7a and 1.2.9) I get:

Quoted 1 line
Quoted 1 line

make: *** No rule to make target `extensions/libipt_dscp.o', needed by

`extensions/libext.a'. Stop.
Or

Quoted 1 line
Quoted 1 line

make: *** No rule to make target `extensions/libip6t_mark.c', needed by

`extensions/libip6t_mark.d'. Stop.

Depending on if I¹ve fooled around with the Make file at all (which I did to try to overcome these errors)

I¹m using a debian based linux called Pebble (www.nycwireless.org/pebble) with the 2.4.22 kernel (which I have recompiled and reinstalled).

I¹ve tried compiling with and without the NO_SHARED_LIBS value set in Makefile (changing this seems to change the error, but there is still and error) and I¹ve also made extra sure that I have the correct KERNEL_DIR set (/usr/src/linux-2.4.22 in my case).

Any advice would be most appreciated.

Thanks

Luke Deryckx

#1 lore raw

tor, 01.04.2004 kl. 00.57 skrev Luke Deryckx:

[...]

Quoted 10 lines

I¢m using a debian based linux called Pebble (www.nycwireless.org/pebble) with the 2.4.22 kernel (which I have recompiled and reinstalled).

I¢ve tried compiling with and without the NO_SHARED_LIBS value set in Makefile (changing this seems to change the error, but there is still and error) and I¢ve also made extra sure that I have the correct KERNEL_DIR set (/usr/src/linux-2.4.22 in my case).

Any advice would be most appreciated.

Obsolete libtool version? 1.4.3 works for me with Netfilter 1.2.9 on RedHat RHEL3, libtool 1.5.x is out.

--Tonni

Signature · 2 lines
mail: billy - at - billy.demon.nl
http://www.billy.demon.nl