Andrew Benton wrote:

> Stef Bon wrote:
>> Well a solution is to make a directory /usr/src/linux/include,
>> which is a real directory, not a symlink to somewhere.
>> 
>> Now put in  here the symbolic links asm and linux which are pointing to
>> /usr/linux/include/asm and /usr/linux/include/linux (in that order).
> /usr/linux ? You've lost me


Oh I'm really making a mess of it.
Last message was not good. Sorry for any confusion.

I better write it down what I mean:

rm /usr/src/linux
mkdir -p /usr/src/linux/include

ln -sf ../../../include/asm /usr/src/linux/include/asm
ln -sf ../../../include/linux /usr/src/linux/include/linux

The directories /usr/src/linux/include/asm and /usr/src/linux/include/linux
now are pointing to the original kernelheaders in /usr/include/asm and 
/usr/include/linux.

Compilation of iptables-1.3.1 should go fine now.

Why should you uncompress the source of the linuxkernel, if all 
that you need are the includes which are mentioned above, which
are already on your system! The symbolic link solves this.

But this sollution is still a dirty one!
The configure script (and the makefiles ) of the iptables package 
cant find the header files somehow. That's where the problem comes from!

Stef

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to