[U-Boot-Users] erro occure when compiling mips dbau1000

陈国林 glchen at ict.ac.cn
Wed Aug 18 16:52:52 CEST 2004


hello, every one.
	i want to port u-boot to a mips R4X00 based board, so firstly i try to  compile the dbau1000 as an example, but when linking, error occure as the following: 

make[1]: Leaving directory `/root/u-boot/common'
UNDEF_SYM=`mipsel-linux-objdump -x lib_generic/libgeneric.a board/dbau1x00/libdbau1x00.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 /root/u-boot/board/dbau1x00/u-boot.lds -Ttext 0xbfc00000  $UNDEF_SYM cpu/mips/start.o \
                --start-group lib_generic/libgeneric.a board/dbau1x00/libdbau1x00.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 /usr/tools/lib/gcc-lib/mipsel-linux/2.96 -lgcc --end-group \
                -Map u-boot.map -o u-boot
cpu/mips/start.o:/root/u-boot/cpu/mips/start.S:275: undefined reference to `_GLOBAL_OFFSET_TABLE_'
make: *** [u-boot] Error 1

could anybody give some hints or advices?

best regards

glame


       


More information about the U-Boot mailing list