我在cygwin现安装好arm-elf-tools(是在cygwin下使用的)后,make u-boot时,老是出现下列问题: img2srec.c:328: parse error before `)' img2srec.c:329: parse error before `)' img2srec.c:330: parse error before `)' img2srec.c:331: parse error before `)' img2srec.c:332: parse error before `)' img2srec.c:340: `hdr_name' undeclared (first use in this function) img2srec.c:346: `srecLine' undeclared (first use in this function) img2srec.c:346: parse error before `)' img2srec.c:350: `firstAddr' undeclared (first use in this function) img2srec.c:351: `loadAddr' undeclared (first use in this function) img2srec.c:356: `loadSize' undeclared (first use in this function) img2srec.c:359: `loadDiff' undeclared (first use in this function) img2srec.c:378: `loadOffset' undeclared (first use in this function) img2srec.c: In function `main': img2srec.c:399: `DWORD' undeclared (first use in this function) img2srec.c:399: parse error before `offset' img2srec.c:405: `offset' undeclared (first use in this function) img2srec.c: At top level: ../include/elf.h:465: warning: array `_DYNAMIC' assumed to have one element make[1]: *** [img2srec.o] Error 1 make[1]: Leaving directory `/home/uboot/u-boot-1.1.4/tools' make: *** [tools] Error 2 可是我同事和我用的cygwin和arm-elf-tools完全相同,系统也一样,他能make成功,我的就出现问题,他帮我安装后,也是不行,到底是什么问题啊? |