我尝试安装libffi-3.0.11。
http://www.linuxfromscratch.org/blfs/view/svn/general/libffi.html
但是我收到了这个错误消息。我该如何解决这个问题呢?
make[3]: *** [src/powerpc/ffi.lo] Error 1
make[3]: Leaving directory `/root/libffi-3.0.11/powerpc-unknown-linux-gnu'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/libffi-3.0.11/powerpc-unknown-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/libffi-3.0.11/powerpc-unknown-linux-gnu' make: ***
[all-all] Error 2发布于 2012-09-07 14:52:01
我解决了这个问题:我认为主要的问题是我有一个PowerPc架构。
我使用了这个补丁http://sourceware.org/ml/libffi-discuss/2012/msg00201.html,替换了教程补丁http://www.linuxfromscratch.org/blfs/view/svn/general/libffi.html中的代码,并继续使用说明。你瞧,它起作用了。
希望这能对其他开发者有所帮助。
https://stackoverflow.com/questions/12301028
复制相似问题