android make 错误

yel617 2010-07-20 08:06:06
target SharedLib: libwebcore (out/target/product/generic/obj/SHARED_LIBRARIES/libwebcore_intermediates/LINKED/libwebcore.so)
collect2: ld terminated with signal 9 [Killed]
make: *** [out/target/product/generic/obj/SHARED_LIBRARIES/libwebcore_intermediates/LINKED/libwebcore.so] 错误 1
这个错误有人碰到过吗?
搞好久了,也没找到问题
...全文
436 9 打赏 收藏 转发到动态 举报
写回复
用AI写文章
9 条回复
切换为时间正序
请发表友善的回复…
发表回复
panxq0809 2010-08-31
  • 打赏
  • 举报
回复
遇到了同样的问题,谢谢lz
yel617 2010-07-22
  • 打赏
  • 举报
回复
5楼写的就是阿
yel617 2010-07-21
  • 打赏
  • 举报
回复
ld terminated with signal 9

Been trying to build substantial amout of code on linux vmware image. Three times the build has failed with “ld terminated with signal 9″. A simple google revlealed that I might have run out of swap space!

So I run sudo swaon -s and get nothing atall!

Then a google for “turning on swap space” got me to do the following:

# sudo dd if=/dev/zero of=/moreswap bs=1M count=512
That creates a 512 MB file named moreswap filled with zeros.


# sudo mkswap /moreswap
# sudo swapon /moreswap

Appended the following line to /etc/fstab to make this change permanent.
/moreswap none swap sw 0 0

Worked like a charm!
yel617 2010-07-21
  • 打赏
  • 举报
回复
Linux 系统没加swap分区的原因。
yelei@ubuntu:~$ sudo dd if=/dev/zero of=/opt/moreswap bs=1024 count=512k
[sudo] password for yelei:
524288+0 records in
524288+0 records out
536870912 bytes (537 MB) copied,14.3514 秒,37.4 MB/秒
yelei@ubuntu:~$ sudo mkswap /opt/moreswap
mkswap: /opt/moreswap: warning: don't erase bootbits sectors
on whole disk. Use -f to force.
Setting up swapspace version 1, size = 524284 KiB
no label, UUID=8ba91cd0-be0f-4e83-ae2a-30b04bf41f75
yelei@ubuntu:~$ sudo swapon /opt/moreswap
yelei@ubuntu:~$ sudo gedit /etc/fstab
/opt/moreswap none swap sw 0 0
yel617 2010-07-21
  • 打赏
  • 举报
回复
谢谢 楼上的 找到办法了
yihua0001 2010-07-21
  • 打赏
  • 举报
回复
哥们,你后面的这些信息似乎没有说清楚怎么解决问题的吧?楼主是否可以分享一下啊。
Hinagi 2010-07-21
  • 打赏
  • 举报
回复
代码写错了吧,看看是不是用了空指针或者使用了为被分配的内存
信号量9这个错误造成的原因很多,光看这两句看不出来..你可以去google一下signal 9这个错误
yel617 2010-07-21
  • 打赏
  • 举报
回复
前面没有错误的信息
错误就在这了 make: *** [out/target/product/generic/obj/SHARED_LIBRARIES/libwebcore_intermediates/LINKED/libwebcore.so] 错误 1
yihua0001 2010-07-20
  • 打赏
  • 举报
回复
楼主的log信息全不全啊,这里除了显示lib库之外,没看到error的具体错误信息啊。

80,351

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧