在某些系统上用make -jn多线程编译可能会报错
我目前遇到2个错误,需要修改out里的Makefile解决
make[5]: *** No rule to make target `-lpthread', needed by `smartlinkd'. Stop.
make[5]: Leaving directory `/home/rer/A33/Tina-A33/out/astar-parrot/compile_dir/target/smartlinkd/src/source/rver'桂圆吃多了
make[4]: *** [rvice] Error 2友谊的名人名言>上帝掷骰子吗
make[4]: Leaving directory `/home/rer/A33/Tina-A33/out/astar-parrot/compile_dir/target/smartlinkd/src'
make[3]: *** [/home/rer/A33/Tina-A33/out/astar-parrot/compile_dir/target/smartlinkd/.built] Error 2
make[3]: Leaving directory `/home/rer/A33/Tina-A33/package/allwinner/smartlinkd'
make[2]: *** [package/allwinner/smartlinkd/compile] Error 2
make[2]: Leaving directory `/home/rer/A33/Tina-A33'
make[1]: *** [/home/rer/A33/Tina-A33/out/astar-parrot/staging_dir/target/stamp/.package_compile] Error 2
香港歌曲make[1]: Leaving directory `/home/rer/A33/Tina-A33'
make: *** [world] 错误 2
文件位置:Tina-A33/out/astar-parrot/compile_dir/target/smartlinkd/src/source/rver/Makefile
26行,用#屏蔽
# -lpthread \
大相径庭造句make[4]: Entering directory `/home/rer/A33/Tina-A33/out/astar-parrot/compile_dir/target/adb'
make[4]: *** No rule to make target `-lpthread', needed by `adbd'. Stop.
win7进入安全模式make[4]: Leaving directory `/home/rer/A33/Tina-A33/out/astar-parrot/compile_dir/target/adb'
make[3]: *** [/home/rer/A33/Tina-A33/out/astar-parrot/compile_dir/target/adb/.built] Error 2
make[3]: Leaving directory `/home/rer/A33/Tina-A33/package/utils/adb'
make[2]: *** [package/utils/adb/compile] Error 2
make[2]: Leaving directory `/home/rer/A33/Tina-A33'
make[1]: *** [/home/rer/A33/Tina-A33/out/astar-parrot/staging_dir/target/stamp/.package_compile] Error 2仙人掌树
make[1]: Leaving directory `/home/rer/A33/Tina-A33'
文件位置:Tina-A33/out/astar-parrot/compile_dir/target/adb/Makefile
如何选择创业项目27行,用#屏蔽
SUB_LIB := \
libmincrypt.a \
libcutils.a
# -lpthread