From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Fri, 13 Jan 2012 20:34:23 +0100 Subject: [U-Boot] compile the u-boot In-Reply-To: <65FA52F035A583499CF50319F9E7ADBC081F5D@EXMBX1.ott.qnx.com> References: <65FA52F035A583499CF50319F9E7ADBC081F5D@EXMBX1.ott.qnx.com> Message-ID: <20120113193423.7B15D11CDEDB@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Jilin Zhou, In message <65FA52F035A583499CF50319F9E7ADBC081F5D@EXMBX1.ott.qnx.com> you wrote: > > Thanks for the reply. My host environment is Mac. Our company has a cross > compiler toolchain for armv7. Meybe it has some problem? > We use this cross compiler every day and it should be fine. Maybe not fine enough for U-Boot ;-) > Anywhere I made it wrong? Thanks. I cannot see any problems either - tested with ELDK 4.2 through 5.2. For example: -> eldk-switch -r 5.2 armv7a Setup for armv7a (using ELDK 5.2) -> ./MAKEALL omap4_panda Configuring for omap4_panda board... panda.c: In function 'misc_init_r': panda.c:78:2: warning: implicit declaration of function 'gpio_direction_input' [-Wimplicit-function-declaration] panda.c:79:2: warning: implicit declaration of function 'gpio_get_value' [-Wimplicit-function-declaration] panda.c: In function 'misc_init_r': panda.c:78:2: warning: implicit declaration of function 'gpio_direction_input' [-Wimplicit-function-declaration] panda.c:79:2: warning: implicit declaration of function 'gpio_get_value' [-Wimplicit-function-declaration] text data bss dec hex filename 184296 4376 203648 392320 5fc80 ./u-boot --------------------- SUMMARY ---------------------------- Boards compiled: 1 Boards with warnings or errors: 1 ( omap4_panda ) ---------------------------------------------------------- Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de I often quote myself; it adds spice to my conversation. - G. B. Shaw