FW: Re[2]: [uClinux-dev] brctl or bridging in 2.6 kernel

David McCullough davidm at snapgear.com
Thu Oct 27 19:53:01 EDT 2005


Jivin Jordan Fuerst lays it down ...
> 
> I have tracked the error farther up the chain to this:
> 
> make[4]: Entering directory
> `/home/jfuerst/Desktop/uClinux-dist-2005/user/bridge-utils/brctl'
> ucfront-gcc  m68k-elf-gcc -m5200 -DCONFIG_COLDFIRE brctl.o brctl_cmd.o
> brctl_disp.o  -L ../libbridge -lbridge -o brctl
> /usr/local/lib/gcc-lib/m68k-elf/2.95.3/m5200/libgcc.a(__main.o): In
> function `__do_global_ctors':
> /home/davidm/work/uclinux-elf-tools/m68k-elf-gcc/gcc/../../gcc-2.95.3/gc
> c/libgcc2.c(.text+0x36): undefined reference to `__CTOR_LIST__'
> /home/davidm/work/uclinux-elf-tools/m68k-elf-gcc/gcc/../../gcc-2.95.3/gc
> c/libgcc2.c(.text+0x4c): undefined reference to `__CTOR_LIST__'
> /home/davidm/work/uclinux-elf-tools/m68k-elf-gcc/gcc/../../gcc-2.95.3/gc
> c/libgcc2.c(.text+0x54): undefined reference to `__CTOR_LIST__'
> /usr/local/lib/gcc-lib/m68k-elf/2.95.3/m5200/libgcc.a(__main.o): In
> function `__do_global_dtors':
> /home/davidm/work/uclinux-elf-tools/m68k-elf-gcc/gcc/../../gcc-2.95.3/gc
> c/libgcc2.c(.data+0x0): undefined reference to `__DTOR_LIST__'
> collect2: ld returned 1 exit status
> make[4]: *** [brctl] Error 1
> 
> 
> 
> I can't seem to figure out where the compiler gets this
> /home/davidm/work/uclinux-elf-tools/m68k-elf-gcc/gcc/ path from. I think
> if I can correct this to use the correct path than the problem will
> probably go away.


Looks like either you have changed compilers or the dist has some
auto-configured files included.


Do this:

	cd user/bridge-utils
	make -f Makefile distclean
	cd ../..
	make user/bridge-utils_clean
	make user_only

and see if that cleans it up,

Cheers,
Davidm


-- 
David McCullough, davidm at cyberguard.com.au, Custom Embedded Solutions + Security
Ph:+61 734352815 Fx:+61 738913630 http://www.uCdot.org http://www.cyberguard.com



More information about the uClinux-dev mailing list