rtems编译出错recipe for 'libcrypt_a-crypt.o' failed

windows:64bit
vmware上安装fedora21,64位
参考csdn各种大神们的成功经验,安装好ARM的交叉编译工具,又通过git://git.rtems.org/rtems.git得到最新的源码,编译时突然出现以下问题,请教各位高手该如何解决?

Making all in libcrypt
gmake[5]: Entering directory '/root/rtemsPro/rtemsSRC/rtems/buildcsb337/arm-rtems4.11/c/csb337/cpukit/libcrypt'
arm-rtems4.11-gcc --pipe -DHAVE_CONFIG_H -I.. -I../../cpukit/../../../csb337/lib/include -mcpu=arm920 -O2 -g -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT libcrypt_a-crypt.o -MD -MP -MF .deps/libcrypt_a-crypt.Tpo -c -o libcrypt_a-crypt.o test -f 'crypt.c' || echo '../../../../../../c/src/../../cpukit/libcrypt/'crypt.c
In file included from ../../../../../../c/src/../../cpukit/libcrypt/crypt.c:32:0:
../../cpukit/../../../csb337/lib/include/crypt.h:70:55: error: expected ')' before 'int'
void _crypt_b64_from_24bit(uint8_t, uint8_t, uint8_t, int, int , char *);
^
Makefile:427: recipe for target 'libcrypt_a-crypt.o' failed
gmake[5]: *** [libcrypt_a-crypt.o] Error 1
gmake[5]: Leaving directory '/root/rtemsPro/rtemsSRC/rtems/buildcsb337/arm-rtems4.11/c/csb337/cpukit/libcrypt'
Makefile:964: recipe for target 'all-recursive' failed
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory '/root/rtemsPro/rtemsSRC/rtems/buildcsb337/arm-rtems4.11/c/csb337/cpukit'
Makefile:691: recipe for target 'all' failed
gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory '/root/rtemsPro/rtemsSRC/rtems/buildcsb337/arm-rtems4.11/c/csb337/cpukit'
Makefile:487: recipe for target 'all-recursive' failed
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory '/root/rtemsPro/rtemsSRC/rtems/buildcsb337/arm-rtems4.11/c/csb337'
Makefile:348: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory '/root/rtemsPro/rtemsSRC/rtems/buildcsb337/arm-rtems4.11/c'
Makefile:472: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
[root@localhost buildcsb337]#

4个回答

expected ')' before 'int'
代码有问题

Asher_zheng
Asher_zheng 代码我看过了,几个形参的类型,没有问题的,况且我也没改过这个地方, devel@rtems.org给出的官方答案是这个: The tool chain on this virtual machine uses an outdated Newlib version.
5 年多之前 回复

代码我看过了,几个形参的类型,没有问题的,况且我也没改过这个地方:

 void _crypt_b64_from_24bit(uint8_t, uint8_t, uint8_t, int, int , char *);

devel@rtems.org给出的官方答案是这个:
The tool chain on this virtual machine uses an outdated Newlib version.

Asher_zheng
Asher_zheng 但是我检查了一下,newlib-common 和newlib都是最新版本,请问如何解决?
5 年多之前 回复

The tool chain on this virtual machine uses an outdated Newlib version.

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐