摘要:
安卓下执行交叉编译的可执行文件发现提示不允许。 原因是mount的方式问题,root后运行 su mount -o rw,remount /mnt/sdcard 就可以了 mount -o rw,remount / / 新版本系统 重新挂载根目录 阅读全文
posted @ 2014-11-20 21:56
ahuo
阅读(3172)
评论(0)
推荐(0)
摘要:
问题:undefined reference to `pthread_spin_init'解:修改CMakeCache.txt,CMAKE_EXE_LINKER_FLAGS原来为空,加上-lpthread -lrt -ldl 阅读全文
posted @ 2014-11-20 15:48
ahuo
阅读(570)
评论(0)
推荐(0)
摘要:
原因是缺少库文件,解决办法:arm-linux-readelf -a helloword | grep NEEDED 拷贝so文件到安卓下或者arm-linux-gcc hello.c -o hello -static 阅读全文
posted @ 2014-11-20 15:11
ahuo
阅读(351)
评论(0)
推荐(0)
浙公网安备 33010602011771号