Compile problems

"James Corning" <[email protected]>
Newsgroups gmane.linux.network.bridge.ebtables.devel
Message-ID <001001c3e97f$191f83c0$8099a8c0@Number41>
I hope this isn't an inane question that's going to piss someone off...

I downloaded and applied the latest ebtables kernel patch to my 2.4.22
source.  I enabled the ebtables module in menuconfig and the kernel
recompiled fine.  I just downloaded the userspace code, and while
compiling, here's what I got:

...[snip]
gcc -Wall -Wunused -DPROGVERSION=\"2.0.6\" -DPROGNAME=\"ebtables\"
-DPROGDATE=\"November\ 2003\" -D_PATH_ETHERTYPES=\"/etc/ethertypes\" -c
-o extensions/ebt_stp.o extensions/ebt_stp.c -Iinclude/
gcc -Wall -Wunused -DPROGVERSION=\"2.0.6\" -DPROGNAME=\"ebtables\"
-DPROGDATE=\"November\ 2003\" -D_PATH_ETHERTYPES=\"/etc/ethertypes\" -c
-o extensions/ebt_among.o extensions/ebt_among.c -Iinclude/
gcc -Wall -Wunused -DPROGVERSION=\"2.0.6\" -DPROGNAME=\"ebtables\"
-DPROGDATE=\"November\ 2003\" -D_PATH_ETHERTYPES=\"/etc/ethertypes\" -c
-o extensions/ebt_limit.o extensions/ebt_limit.c -Iinclude/
extensions/ebt_limit.c:206: parse error before string constant
extensions/ebt_limit.c:207: parse error before `sizeof'
extensions/ebt_limit.c:208: parse error before `print_help'
extensions/ebt_limit.c:209: parse error before `init'
extensions/ebt_limit.c:210: parse error before `parse'
extensions/ebt_limit.c:211: parse error before `final_check'
extensions/ebt_limit.c:212: parse error before `print'
extensions/ebt_limit.c:213: parse error before `compare'
extensions/ebt_limit.c:214: parse error before `opts'
extensions/ebt_limit.c:44: warning: `opts' defined but not used
extensions/ebt_limit.c:52: warning: `print_help' defined but not used
extensions/ebt_limit.c:100: warning: `init' defined but not used
extensions/ebt_limit.c:117: warning: `parse' defined but not used
extensions/ebt_limit.c:150: warning: `final_check' defined but not used
extensions/ebt_limit.c:183: warning: `print' defined but not used
extensions/ebt_limit.c:191: warning: `compare' defined but not used
make: *** [extensions/ebt_limit.o] Error 1
[[email protected] ebtables-v2.0.6]#




Any ideas what I might have done wrong?

Thanks,
Jamie




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.