On 2008-09-17, Grant Edwards <[EMAIL PROTECTED]> wrote:

> I was unable to figure out where that path was coming from so
> as temporary work-around, I set up a symbolic link from
> /usr/local/lib/gcc/m68k-uclinux to the proper directory.
>
> After that I did get a successful build for the SnapGear Lite.
> It turns out that the SnapGear units I've got sitting around
> are Pros and not Lites, so I'll try building for the Pro...

And... that fails:

   ucfront-gcc m68k-uclinux-gcc -m5307 -DCONFIG_COLDFIRE -Os -g 
-fomit-frame-pointer -pipe -fno-common -fno-builtin -Wall  -DCONFIG_SECUREEDGE 
-DEMBED -msep-data -Dlinux -D__linux__ -Dunix -D__uClinux__ -D_GNU_SOURCE -O2 
-Wstrict-prototypes -Wall -I../include 
-I/home/grante/uclinux/uClinux-dist/include -DRESOLVE_HOSTNAMES -DNO_DL   -c -o 
iplink_vlan.o iplink_vlan.c
   ucfront-gcc m68k-uclinux-gcc -m5307 -DCONFIG_COLDFIRE -Os -g 
-fomit-frame-pointer -pipe -fno-common -fno-builtin -Wall  -DCONFIG_SECUREEDGE 
-DEMBED -msep-data -Dlinux -D__linux__ -Dunix -D__uClinux__ -D_GNU_SOURCE -O2 
-Wstrict-prototypes -Wall -I../include 
-I/home/grante/uclinux/uClinux-dist/include -DRESOLVE_HOSTNAMES -DNO_DL   -c -o 
link_veth.o link_veth.c
   ucfront-gcc m68k-uclinux-gcc -m5307 -DCONFIG_COLDFIRE -Wl,-elf2flt 
-Wl,-move-rodata -msep-data -Wl,-elf2flt -Wl,-move-rodata -msep-data -o ip ip.o 
ipaddress.o iproute.o iprule.o rtm_map.o iptunnel.o tunnel.o ipneigh.o 
ipntable.o iplink.o ipmaddr.o ipmonitor.o ipmroute.o ipprefix.o ipxfrm.o 
xfrm_state.o xfrm_policy.o xfrm_monitor.o iplink_vlan.o link_veth.o 
../lib/libnetlink.a ../lib/libip2util.a -L../lib -lnetlink -lip2util -lresolv  
-ldl
   
/opt/uclinux/bin/../lib/gcc/m68k-uclinux/4.1.1/../../../../m68k-uclinux/bin/ld.real:
 cannot find -ldl
   collect2: ld returned 1 exit status
   make[4]: *** [ip] Error 1
   make[4]: Leaving directory 
`/home/grante/uclinux/uClinux-dist/user/iproute2/ip'
   make[3]: *** [all] Error 2
   make[3]: Leaving directory `/home/grante/uclinux/uClinux-dist/user/iproute2'
   make[2]: *** [iproute2] Error 2
   make[2]: Leaving directory `/home/grante/uclinux/uClinux-dist/user'
   make[1]: *** [all] Error 2
   make[1]: Leaving directory `/home/grante/uclinux/uClinux-dist/user'
   make: *** [subdirs] Error 1

I guess the lesson is that the odds are pretty close to zero
for anything not on your list of tested targets.

One might wonder why the other targets are even listed as
choices.

-- 
Grant


_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to