mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* error building sandbox with debug on
@ 2012-10-12  4:06 zzs
  2012-10-12  8:51 ` Sascha Hauer
  0 siblings, 1 reply; 3+ messages in thread
From: zzs @ 2012-10-12  4:06 UTC (permalink / raw)
  To: barebox

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

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

end of thread, other threads:[~2012-10-12  9:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-12  4:06 error building sandbox with debug on zzs
2012-10-12  8:51 ` Sascha Hauer
2012-10-12  9:15   ` Jean-Christophe PLAGNIOL-VILLARD

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