[U-Boot] undefined reference error

google user ramyabtswamy at gmail.com
Mon May 23 07:53:44 CEST 2011


Hi
I am adding boot support from OneNand for OMAP3430 SoC- based zeus board in
uboot. While compiling the code, "start.S" gets copied from
arch/arm/cpu/armv7/   to onenand_ipl/board/zeus/    location and then I get
the following error.

start.o: In function `call_board_init_f':
/root/u-boot/onenand_ipl/board/zeus/start.S:147: undefined reference to
`board_init_f'
start.o: In function `_board_init_r_ofs':
/root/u-boot/onenand_ipl/board/zeus/start.S:250: undefined reference to
`board_init_r'
start.o: In function `_rel_dyn_start_ofs':
/root/u-boot/onenand_ipl/board/zeus/start.S:250: undefined reference to
`__rel_dyn_start'
start.o: In function `_rel_dyn_end_ofs':
/root/u-boot/onenand_ipl/board/zeus/start.S:250: undefined reference to
`__rel_dyn_end'
start.o: In function `_dynsym_start_ofs':
/root/u-boot/onenand_ipl/board/zeus/start.S:250: undefined reference to
`__dynsym_start'
start.o: In function `undefined_instruction':
/root/u-boot/onenand_ipl/board/zeus/start.S:428: undefined reference to
`do_undefined_instruction'
start.o: In function `software_interrupt':
/root/u-boot/onenand_ipl/board/zeus/start.S:434: undefined reference to
`do_software_interrupt'
start.o: In function `prefetch_abort':
/root/u-boot/onenand_ipl/board/zeus/start.S:440: undefined reference to
`do_prefetch_abort'
start.o: In function `data_abort':
/root/u-boot/onenand_ipl/board/zeus/start.S:446: undefined reference to
`do_data_abort'
start.o: In function `not_used':
/root/u-boot/onenand_ipl/board/zeus/start.S:452: undefined reference to
`do_not_used'
start.o: In function `irq':
/root/u-boot/onenand_ipl/board/zeus/start.S:477: undefined reference to
`do_irq'
start.o: In function `fiq':
/root/u-boot/onenand_ipl/board/zeus/start.S:483: undefined reference to
`do_fiq'
make[1]: *** [/root/u-boot/onenand_ipl/onenand-ipl] Error 1
make[1]: Leaving directory `/root/u-boot/onenand_ipl/board/zeus'
make: *** [onenand_ipl] Error 2

I'm new to u-boot and not able to get rid of this. Any help would be great.
Thanks


More information about the U-Boot mailing list