[U-Boot-Users] compile problems with u-boot

sapirf fersht sapirf at gmail.com
Tue Jun 19 23:09:13 CEST 2007


I am trying to compile u-boot and i get the following error:

common/libcommon.a(main.o): In function `readline':
u-boot-1.2.0/common/main.c:953: undefined reference to `get_ticks'
common/libcommon.a(main.o): In function `reset_cmd_timeout':
u-boot-1.2.0/common/main.c:519: undefined reference to `get_ticks'
u-boot-1.2.0/common/main.c:519: undefined reference to `get_tbclk'
common/libcommon.a(main.o): In function `abortboot':
u-boot-1.2.0/common/main.c:97: undefined reference to `get_ticks'
u-boot-1.2.0/common/main.c:97: undefined reference to `get_tbclk'
u-boot-1.2.0/common/main.c:163: undefined reference to `get_ticks'

I checked for this error in google and it was suggested to add the
following lines to include/configs/stamp.h

#define CONFIG_BOOT_RETRY_TIME 0
#define CONFIG_BOOT_RETRY_MIN 20

I added them and it still throws the same error.

It compiled before. The only changes i made are:

#define CONFIG_BOOTDELAY        5       /* autoboot after 5 seconds     */
#define CONFIG_AUTOBOOT_KEYED
#define CONFIG_AUTOBOOT_PROMPT          "\nEnter password - autoboot
in %d seconds...\n"
#define CONFIG_AUTOBOOT_DELAY_STR       "somekey"
#define CONFIG_BOOT_RETRY_TIME          900
#define CONFIG_BOOT_RETRY_MIN           30

Sapir




More information about the U-Boot mailing list