From: zzs <zzs213@126.com>
To: barebox <barebox@lists.infradead.org>
Subject: error building sandbox with debug on
Date: Fri, 12 Oct 2012 12:06:21 +0800 [thread overview]
Message-ID: <20121012040621.GA3300@greatfirst.com> (raw)
my src is f9df22b002af99532b66360e08128e
now config it:
CROSS_COMPILE= ARCH=sandbox make sandbox_defconfig
Then add the the flowwing line in front of include/common.h
#define DEBUG
and run "CROSS_COMPILE= ARCH=sandbox make", this command output
the flowwing message:
--------------------------------------
CC common/meminfo.o
common/meminfo.c: In function 'display_meminfo':
common/meminfo.c:12:49: error: '_stext' undeclared (first use in this function)
common/meminfo.c:12:49: note: each undeclared identifier is reported only once for each function it appears in
common/meminfo.c:12:57: error: '_etext' undeclared (first use in this function)
common/meminfo.c:13:49: error: '__bss_start' undeclared (first use in this function)
common/meminfo.c:13:62: error: '__bss_stop' undeclared (first use in this function)
make[1]: *** [common/meminfo.o] Error 1
make: *** [common] Error 2
--------------------------------------
is this a bug?
--
Best Regards,
zzs
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2012-10-12 4:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-12 4:06 zzs [this message]
2012-10-12 8:51 ` Sascha Hauer
2012-10-12 9:15 ` Jean-Christophe PLAGNIOL-VILLARD
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=20121012040621.GA3300@greatfirst.com \
--to=zzs213@126.com \
--cc=barebox@lists.infradead.org \
/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