[U-Boot-Users] U-Boot does not compile for tb0229

Philippe De Swert emdebian at scarlet.be
Fri Dec 10 15:21:47 CET 2004


Hello all,

I always get the following error when trying to compile U-Boot for the tb0229
board. Like stated in the readme, I do the following

$ make tb0229_config
$ make CROSS_COMPILE=mips-linux-

Then I get this at the end of the build

make[1]: Leaving directory `/home/fille/bootloader/u-boot-1.1.1/common'
UNDEF_SYM=`mips-linux-objdump -x lib_generic/libgeneric.a
board/tb0229/libtb0229.a cpu/mips/libmips.a lib_mips/libmips.a
fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a
fs/reiserfs/libreiserfs.a net/libnet.a disk/libdisk.a rtc/librtc.a
dtt/libdtt.a drivers/libdrivers.a drivers/sk98lin/libsk98lin.a post/libpost.a
post/cpu/libcpu.a common/libcommon.a |sed  -n -e
's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
        mipsel-linux-ld -Bstatic -T
/home/fille/bootloader/u-boot-1.1.1/board/tb0229/u-boot.lds -Ttext 0xBFC00000
 $UNDEF_SYM cpu/mips/start.o \
                --start-group lib_generic/libgeneric.a
board/tb0229/libtb0229.a cpu/mips/libmips.a lib_mips/libmips.a
fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a
fs/reiserfs/libreiserfs.a net/libnet.a disk/libdisk.a rtc/librtc.a
dtt/libdtt.a drivers/libdrivers.a drivers/sk98lin/libsk98lin.a post/libpost.a
post/cpu/libcpu.a common/libcommon.a --no-warn-mismatch -L
/opt/brcm/hndtools-mips-linux-3.2.3/lib/gcc-lib/mips-linux/3.2.3 -lgcc
--end-group \
                -Map u-boot.map -o u-boot
cpu/mips/start.o: In function `reset':
cpu/mips/start.o(.text+0x670): undefined reference to `_GLOBAL_OFFSET_TABLE_'
make: *** [u-boot] Error 139

The symbol is in the library of my cross-compiler (actually I tried several.)

thanks,

Philippe
 
| Philippe De Swert -GNU/linux - uClinux freak-      
|      
| Stag developer http://stag.mind.be/  
| Emdebian developer: http://www.emdebian.org  
|   
| Please do not send me documents in a closed format. (*.doc,*.xls,*.ppt)    
| Use the open alternatives. (*.pdf,*.ps,*.html,*.txt)    
| Why? http://pallieter.is-a-geek.org:7832/~johan/word/english/    

-------------------------------------------------------
NOTE! My email address is changing to ... @scarlet.be
Please make the necessary changes in your address book. 







More information about the U-Boot mailing list