Asher_zheng 2015-03-10 09:11 采纳率: 0%
浏览 3994

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条回答 默认 最新

  • devmiao 2015-03-10 09:39
    关注

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

    评论

报告相同问题?

悬赏问题

  • ¥15 kafka 分区副本增加会导致消息丢失或者不可用吗?
  • ¥15 微信公众号自制会员卡没有收款渠道啊
  • ¥15 stable diffusion
  • ¥100 Jenkins自动化部署—悬赏100元
  • ¥15 关于#python#的问题:求帮写python代码
  • ¥20 MATLAB画图图形出现上下震荡的线条
  • ¥15 关于#windows#的问题:怎么用WIN 11系统的电脑 克隆WIN NT3.51-4.0系统的硬盘
  • ¥15 perl MISA分析p3_in脚本出错
  • ¥15 k8s部署jupyterlab,jupyterlab保存不了文件
  • ¥15 ubuntu虚拟机打包apk错误