sandbox build failing on redhat host
Murthy, Ramana
Ramana.Murthy at microsemi.com
Tue Jul 19 01:30:35 EDT 2011
Hi Vikram,
Here are my latest set of errors for sandbox build. PFA the config file.
Version : barebox-2011.05.0
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
make: *** [commands] Error 2
Best Regards,
N.S.S.R.Murthy,
-----Original Message-----
From: Vikram Narayanan [mailto:vikram186 at gmail.com]
Sent: Saturday, July 16, 2011 12:16 PM
To: Murthy, Ramana
Cc: barebox at lists.infradead.org
Subject: Re: sandbox build failing on redhat host
On Wed, Jun 8, 2011 at 9:46 AM, Murthy, Ramana
<Ramana.Murthy at microsemi.com> wrote:
> Hi All,
>
>
>
> Can somebody please help me on this. I know sandbox is not priority. But
> this helps me to progress to create a new port.
Please post your .config file.
Which version of barebox you are using?
-
Vikram
>
> Best Regards,
>
> N.S.S.R.Murthy,
>
> Ph # +91-40-67303600, Extn - 3731,
>
> Mobile # +91-9959677780.
>
>
>
> From: Murthy, Ramana
> Sent: Monday, June 06, 2011 3:48 PM
> To: 'barebox at lists.infradead.org'
> Subject: sandbox build failing on redhat host
>
>
>
> Hi All,
>
>
>
> I am trying to build barebox with ARCH = sandbox. My make menuconfig is
> successful.
>
> But the actual build is throwing below errors. As I understand, the errors
> are because offt_build.c that includes <asm/barebox.h>. But in case of
> ARCH=sandbox,the arch/sandbox/inlcude/asm/barebox.h contains nothing. Is
> itsupposed to compile ft_build.c in case of sandbox?
>
> CHK include/generated/version.h
> CHK include/generated/utsrelease.h
> SYMLINK include/config.h -> arch/sandbox/board//config.h
> CC scripts/mod/empty.o
> HOSTCC scripts/mod/mk_elfconfig
> MKELF scripts/mod/elfconfig.h
> HOSTCC scripts/mod/modpost.o
> HOSTCC scripts/mod/sumversion.o
> HOSTLD scripts/mod/modpost
> HOSTCC scripts/bin2c
> HOSTCC scripts/mkimage
> HOSTCC scripts/bareboxenv
> CC common/hush.o
> CC common/date.o
> CC common/ft_build.o
> In file included from common/ft_build.c:33:
> include/ft_build.h:59: error: syntax error before "bd_t"
> include/ft_build.h:59: warning: function declaration isn't a prototype
> include/ft_build.h:65: error: syntax error before "bd_t"
> include/ft_build.h:65: warning: function declaration isn't a prototype
> include/ft_build.h:66: error: syntax error before "bd_t"
> include/ft_build.h:66: warning: function declaration isn't a prototype
> include/ft_build.h:67: error: syntax error before "bd_t"
> include/ft_build.h:67: warning: function declaration isn't a prototype
> common/ft_build.c:458: error: syntax error before "bd_t"
> common/ft_build.c:459: warning: function declaration isn't a prototype
> common/ft_build.c: In function `ft_setup':
> common/ft_build.c:477: error: `blob' undeclared (first use in this function)
> common/ft_build.c:477: error: (Each undeclared identifier is reported only
> once
> common/ft_build.c:477: error: for each function it appears in.)
> common/ft_build.c:477: error: `bd' undeclared (first use in this function)
> common/ft_build.c:488: error: `initrd_start' undeclared (first use in
> this function)
> common/ft_build.c:488: error: `initrd_end' undeclared (first use in
> this function)
> common/ft_build.c:460: warning: unused variable `p'
> common/ft_build.c:461: warning: unused variable `len'
> common/ft_build.c:463: warning: unused variable `clock'
> make[1]: *** [common/ft_build.o] Error 1
> make: *** [common] Error 2
>
>
>
> 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.
>
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
>
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ATT62575.config
Type: application/octet-stream
Size: 3958 bytes
Desc: ATT62575.config
URL: <http://lists.infradead.org/pipermail/barebox/attachments/20110719/1f597d55/attachment-0001.obj>
More information about the barebox
mailing list