Netfilter was already enabled, but anyhow, I did a menuconfig, followed by a
"make dep". The error remains the same.

Are there any other things I can try?

Kind regards,

Bart.




-----Original Message-----
From: Sneppe Filip [mailto:[EMAIL PROTECTED]]
Sent: dinsdag 30 april 2002 19:21
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Compile problems with iptables-1.2.6a - Part II


Before running patch-o-matic, can you enable netfilter
in .config and do a "make dep" from your kerneldir.

Regards,
Filip

-----Original Message-----
From:   Bart Boelaert [mailto:[EMAIL PROTECTED]]
Sent:   Tue 30/04/2002 18:17
To:     [EMAIL PROTECTED]
Cc:
Subject:        RE: Compile problems with iptables-1.2.6a - Part II
The cause of the problem was a missing header file (ethernet.h) in
/usr/src/linux/include/net. I found the file in
/usr/src/linux/include/config/net and copied it, which solved the problem.
Why the file wasn't in the correct directory? Two possible explanations :
- iptables-1.2.6a searches for the file in the wrong path
- the tree of kernel-2.4.18 placed the file in the wrong directory

So, I continued patching the kernel and moved on compiling using the
following command :
make INCDIR=/usr/include KERNEL_DIR=/usr/src/linux

The compilation process stopped with the following error :

In file included from extensions/libipt_mac.c:13:
/usr/src/linux/include/linux/netfilter_ipv4/ipt_mac.h:5: `ETH_ALEN�
undeclared here (not in a function)
...
make: *** [extensions/libipt_mac_sh.o] Error 1

(Environment : kernel-2.4.18 / RH 7.2)

Any help will be highly appreciated!

Bart.




<<attachment: winmail.dat>>

Reply via email to