Skip to contentSkip to conversation

compile errors

DISCUSSION cc 1 participant 1 message Oct 26, 2004

lore
Share & tools
lore

cc

author
#0 lore raw

Hi,

System:  2.4.27 Kernel.
Iptables:  1.2.11  (trying to compile)

I don't recall having so much trouble with 1.2.8 (the last version I compiled following the README instructions), basically:

make KERNEL_DIR=/usr/src/linux

But I get all sorts of warnings. Mind you, the 2.4.27
kernel was patched from a 2.4.21 one, so I d/led the 2.4.27 full kernel and uncompressed it to /usr/src/linux.

Then I ran 'make KERNEL_DIR=/usr/src/linux'.

Now, it gives:

Making dependencies: please wait...
Something wrong... deleting dependencies.
make: *** [/usr/src/linux/include/asm/errno.h] Error 1

I don't know if this is considered an improvement or not.

This is a stock kernel. Unpatched from the POMs. Even with patched, I still get the above error.

Can someone please tell me what I'm doing wrong?

Does 1.2.11 work with 2.4.27 anyway?

Thanks

Edmund