From mboxrd@z Thu Jan 1 00:00:00 1970 From: Markus =?iso-8859-1?Q?Klotzb=FCcher?= Date: Thu, 13 Dec 2007 09:10:20 +0100 Subject: [U-Boot-Users] Problems Building u-boot-1.3.1 In-Reply-To: <8CA0B189597A91E-560-6E3D@MBLK-M30.sysops.aol.com> (raptorbrino@aim.com's message of "Wed, 12 Dec 2007 15:56:21 -0500") References: <8CA0B189597A91E-560-6E3D@MBLK-M30.sysops.aol.com> Message-ID: <87abof582b.fsf@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 raptorbrino at aim.com writes: > I'm having a problem building u-boot-1.3.1. It complains when using the > host compiler to compile sha1.c because it doesn't know what the data > type > __u64 is. This datatype is defined in u-boot/include/asm/types.h. > However, > I'm using cygwin, and it has the file /usr/include/asm/types.h. The > types.h > file in cygwin does not define __u64. Because the compile uses the flag > -idirafter, the cygwin types.h is used in the include, hence an unkown > symbol compile error. I fixed this problem in my local build by adding > the > flag -ansi to CPPFLAGS in tools/makefile. Is that appropriate or would > you > recommend fixing it another way?? I would recommend fixing it by using a nice Linux system instead of Win$, but thats just me... Best regards Markus Klotzbuecher -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de