From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from plexus-g.actel.com ([12.177.68.99]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QWnLH-0006aY-Qc for barebox@lists.infradead.org; Wed, 15 Jun 2011 10:29:02 +0000 Received: from sv-msg-02.amer.actel.com (sv-msg-02.amer.actel.com [190.9.12.11]) by plexus-g.actel.com (8.13.7+Sun/8.13.8) with ESMTP id p5FASvJv022971 for ; Wed, 15 Jun 2011 03:28:57 -0700 (PDT) (envelope-from Ramana.Murthy@microsemi.com) From: "Murthy, Ramana" Date: Wed, 15 Jun 2011 15:58:51 +0530 Message-ID: <6F2524F76379064FB8CB9CEE698D56DA8D40EB1725@IN-MSG-01.amer.actel.com> Content-Language: en-US MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1000772255==" Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: sandbox compilation problem To: "barebox@lists.infradead.org" --===============1000772255== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_6F2524F76379064FB8CB9CEE698D56DA8D40EB1725INMSG01amerac_" --_000_6F2524F76379064FB8CB9CEE698D56DA8D40EB1725INMSG01amerac_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I am trying to build sandbox for ARCH=3Dsandbox, 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 successfull= y? commands/loads.c:31:21: exports.h: No such file or directory commands/loads.c:34: warning: type defaults to `int' in declaration of `DEC= LARE_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_get= env' 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 func= tion) commands/loads.c:114: error: (Each undeclared identifier is reported only o= nce 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_se= tenv' commands/loads.c:188: warning: implicit declaration of function `barebox_pu= tc' 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 functi= on) 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 `BA= REBOX_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 th= e Export Administration Regulations (EAR), administered by the U.S. Departm= ent of Commerce, or the International Traffic in Arms Regulations (ITAR), a= dministered by the U.S. Department of State, and may require an export lice= nse from the Commerce or State Department prior to its export. An export ca= n include a release or disclosure to a foreign national inside or outside t= he United States. Include this notice with any reproduced portion of this i= nformation. --_000_6F2524F76379064FB8CB9CEE698D56DA8D40EB1725INMSG01amerac_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

I am trying to build sandbox for ARCH=3Ds= andbox, facing below errors. I am not sure if the build environment is the = problem?

Do I need to have linux source code inclu= de paths to build this successfully?

 

commands/loads.c:31:21: exports.h: No suc= h file or directory

commands/loads.c:34: warning: type defaul= ts to `int' in declaration of `DECLARE_GLOBAL_DATA_PTR'

commands/loads.c:34: warning: data defini= tion has no type or storage class

commands/loads.c:40:7: warning: "CON= FIG_COMMANDS" is not defined

commands/loads.c:40:25: warning: "CF= G_CMD_SAVES" is not defined

commands/loads.c: In function `do_load_se= rial':

commands/loads.c:58: warning: implicit de= claration 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 undecl= ared identifier is reported only once

commands/loads.c:114: error: for each fun= ction it appears in.)

commands/loads.c: In function `load_seria= l':

commands/loads.c:179: warning: implicit d= eclaration of function `barebox_setenv'

commands/loads.c:188: warning: implicit d= eclaration of function `barebox_putc'

commands/loads.c: In function `read_recor= d':

commands/loads.c:221: error: `gd' undecla= red (first use in this function)

commands/loads.c:221: error: `XF_getc' un= declared (first use in this function)

commands/loads.c:233:6: warning: "CO= NFIG_COMMANDS" is not defined

commands/loads.c:233:24: warning: "C= FG_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 defau= lts to `int' in declaration of `BAREBOX_CMD'

commands/loads.c:396: warning: function d= eclaration isn't a prototype

commands/loads.c:396: warning: data defin= ition has no type or storage class

commands/loads.c:404:6: warning: "CO= NFIG_COMMANDS" is not defined

commands/loads.c:404:24: warning: "C= FG_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 Regu= lations (EAR), administered by the U.S. Department of Commerce, or the Inte= rnational Traffic in Arms Regulations (ITAR), administered by the U.S. Department of State, and may require an e= xport 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.
--_000_6F2524F76379064FB8CB9CEE698D56DA8D40EB1725INMSG01amerac_-- --===============1000772255== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox --===============1000772255==--