From: liang a lei Date: Sun, 28 Dec 2003 00:29:53 +0800 Subject: [U-Boot-Users] under Cygwin:what's wrong with "arm" building error Message-ID: <000701c3cc96$aa95a380$f48ec9ca@liangalei> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de hi, all: I am try to build u-boot image for board "ep7312", and process pause with error: ---------------------------------------------------------------------------- ---------- $make ....... m7tdmi -Wall -Wstrict-prototypes -c -o cmd_scsi.o cmd_scsi.c In file included from cmd_scsi.c:33: /u-boot-1.0.0/include/asm/processor.h:52: parse error before `1' /u-boot-1.0.0/include/asm/processor.h:52: warning: no semicolon at end of struct or union /u-boot-1.0.0/include/asm/processor.h:54: parse error before `}' /u-boot-1.0.0/include/asm/processor.h:58: field `insn' has incomplete type make[1]: *** [cmd_scsi.o] Error 1 make[1]: Leaving directory `/44b0ii/u-boot-1.0.0/common' make: *** [subdirs] Error 1 $ ---------------------------------------------------------------------------- ---------------- (My build enviroment is cygwin) By way, I post line 52 of processor.h ... union debug_insn { u32 arm; <---- line 52 u16 thumb; }; .... And, if I modify "arm" to "arm1" (anything but "arm"), like union debug_insn { u32 arm1; u16 thumb; }; then build will finish without any error, it says that "u-boot" and "u-boot.srec" will be built out. thanks for answer Liang Alei