UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
5,715 Views
Registered: ‎02-27-2013

U-boot make Error ........in petalinux

Section "Compile PetaLinux Reference Design Software" in petalinux-getting-started-guide file.

 

I try to make file in this section few days ago , i had changed the shell from /bin/sh to /bin/bash.

It's really solved the problem of "Bad substitution", but new error messge burst out as following error reports.

 

btw. ISE14.4 、Ubuntu10.01 are my workstation.

 

[ALL ] make[2]: Leaving directory `/home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/board/xilinx/microblaze-generic'
[ALL ] UNDEF_SYM=`microblazeel-xilinx-linux-gnu-objdump -x board/petalogix/microblaze-auto/libmicroblaze-auto.o api/libapi.o arch/microblaze/cpu/libmicroblaze.o arch/microblaze/lib/libmicroblaze.o common/libcommon.o disk/libdisk.o drivers/bios_emulator/libatibiosemu.o drivers/block/libblock.o drivers/dfu/libdfu.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.o 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/usb/ulpi/libusb_ulpi.o drivers/video/libvideo.o drivers/watchdog/libwatchdog.o fs/cramfs/libcramfs.o fs/ext4/libext4fs.o fs/fat/libfat.o fs/fdos/libfdos.o fs/jffs2/libjffs2.o fs/reiserfs/libreiserfs.o fs/romfs/libromfs.o fs/ubifs/libubifs.o fs/yaffs2/libyaffs2.o fs/zfs/libzfs.o lib/libfdt/libfdt.o lib/libgeneric.o lib/lzma/liblzma.o lib/lzo/liblzo.o lib/zlib/libz.o net/libnet.o post/libpost.o test/libtest.o | sed -n -e 's/.*(__u_boot_cmd_.*)/-u1/p'|sort|uniq`; cd /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot && microblazeel-xilinx-linux-gnu-ld.bfd -T u-boot.lds -Bstatic -Ttext 0x83c00000 $UNDEF_SYM arch/microblaze/cpu/start.o --start-group api/libapi.o arch/microblaze/cpu/libmicroblaze.o arch/microblaze/lib/libmicroblaze.o common/libcommon.o disk/libdisk.o drivers/bios_emulator/libatibiosemu.o drivers/block/libblock.o drivers/dfu/libdfu.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.o 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/usb/ulpi/libusb_ulpi.o drivers/video/libvideo.o drivers/watchdog/libwatchdog.o fs/cramfs/libcramfs.o fs/ext4/libext4fs.o fs/fat/libfat.o fs/fdos/libfdos.o fs/jffs2/libjffs2.o fs/reiserfs/libreiserfs.o fs/romfs/libromfs.o fs/ubifs/libubifs.o fs/yaffs2/libyaffs2.o fs/zfs/libzfs.o lib/libfdt/libfdt.o lib/libgeneric.o lib/lzma/liblzma.o lib/lzo/liblzo.o lib/zlib/libz.o net/libnet.o post/libpost.o test/libtest.o board/petalogix/microblaze-auto/libmicroblaze-auto.o --end-group -L /media/Extra/Xilinx/14.4/ISE_DS/EDK/gnu/microblaze/linux_toolchain/lin32_le/bin/../lib/gcc/microblazeel-xilinx-linux-gnu/4.6.2/bs/m/mh -lgcc -Map u-boot.map -o u-boot

[ALL ] arch/microblaze/lib/libmicroblaze.o: In function `board_init_f':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/arch/microblaze/lib/board.c:116: undefined reference to `serial_initialize'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/arch/microblaze/lib/board.c:147: undefined reference to `flash_init'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/arch/microblaze/lib/board.c:196: undefined reference to `eth_initialize'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/arch/microblaze/lib/board.c:199: undefined reference to `eth_getenv_enetaddr'
[ALL ] arch/microblaze/lib/libmicroblaze.o:(.data+0x0): undefined reference to `env_init'
[ALL ] arch/microblaze/lib/libmicroblaze.o:(.data+0x4): undefined reference to `serial_init'
[ALL ] common/libcommon.o: In function `do_load_serial_bin':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/cmd_load.c:470: undefined reference to `serial_setbrg'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/cmd_load.c:508: undefined reference to `serial_setbrg'
[ALL ] common/libcommon.o: In function `do_env_save':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/cmd_nvedit.c:635: undefined reference to `env_name_spec'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/cmd_nvedit.c:637: undefined reference to `saveenv'
[ALL ] common/libcommon.o: In function `env_check_apply':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/cmd_nvedit.c:246: undefined reference to `serial_assign'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/cmd_nvedit.c:305: undefined reference to `serial_setbrg'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/cmd_nvedit.c:322: undefined reference to `BootFile'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/cmd_nvedit.c:322: undefined reference to `copy_filename'
[ALL ] common/libcommon.o: In function `cmd_process':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/command.c:531: undefined reference to `do_bootd'
[ALL ] common/libcommon.o: In function `serial_printf':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/console.c:218: undefined reference to `serial_puts'
[ALL ] common/libcommon.o: In function `getc':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/console.c:310: undefined reference to `serial_getc'
[ALL ] common/libcommon.o: In function `tstc':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/console.c:329: undefined reference to `serial_tstc'
[ALL ] common/libcommon.o: In function `putc':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/console.c:385: undefined reference to `serial_putc'
[ALL ] common/libcommon.o: In function `puts':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/console.c:409: undefined reference to `serial_puts'
[ALL ] common/libcommon.o: In function `console_init_r':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/console.c:633: undefined reference to `serial_getc'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/console.c:634: undefined reference to `serial_tstc'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/console.c:635: undefined reference to `serial_putc'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/console.c:636: undefined reference to `serial_puts'
[ALL ] common/libcommon.o: In function `env_relocate':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/env_common.c:282: undefined reference to `env_relocate_spec'
[ALL ] common/libcommon.o: In function `flash_protect':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/flash.c:91: undefined reference to `flash_real_protect'
[ALL ] common/libcommon.o: In function `addr2info':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/flash.c:112: undefined reference to `flash_info'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/flash.c:113: undefined reference to `flash_info'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/flash.c:119: undefined reference to `flash_info'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/flash.c:111: undefined reference to `flash_info'
[ALL ] common/libcommon.o: In function `flash_write':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/flash.c:181: undefined reference to `write_buff'
[ALL ] common/libcommon.o: In function `genimg_get_format':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:674: undefined reference to `fdt_check_header'
[ALL ] common/libcommon.o: In function `boot_fdt_add_mem_rsv_regions':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:1249: undefined reference to `fdt_check_header'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:1252: undefined reference to `fdt_num_mem_rsv'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:1254: undefined reference to `fdt_get_mem_rsv'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:1258: undefined reference to `lmb_reserve'
[ALL ] common/libcommon.o: In function `boot_relocate_fdt':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:1292: undefined reference to `fdt_check_header'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:1309: undefined reference to `lmb_reserve'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:1313: undefined reference to `lmb_alloc_base'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:1321: undefined reference to `lmb_alloc'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:1325: undefined reference to `lmb_alloc_base'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:1347: undefined reference to `fdt_open_into'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:1358: undefined reference to `set_working_fdt_addr'
[ALL ] common/libcommon.o: In function `fit_get_desc':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:2151: undefined reference to `fdt_getprop'
[ALL ] common/libcommon.o: In function `fit_get_timestamp':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:2180: undefined reference to `fdt_getprop'
[ALL ] common/libcommon.o: In function `fit_image_get_node':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:2211: undefined reference to `fdt_path_offset'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:2218: undefined reference to `fdt_subnode_offset'
[ALL ] common/libcommon.o: In function `__fit_conf_get_prop_node':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:3065: undefined reference to `fdt_getprop'
[ALL ] common/libcommon.o: In function `fit_image_get_os':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:2247: undefined reference to `fdt_getprop'
[ALL ] common/libcommon.o: In function `fit_image_get_arch':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:2279: undefined reference to `fdt_getprop'
[ALL ] common/libcommon.o: In function `fit_image_get_type':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:2311: undefined reference to `fdt_getprop'
[ALL ] common/libcommon.o: In function `fit_image_get_comp':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:2343: undefined reference to `fdt_getprop'
[ALL ] common/libcommon.o:/home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:2373: more undefined references to `fdt_getprop' follow
[ALL ] common/libcommon.o: In function `fit_get_name':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/include/image.h:579: undefined reference to `fdt_get_name'
[ALL ] common/libcommon.o: In function `fit_image_print':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:2074: undefined reference to `fdt_next_node'
[ALL ] common/libcommon.o: In function `fit_set_timestamp':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:2518: undefined reference to `fdt_setprop'
[ALL ] common/libcommon.o: In function `fit_get_name':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/include/image.h:579: undefined reference to `fdt_get_name'
[ALL ] common/libcommon.o: In function `fit_set_timestamp':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:2521: undefined reference to `fdt_strerror'
[ALL ] common/libcommon.o: In function `fit_get_name':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/include/image.h:579: undefined reference to `fdt_get_name'
[ALL ] common/libcommon.o: In function `calculate_hash':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:2556: undefined reference to `sha1_csum_wd'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:2560: undefined reference to `md5_wd'
[ALL ] common/libcommon.o: In function `fit_image_check_hashes':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:2777: undefined reference to `fdt_next_node'
[ALL ] common/libcommon.o: In function `fit_get_name':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/include/image.h:579: undefined reference to `fdt_get_name'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/include/image.h:579: undefined reference to `fdt_get_name'
[ALL ] common/libcommon.o: In function `fit_all_image_check_hashes':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:2851: undefined reference to `fdt_path_offset'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:2853: undefined reference to `fdt_strerror'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:2862: undefined reference to `fdt_next_node'
[ALL ] common/libcommon.o: In function `fit_get_name':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/include/image.h:579: undefined reference to `fdt_get_name'
[ALL ] common/libcommon.o: In function `fit_all_image_check_hashes':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:2864: undefined reference to `fdt_next_node'
[ALL ] common/libcommon.o: In function `fit_check_format':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:2984: undefined reference to `fdt_getprop'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:2998: undefined reference to `fdt_path_offset'
[ALL ] common/libcommon.o: In function `fit_conf_get_node':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:3028: undefined reference to `fdt_path_offset'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:3038: undefined reference to `fdt_getprop'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:3048: undefined reference to `fdt_subnode_offset'
[ALL ] common/libcommon.o: In function `boot_get_ramdisk':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:945: undefined reference to `fdt_get_name'
[ALL ] common/libcommon.o: In function `fit_get_name':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/include/image.h:579: undefined reference to `fdt_get_name'
[ALL ] common/libcommon.o: In function `image_get_fdt':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:1182: undefined reference to `fdt_check_header'
[ALL ] common/libcommon.o: In function `boot_get_fdt':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:1562: undefined reference to `fdt_get_name'
[ALL ] common/libcommon.o: In function `fit_get_name':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/include/image.h:579: undefined reference to `fdt_get_name'
[ALL ] common/libcommon.o: In function `boot_get_fdt':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:1600: undefined reference to `fdt_check_header'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:1680: undefined reference to `fdt_check_header'
[ALL ] common/libcommon.o: In function `fit_conf_print':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:3155: undefined reference to `fdt_getprop'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:3163: undefined reference to `fdt_getprop'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:3167: undefined reference to `fdt_getprop'
[ALL ] common/libcommon.o: In function `fit_print_contents':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:1927: undefined reference to `fdt_path_offset'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:1929: undefined reference to `fdt_strerror'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:1936: undefined reference to `fdt_next_node'
[ALL ] common/libcommon.o: In function `fit_get_name':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/include/image.h:579: undefined reference to `fdt_get_name'
[ALL ] common/libcommon.o: In function `fit_print_contents':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:1938: undefined reference to `fdt_next_node'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:1952: undefined reference to `fdt_path_offset'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:1960: undefined reference to `fdt_getprop'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:1966: undefined reference to `fdt_next_node'
[ALL ] common/libcommon.o: In function `fit_get_name':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/include/image.h:579: undefined reference to `fdt_get_name'
[ALL ] common/libcommon.o: In function `fit_print_contents':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/image.c:1968: undefined reference to `fdt_next_node'
[ALL ] common/libcommon.o: In function `run_command':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/main.c:1378: undefined reference to `parse_string_outer'
[ALL ] common/libcommon.o: In function `run_command_list':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/main.c:1450: undefined reference to `parse_string_outer'
[ALL ] common/libcommon.o: In function `main_loop':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/main.c:330: undefined reference to `u_boot_hush_start'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/main.c:411: undefined reference to `parse_file_outer'
[ALL ] common/libcommon.o: In function `run_command':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/main.c:1378: undefined reference to `parse_string_outer'
[ALL ] common/libcommon.o: In function `drv_system_init':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/stdio.c:79: undefined reference to `serial_putc'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/stdio.c:80: undefined reference to `serial_puts'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/stdio.c:81: undefined reference to `serial_getc'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/stdio.c:82: undefined reference to `serial_tstc'
[ALL ] common/libcommon.o: In function `stdio_init':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/stdio.c:231: undefined reference to `serial_stdio_init'
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/common/stdio.c:237: undefined reference to `drv_nc_init'
[ALL ] board/petalogix/microblaze-auto/libmicroblaze-auto.o: In function `board_eth_init':
[ALL ] /home/magicnick1/VDI_relative/petalinux-v12.12-final-full/software/petalinux-dist/u-boot/board/xilinx/microblaze-generic/microblaze-generic.c:87: undefined reference to `xilinx_axiemac_initialize'
[ERROR] make[1]: *** [u-boot] Error 1

Tags (1)
0 Kudos
2 Replies
5,398 Views
Registered: ‎07-31-2013

Re: U-boot make Error ........in petalinux

I have the same problem.

Have you solved it? How?

 

 

0 Kudos
Observer hemsingj
Observer
5,323 Views
Registered: ‎07-09-2013

Re: U-boot make Error ........in petalinux

I had this problem for a zynq board.

 

 http://forums.xilinx.com/t5/Embedded-Linux/Linux-Kernel-3-3-for-Zynq-will-not-start/m-p/232967

 

I went to $PETALINUX/software/petalinux-dist/ and did a make distclean. 

 

Then, I went back into my project's petalinux_bsp_0 (the directory for the petalinux bsp in the SDK directory), ran petalinux-copy-autoconfig, then petalinux-platform-config --update, then ran make again. U-boot built correctly again.

0 Kudos