Hi Grant,

Grant Edwards wrote:
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

This latest version of the iproute2 package is broken for all
non-MMU targets. Disable the iproute2 apps and try again.


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.

Because they once worked. And in many cases can be gotten to
work again with a little effort. Patches to fix most welcome.

Regards
Greg



------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     [EMAIL PROTECTED]
Secure Computing Corporation                PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to