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.

 

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@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.