cannot build ebtables-v2.0.8-rc3 on 64bit architecture

lwang <lizhe.wang-oq/[email protected]> Wed, 30 May 2007 16:24:54 +0000 (UTC)
Newsgroups gmane.linux.network.bridge.ebtables.user
Message-ID <[email protected]>
Hi, 
I build ebtables-v2.0.8-rc3 on AMD 3500+ 64bit processor, 
OS is suse 10. 
When I run make, 
I found following problems:

gcc -Wall -Wunused -DPROGVERSION=\"2.0.8-rc3\" -DPROGNAME=\"ebtables\"
-DPROGDATE=\"December\ 2006\" -D_PATH_ETHERTYPES=\"/etc/ethertypes\"
-DEBTD_ARGC_MAX=50 -DEBTD_CMDLINE_MAXLN=2048 -c ebtables-standalone.c -o
ebtables-standalone.o -Iinclude/
ld -shared -soname libebtc.so -o libebtc.so -lc getethertype.o communication.o
libebtc.o useful_functions.o ebtables.o
ld: ebtables.o: relocation R_X86_64_32 against `a local symbol' can not be used
when making a shared object; recompile with -fPIC
ebtables.o: could not read symbols: Bad value
make: *** [libebtc] Error 1

Can anyone help?
Thanks
lwang


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/