mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: "Murthy, Ramana" <Ramana.Murthy@microsemi.com>
To: "barebox@lists.infradead.org" <barebox@lists.infradead.org>
Subject: sandbox compilation problem
Date: Wed, 15 Jun 2011 15:58:51 +0530	[thread overview]
Message-ID: <6F2524F76379064FB8CB9CEE698D56DA8D40EB1725@IN-MSG-01.amer.actel.com> (raw)


[-- 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

             reply	other threads:[~2011-06-15 10:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-15 10:28 Murthy, Ramana [this message]
2011-06-20  6:33 ` Sascha Hauer

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=6F2524F76379064FB8CB9CEE698D56DA8D40EB1725@IN-MSG-01.amer.actel.com \
    --to=ramana.murthy@microsemi.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