From: Thomas Weber <weber@corscience.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] ARM: OMAP: Problem when compiling with -DDEBUG and SPL_BUILD
Date: Thu, 10 Nov 2011 10:06:01 +0100 [thread overview]
Message-ID: <4EBB93F9.2060704@corscience.de> (raw)
Hello,
I configured u-boot for devkit8000_config and enabled -DDEBUG in config.mk.
I get the following error:
lib/libgeneric.o: In function `panic':
u-boot/lib/vsprintf.c:730: undefined reference to `do_reset'
make[1]: *** [u-boot/spl/u-boot-spl] error 1
I think it is a problem with the CONFIG_SPL_BUILD.
commit 05bad4aa56 scaled down version of generic libraries for SPL
The function do_reset is in arch/arm/lib/reset.c
In arch/arm/lib/Makefile:
ifndef CONFIG_SPL_BUILD
...
COBJS-y += reset.o
...
endif
but in
lib/Makefile:
ifndef CONFIG_SPL_BUILD
...
endif
COBJS-y += vsprintf.o
Thomas
reply other threads:[~2011-11-10 9:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EBB93F9.2060704@corscience.de \
--to=weber@corscience.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox