[U-Boot] multiple definition of `reloc_dst'

Sabri Altunbas sabri.altunbas at gmx.de
Tue Jul 31 20:17:06 CEST 2012


Hello,

i get this link error if i build u-boot
...............
...............
...............
&& sh4-unknown-linux-uclibc-ld  -e 0x8FF00000 --defsym reloc_dst=0x8FF00000
-T u-boot.lds --gc-sections -Bstatic -Ttext 0x8FF00000 $UNDEF_SYM
arch/sh/cpu/sh4/start.o --start-group BR/BR_libsh4.a api/libapi.o
arch/sh/cpu/sh4/libsh4.o arch/sh/lib/libsh.o common/libcommon.o
disk/libdisk.o drivers/bios_emulator/libatibiosemu.o
drivers/block/libblock.o drivers/dma/libdma.o drivers/fpga/libfpga.o
drivers/gpio/libgpio.o drivers/hwmon/libhwmon.o drivers/i2c/libi2c.o
drivers/input/libinput.o drivers/misc/libmisc.o drivers/mmc/libmmc.o
drivers/mtd/libmtd.o drivers/mtd/nand/libnand.o
drivers/mtd/onenand/libonenand.o drivers/mtd/spi/libspi_flash.o
drivers/mtd/ubi/libubi.o drivers/net/libnet.o drivers/net/phy/libphy.o
drivers/pci/libpci.o drivers/pcmcia/libpcmcia.o drivers/power/libpower.o
drivers/rtc/librtc.o drivers/serial/libserial.o drivers/spi/libspi.o
drivers/twserial/libtws.o drivers/usb/eth/libusb_eth.a
drivers/usb/gadget/libusb_gadget.o drivers/usb/host/libusb_host.o
drivers/usb/musb/libusb_musb.o drivers/usb/phy/libusb_phy.o
drivers/video/libvideo.o drivers/watchdog/libwatchdog.o
fs/cramfs/libcramfs.o fs/ext2/libext2fs.o fs/fat/libfat.o fs/fdos/libfdos.o
fs/jffs2/libjffs2.o fs/reiserfs/libreiserfs.o fs/ubifs/libubifs.o
fs/yaffs2/libyaffs2.o lib/libfdt/libfdt.o lib/libgeneric.o
lib/lzma/liblzma.o lib/lzo/liblzo.o net/libnet.o post/libpost.o
board/renesas/sh7785lcr/libsh7785lcr.o --end-group -L
/usr/sh-linux/usr/lib/gcc/sh4-unknown-linux-uclibc/4.5.3 -lgcc -Map
u-boot.map -o u-boot
arch/sh/cpu/sh4/libsh4.o: In function `reloc_dst':
(*ABS*+0x8ff00000): multiple definition of `reloc_dst'
arch/sh/lib/libsh.o: In function `reloc_dst':
(*ABS*+0x8ff00000): multiple definition of `reloc_dst'
common/libcommon.o: In function `reloc_dst':
(*ABS*+0x8ff00000): multiple definition of `reloc_dst'
disk/libdisk.o: In function `reloc_dst':
(*ABS*+0x8ff00000): multiple definition of `reloc_dst'
drivers/net/libnet.o: In function `reloc_dst':
(*ABS*+0x8ff00000): multiple definition of `reloc_dst'
drivers/pci/libpci.o: In function `reloc_dst':
(*ABS*+0x8ff00000): multiple definition of `reloc_dst'
drivers/pcmcia/libpcmcia.o: In function `reloc_dst':
(*ABS*+0x8ff00000): multiple definition of `reloc_dst'
drivers/rtc/librtc.o: In function `reloc_dst':
(*ABS*+0x8ff00000): multiple definition of `reloc_dst'
drivers/serial/libserial.o: In function `reloc_dst':
(*ABS*+0x8ff00000): multiple definition of `reloc_dst'
fs/fat/libfat.o: In function `reloc_dst':
(*ABS*+0x8ff00000): multiple definition of `reloc_dst'
lib/libgeneric.o: In function `reloc_dst':
(*ABS*+0x8ff00000): multiple definition of `reloc_dst'
net/libnet.o: In function `reloc_dst':
(*ABS*+0x8ff00000): multiple definition of `reloc_dst'
board/renesas/sh7785lcr/libsh7785lcr.o: In function `reloc_dst':
(*ABS*+0x8ff00000): multiple definition of `reloc_dst'
make: *** [u-boot] Error 1
lmde boot #

every hint appreciated




More information about the U-Boot mailing list