* sandbox compilation problem
@ 2011-06-15 10:28 Murthy, Ramana
2011-06-20 6:33 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Murthy, Ramana @ 2011-06-15 10:28 UTC (permalink / raw)
To: barebox
[-- Attachment #1.1: Type: text/plain, Size: 2742 bytes --]
Hi,
I am trying to build sandbox for ARCH=sandbox, facing below errors. I am not sure if the build environment is the problem?
Do I need to have linux source code include paths to build this successfully?
commands/loads.c:31:21: exports.h: No such file or directory
commands/loads.c:34: warning: type defaults to `int' in declaration of `DECLARE_GLOBAL_DATA_PTR'
commands/loads.c:34: warning: data definition has no type or storage class
commands/loads.c:40:7: warning: "CONFIG_COMMANDS" is not defined
commands/loads.c:40:25: warning: "CFG_CMD_SAVES" is not defined
commands/loads.c: In function `do_load_serial':
commands/loads.c:58: warning: implicit declaration of function `barebox_getenv'
commands/loads.c:58: warning: assignment makes pointer from integer without a cast
commands/loads.c:114: error: `load_addr' undeclared (first use in this function)
commands/loads.c:114: error: (Each undeclared identifier is reported only once
commands/loads.c:114: error: for each function it appears in.)
commands/loads.c: In function `load_serial':
commands/loads.c:179: warning: implicit declaration of function `barebox_setenv'
commands/loads.c:188: warning: implicit declaration of function `barebox_putc'
commands/loads.c: In function `read_record':
commands/loads.c:221: error: `gd' undeclared (first use in this function)
commands/loads.c:221: error: `XF_getc' undeclared (first use in this function)
commands/loads.c:233:6: warning: "CONFIG_COMMANDS" is not defined
commands/loads.c:233:24: warning: "CFG_CMD_SAVES" is not defined
commands/loads.c: At top level:
commands/loads.c:392: error: syntax error before numeric constant
commands/loads.c:396: warning: type defaults to `int' in declaration of `BAREBOX_CMD'
commands/loads.c:396: warning: function declaration isn't a prototype
commands/loads.c:396: warning: data definition has no type or storage class
commands/loads.c:404:6: warning: "CONFIG_COMMANDS" is not defined
commands/loads.c:404:24: warning: "CFG_CMD_SAVES" is not defined
make[1]: *** [commands/loads.o] Error 1
Best Regards,
N.S.S.R.Murthy,
Ph # +91-40-67303600, Extn - 3731,
Mobile # +91-9959677780.
________________________________
The information contained in or attached to this email may be subject to the Export Administration Regulations (EAR), administered by the U.S. Department of Commerce, or the International Traffic in Arms Regulations (ITAR), administered by the U.S. Department of State, and may require an export license from the Commerce or State Department prior to its export. An export can include a release or disclosure to a foreign national inside or outside the United States. Include this notice with any reproduced portion of this information.
[-- Attachment #1.2: Type: text/html, Size: 12031 bytes --]
[-- Attachment #2: Type: text/plain, Size: 149 bytes --]
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: sandbox compilation problem
2011-06-15 10:28 sandbox compilation problem Murthy, Ramana
@ 2011-06-20 6:33 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2011-06-20 6:33 UTC (permalink / raw)
To: Murthy, Ramana; +Cc: barebox
Hi Murthy,
On Wed, Jun 15, 2011 at 03:58:51PM +0530, Murthy, Ramana wrote:
> Hi,
>
> I am trying to build sandbox for ARCH=sandbox, facing below errors. I
> am not sure if the build environment is the problem? Do I need to
> have linux source code include paths to build this successfully?
Please do a 'make sandbox_defconfig' and try again. The loads command
does not make much sense on sandbox and shouldn't be compiled (Of course
it shouldn't break the build also, I hope I'll have a look there soon, I
just realized the sandbox is broken on the -next branch aswell.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-20 6:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-15 10:28 sandbox compilation problem Murthy, Ramana
2011-06-20 6:33 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox