public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] compile problems with u-boot
@ 2007-06-19 21:09 sapirf fersht
  2007-06-19 21:38 ` Jerry Van Baren
  0 siblings, 1 reply; 2+ messages in thread
From: sapirf fersht @ 2007-06-19 21:09 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-06-19 21:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-19 21:09 [U-Boot-Users] compile problems with u-boot sapirf fersht
2007-06-19 21:38 ` Jerry Van Baren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox