当我从android-ndk-r5的示例文件夹构建hello-jni时,我得到了一个后续错误。你能告诉我你知道我错过了什么吗?
arm-linux-androideabi-gcc: Internal error: Killed (program cc1)发展环境:
通过VertualBox
WINDOWS 7上的
错误的细节:
$ ndk-build
Gdbserver : [arm-linux-androideabi-4.4.3] libs/armeabi/gdbserver
Gdbsetup : libs/armeabi/gdb.setup
Compile thumb : hello-jni <= hello-jni.c
arm-linux-androideabi-gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [/home/users001/android-ndk/samples/hello-jni/obj/local/armeabi/objs-debug/hello-jni/hello-jni.o] error1请指点。
发布于 2011-12-15 12:08:27
当我使用"make“而不是推荐的”make-j4“时,这个错误就消失了。
发布于 2011-01-16 04:48:31
我修改了上面公布的细节。
$ndk-构建
Gdbserver : arm-linux-androideabi-4.4.3 libs/armeabi/gdbserver
Gdbsetup :libs/armeabi/gdb.set
编译拇指:hello <= hello-jni.c
arm-linux-androideabi-gcc:内部错误:被杀死(程序cc1)
请提交完整的错误报告。
有关说明,请参见http://gcc.gnu.org/bugs.html。
制作:* /home/user00/android-ndk/samples/hello-jni/obj/local/armeabi/objs-debug/hello-jni/hello-jni.o error1
发布于 2011-09-03 13:46:28
我的Ubuntu10.04 32位也有这个问题。我在所有分区上都有足够的磁盘空间。
它在我升级到Ubuntu10.10后消失了
https://stackoverflow.com/questions/4703853
复制相似问题