环境是32位ubuntu 14.04 的虚拟机
按照说明文档遇到了没有zlib的问题,按照论坛里解决了。
然后执行。/ltib又出错了,log如下
求支持解答下
mv -f .deps/c-stack.Tpo .deps/c-stack.Po
gcc -std=gnu99 -I. -g -O2 -MT clean-temp.o -MD -MP -MF .deps/clean-temp.Tpo -c -o clean-temp.o clean-temp.c
In file included from clean-temp.h:22:0,
from clean-temp.c:23:
./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/zit/ltib/ltib/tmp/rpm-tmp.70614 (%build)
RPM build errors:
Bad exit status from /home/zit/ltib/ltib/tmp/rpm-tmp.70614 (%build)
Build time for m4: 28 seconds
Failed building m4
Died at ./ltib line 1392.
traceback:
main::build_host_rpms:1392
main::host_checks:1447
main:554
Started: Fri Dec 18 00:28:21 2015
Ended: Fri Dec 18 00:33:59 2015
Elapsed: 338 seconds
These packages failed to build:
m4
Build Failed
|