This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3352: Compilation error on watchdog

Part Number: AM3352


Tool/software:

Hi ALL, 

I am facing below error,

I followed below steps ,

1. i have created u-boot as custom directory in yocto framework 

2. i have included copied related files into u-boot/board/ directory board.c and mux.c accordingly '

3. changed Kconfig files

facing below error any idea? how to resolve below errors

b/musb-new/built-in.o drivers/usb/musb/built-in.o drivers/usb/phy/built-in.o drivers/usb/ulpi/built-in.o env/built-in.o fs/built-in.o lib/built-in.o net/built-in.o --no-whole-archive arch/arm/lib/eabi_compat.o arch/arm/lib/lib.a -Map u-boot.map; true
| make -f /home/sem3user/sisira_cloned/SEM3T_COM/src-bsp/u-boot/scripts/Makefile.build obj=spl/lib/crypto
| make -f /home/sem3user/sisira_cloned/SEM3T_COM/src-bsp/u-boot/scripts/Makefile.build obj=spl/drivers/net
| make -f /home/sem3user/sisira_cloned/SEM3T_COM/src-bsp/u-boot/scripts/Makefile.build obj=spl/drivers/mtd/nand
| make -f /home/sem3user/sisira_cloned/SEM3T_COM/src-bsp/u-boot/scripts/Makefile.build obj=spl/drivers/net/mscc_eswitch
| make -f /home/sem3user/sisira_cloned/SEM3T_COM/src-bsp/u-boot/scripts/Makefile.build obj=spl/drivers/net/phy
| make -f /home/sem3user/sisira_cloned/SEM3T_COM/src-bsp/u-boot/scripts/Makefile.build obj=spl/lib/libfdt
| make -f /home/sem3user/sisira_cloned/SEM3T_COM/src-bsp/u-boot/scripts/Makefile.build obj=spl/drivers/soc
| make -f /home/sem3user/sisira_cloned/SEM3T_COM/src-bsp/u-boot/scripts/Makefile.build obj=spl/drivers/net/qe
| make -f /home/sem3user/sisira_cloned/SEM3T_COM/src-bsp/u-boot/scripts/Makefile.build obj=spl/drivers/net/ti
| make -f /home/sem3user/sisira_cloned/SEM3T_COM/src-bsp/u-boot/scripts/Makefile.build obj=spl/drivers/mtd/nand/raw
| make -f /home/sem3user/sisira_cloned/SEM3T_COM/src-bsp/u-boot/scripts/Makefile.build obj=spl/drivers/usb/common
| make -f /home/sem3user/sisira_cloned/SEM3T_COM/src-bsp/u-boot/scripts/Makefile.build obj=spl/drivers/usb/gadget
| make -f /home/sem3user/sisira_cloned/SEM3T_COM/src-bsp/u-boot/scripts/Makefile.build obj=spl/drivers/usb/gadget/udc
| make -f /home/sem3user/sisira_cloned/SEM3T_COM/src-bsp/u-boot/scripts/Makefile.build obj=spl/drivers/usb/musb-new
| rm -f spl/arch/arm/mach-omap2/built-in.o; arm-oe-linux-gnueabi-ar cDPrsT spl/arch/arm/mach-omap2/built-in.o spl/arch/arm/mach-omap2/am33xx/built-in.o spl/arch/arm/mach-omap2/reset.o spl/arch/arm/mach-omap2/timer.o spl/arch/arm/mach-omap2/utils.o spl/arch/arm/mach-omap2/sysinfo-common.o spl/arch/arm/mach-omap2/omap-cache.o spl/arch/arm/mach-omap2/boot-common.o spl/arch/arm/mach-omap2/lowlevel_init.o spl/arch/arm/mach-omap2/mem-common.o spl/arch/arm/mach-omap2/fdt-common.o
| rm -f spl/env/built-in.o; arm-oe-linux-gnueabi-ar cDPrsT spl/env/built-in.o spl/env/common.o spl/env/env.o spl/env/attr.o spl/env/flags.o spl/env/nowhere.o
| ( cd spl && arm-oe-linux-gnueabi-ld.bfd -z noexecstack -T u-boot-spl.lds --gc-sections -Bstatic --gc-sections --no-dynamic-linker --build-id=none -Ttext 0x402F0400 arch/arm/cpu/armv7/start.o --whole-archive arch/arm/mach-omap2/built-in.o arch/arm/cpu/armv7/built-in.o arch/arm/cpu/built-in.o arch/arm/lib/built-in.o board/siemens/sem3t/built-in.o common/spl/built-in.o common/init/built-in.o boot/built-in.o common/built-in.o cmd/built-in.o env/built-in.o lib/built-in.o disk/built-in.o drivers/built-in.o drivers/usb/dwc3/built-in.o drivers/usb/cdns3/built-in.o dts/built-in.o fs/built-in.o net/built-in.o --no-whole-archive arch/arm/lib/eabi_compat.o arch/arm/lib/lib.a -Map u-boot-spl.map -o u-boot-spl )
| arm-oe-linux-gnueabi-ld.bfd: arch/arm/mach-omap2/boot-common.o: in function `spl_board_init':
| /home/sem3user/sisira_cloned/SEM3T_COM/src-bsp/u-boot/arch/arm/mach-omap2/boot-common.c:308: undefined reference to `hw_watchdog_init'
| arm-oe-linux-gnueabi-ld.bfd: drivers/net/phy/phy.o: in function `genphy_update_link':
| /home/sem3user/sisira_cloned/SEM3T_COM/src-bsp/u-boot/drivers/net/phy/phy.c:258: undefined reference to `ctrlc'
| arm-oe-linux-gnueabi-ld.bfd: drivers/net/ti/cpsw_mdio.o: in function `wait_for_bit_le32':
| /home/sem3user/sisira_cloned/SEM3T_COM/src-bsp/u-boot/include/wait_bit.h:81: undefined reference to `ctrlc'
| arm-oe-linux-gnueabi-ld.bfd: drivers/usb/musb-new/musb_uboot.o: in function `submit_urb':
| /home/sem3user/sisira_cloned/SEM3T_COM/src-bsp/u-boot/drivers/usb/musb-new/musb_uboot.c:81: undefined reference to `ctrlc'
| arm-oe-linux-gnueabi-ld.bfd: drivers/usb/gadget/ether.o: in function `_usb_eth_init':
| /home/sem3user/sisira_cloned/SEM3T_COM/src-bsp/u-boot/drivers/usb/gadget/ether.c:2339: undefined reference to `ctrlc'
| arm-oe-linux-gnueabi-ld.bfd: net/net.o: in function `net_loop':
| /home/sem3user/sisira_cloned/SEM3T_COM/src-bsp/u-boot/net/net.c:629: undefined reference to `ctrlc'
| make[2]: *** [/home/sem3user/sisira_cloned/SEM3T_COM/src-bsp/u-boot/scripts/Makefile.spl:527: spl/u-boot-spl] Error 1
| make[1]: *** [/home/sem3user/sisira_cloned/SEM3T_COM/src-bsp/u-boot/Makefile:2043: spl/u-boot-spl] Error 2