ebtables 2.0.9-1 build problems on centos4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux