本帖最后由 瑶曳风尘 于 2015-1-7 19:44 编辑
系统:UBUNTU14.04
内核:3.13.0
受不了了,编了好多遍,总是出错,官方支持出来看一下什么问题?
./stdio.h:477:1: error: 'gets' undeclared here (not in a function)
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
^
make[3]: *** [clean-temp.o] Error 1
make[3]: Leaving directory `/opt/freescale/ltib/usr/src/rpm/BUILD/m4-1.4.16/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/freescale/ltib/usr/src/rpm/BUILD/m4-1.4.16/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/freescale/ltib/usr/src/rpm/BUILD/m4-1.4.16'
make: *** [all] Error 2
error: Bad exit status from /home/fatcat/ltib/ltib/tmp/rpm-tmp.47302 (%build)
RPM build errors:
Bad exit status from /home/fatcat/ltib/ltib/tmp/rpm-tmp.47302 (%build)
Build time for m4: 30 seconds
Failed building m4
Died at ./ltib line 1392.
traceback:
main::build_host_rpms:1392
main::host_checks:1447
main:554
Started: Tue Dec 30 16:07:05 2014
Ended: Tue Dec 30 16:12:22 2014
Elapsed: 317 seconds
These packages failed to build:
m4
Build Failed
GOOGLE了一下,好像是glibc和bison的版本问题,但是我换了bison还是出错,请问怎么解决啊?
已解决:看9楼和11楼
|