All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Shaun R." <mailinglists@unix-scripts.com>
To: netfilter-devel@vger.kernel.org
Subject: ebtables 2.0.9-1 build problems on centos4
Date: Mon, 27 Jul 2009 12:19:27 -0700	[thread overview]
Message-ID: <h4kulg$lg$1@ger.gmane.org> (raw)

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




                 reply	other threads:[~2009-07-27 19:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='h4kulg$lg$1@ger.gmane.org' \
    --to=mailinglists@unix-scripts.com \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.