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.