All of lore.kernel.org
 help / color / mirror / Atom feed
* ebtables 2.0.9-1 build problems on centos4
@ 2009-07-27 19:19 Shaun R.
  0 siblings, 0 replies; only message in thread
From: Shaun R. @ 2009-07-27 19:19 UTC (permalink / raw)
  To: netfilter-devel

I'm trying to build ebtables 2.0.9-1 on CentOS 4.  The distro has a older 
kernel provided that doesnt have x_tables.h so i have to specify the 
KERNEL_INCLUDES=linux-2.6.18.8/include/ during the make (yes i extracted the 
source there).  I'm not running a default CentOS4 kernel because i have a 
custom build Xen kernel running.  It's version is 2.6.18.8 and was pulled 
from the Xen Tree (changeset 780).  The source i extracted for the 
kernel_includes was a vanilla version of 2.6.18.8 from kernel.org.  Any 
idea's what i need to do here?

[root@host ebtables-v2.0.9-1]# make KERNEL_INCLUDES=linux-2.6.18.8/include/
gcc -Wall -Wunused -fPIC -DPROGVERSION=\"2.0.9-1\" -DPROGNAME=\"ebtables\" -DPROGDATE=\"June\ 
2009\" -D_PATH_ETHERTYPES=\"/etc/ethertypes\" -DEBTD_ARGC_MAX=50 -DEBTD_CMDLINE_MAXLN=2048 
 -c -o getethertype.o getethertype.c -Iinclude/
gcc -Wall -Wunused -fPIC -DPROGVERSION=\"2.0.9-1\" -DPROGNAME=\"ebtables\" -DPROGDATE=\"June\ 
2009\" -D_PATH_ETHERTYPES=\"/etc/ethertypes\" -DEBTD_ARGC_MAX=50 -DEBTD_CMDLINE_MAXLN=2048 
 -c -o communication.o communication.c -Ilinux-2.6.18.8/include/
gcc -Wall -Wunused -fPIC -DPROGVERSION=\"2.0.9-1\" -DPROGNAME=\"ebtables\" -DPROGDATE=\"June\ 
2009\" -D_PATH_ETHERTYPES=\"/etc/ethertypes\" -DEBTD_ARGC_MAX=50 -DEBTD_CMDLINE_MAXLN=2048 
 -c -o libebtc.o libebtc.c -Ilinux-2.6.18.8/include/
gcc -Wall -Wunused -fPIC -DPROGVERSION=\"2.0.9-1\" -DPROGNAME=\"ebtables\" -DPROGDATE=\"June\ 
2009\" -D_PATH_ETHERTYPES=\"/etc/ethertypes\" -DEBTD_ARGC_MAX=50 -DEBTD_CMDLINE_MAXLN=2048 
 -c -o useful_functions.o useful_functions.c -Ilinux-2.6.18.8/include/
gcc -Wall -Wunused -fPIC -DPROGVERSION=\"2.0.9-1\" -DPROGNAME=\"ebtables\" -DPROGDATE=\"June\ 
2009\" -D_PATH_ETHERTYPES=\"/etc/ethertypes\" -DEBTD_ARGC_MAX=50 -DEBTD_CMDLINE_MAXLN=2048 
 -c -o ebtables.o ebtables.c -Ilinux-2.6.18.8/include/
gcc -Wall -Wunused -fPIC -DPROGVERSION=\"2.0.9-1\" -DPROGNAME=\"ebtables\" -DPROGDATE=\"June\ 
2009\" -D_PATH_ETHERTYPES=\"/etc/ethertypes\" -DEBTD_ARGC_MAX=50 -DEBTD_CMDLINE_MAXLN=2048 
 -c -o extensions/ebt_802_3.o 
extensions/ebt_802_3.c -Ilinux-2.6.18.8/include/
gcc -Wall -Wunused -fPIC -DPROGVERSION=\"2.0.9-1\" -DPROGNAME=\"ebtables\" -DPROGDATE=\"June\ 
2009\" -D_PATH_ETHERTYPES=\"/etc/ethertypes\" -DEBTD_ARGC_MAX=50 -DEBTD_CMDLINE_MAXLN=2048 
 -c -o extensions/ebt_nat.o extensions/ebt_nat.c -Ilinux-2.6.18.8/include/
extensions/ebt_nat.c: In function `parse_s':
extensions/ebt_nat.c:99: error: `EBT_VERDICT_BITS' undeclared (first use in 
this function)
extensions/ebt_nat.c:99: error: (Each undeclared identifier is reported only 
once
extensions/ebt_nat.c:99: error: for each function it appears in.)
extensions/ebt_nat.c:104: error: `NAT_ARP_BIT' undeclared (first use in this 
function)
extensions/ebt_nat.c: In function `final_check_s':
extensions/ebt_nat.c:146: error: `EBT_VERDICT_BITS' undeclared (first use in 
this function)
extensions/ebt_nat.c: In function `print_s':
extensions/ebt_nat.c:183: error: `NAT_ARP_BIT' undeclared (first use in this 
function)
extensions/ebt_nat.c:185: error: `EBT_VERDICT_BITS' undeclared (first use in 
this function)
make: *** [extensions/ebt_nat.o] Error 1




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-07-27 19:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-27 19:19 ebtables 2.0.9-1 build problems on centos4 Shaun R.

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.