Re: Problem compiling for ARM with gcc 3.3.3

Bart De Schuymer <[email protected]> Fri, 20 Oct 2006 18:21:49 +0200
Newsgroups gmane.linux.network.bridge.ebtables.user
Message-ID <[email protected]>
Op ma, 16-10-2006 te 18:39 -0200, schreef Octopus Tecnologia:
> Hello, I'm trying to compile ebtables to ARM platform using a gcc
> 3.3.3. I got the following error:
> 
> ld -shared -soname libebtc.so -o libebtc.so -lc getethertype.o
> communication.o libebtc.o useful_functions.o ebtables.o
> gcc -Wall -Wunused -o ebtables ebtables-standalone.o -Iinclude/ -L.
> -Lextensions -lebtc  -lebt_802_3  -lebt_nat  -lebt_arp  -lebt_arpreply
> -lebt_ip  -lebt_standard  -lebt_log  -lebt_redirect  -lebt_vlan
> -lebt_mark_m  -lebt_mark  -lebt_pkttype  -lebt_stp  -lebt_among
> -lebt_limit  -lebt_ulog  -lebtable_filter  -lebtable_nat
> -lebtable_broute \
> -Wl,-rpath,/usr/lib/ebtables
> /ct/xscale/3.3.3/arm-linux/bin/../lib/gcc-lib/arm-linux/3.3.3/../../../../arm-linux/bin/ld: ebtables: hidden symbol `__udivsi3' in /ct/xscale/3.3.3/arm-linux/bin/../lib/gcc-lib/arm-linux/3.3.3/libgcc.a(_udivsi3.oS) is referenced by DSO
> collect2: ld returned 1 exit status

Can you try the CVS version? I seem to remember running into such
problems myself...

IIRC, this fixed it:
http://ebtables.cvs.sourceforge.net/ebtables/ebtables2/userspace/ebtables2/extensions/Makefile?r1=1.10&r2=1.11

cheers,
Bart



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642