tina编译突然莫名其妙的报错
-
之前编译一直正常,也没修改什么东西,突然报下面的错误
> /home/jamo/workspace/lindenis-v536/out/v536-Lindenis_SBC/compile_dir/target/linux-v536-Lindenis_SBC/busybox-init-base-files/ipkg-sunxi/busybox-init-base-files/CONTROL/conffiles; fi done find /home/jamo/workspace/lindenis-v536/out/v536-Lindenis_SBC/compile_dir/target/linux-v536-Lindenis_SBC/busybox-init-base-files/ipkg-sunxi/busybox-init-base-files -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf Package busybox-init-base-files is missing dependencies for the following libraries: libc.so.6 libpthread.so.0 Makefile:228: recipe for target '/home/jamo/workspace/lindenis-v536/out/v536-Lindenis_SBC/packages/base/busybox-init-base-files_167-1654496826_sunxi.ipk' failed make[3]: *** [/home/jamo/workspace/lindenis-v536/out/v536-Lindenis_SBC/packages/base/busybox-init-base-files_167-1654496826_sunxi.ipk] Error 1 make[3]: Leaving directory '/home/jamo/workspace/lindenis-v536/package/busybox-init-base-files' package/Makefile:192: recipe for target 'package/busybox-init-base-files/compile' failed make[2]: *** [package/busybox-init-base-files/compile] Error 2 make[2]: Leaving directory '/home/jamo/workspace/lindenis-v536' package/Makefile:189: recipe for target '/home/jamo/workspace/lindenis-v536/out/v536-Lindenis_SBC/staging_dir/target/stamp/.package_compile' failed make[1]: *** [/home/jamo/workspace/lindenis-v536/out/v536-Lindenis_SBC/staging_dir/target/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/jamo/workspace/lindenis-v536' /home/jamo/workspace/lindenis-v536/build/toplevel.mk:304: recipe for target 'world' failed make: *** [world] Error 2 #### make failed to build some targets (05:09 (mm:ss)) ####
重点好像是这个,但是不知道怎么修改
Package busybox-init-base-files is missing dependencies for the following libraries:
libc.so.6
libpthread.so.0请求帮助
-
busybox-init-base-files 打包缺少两个库文件,如果之前一直可以编译那make clean重新编译下试试
-
@yteraa 试过了 我把out文件也手动删除了 还是没用
-
@jinxiangwzh
修改 package/busybox-init-base-files 目录下面的 Makefile 文件, 增加一个复制 libc.so.6, libpthread.so.0的shell指令。 -
@whycan
依葫芦画瓢:$ grep cp -r package/ --include "Makefile" |grep libpthread package/qt/qt5/Makefile: DEPENDS:=+librt +zlib +libstdcpp +libinput +libpthread +glib2 @!LINUX_2_6 package/lang/node/Makefile: DEPENDS:=+libpthread +librt +libstdcpp +libopenssl +libuv package/network/alljoyn/alljoyn/Makefile: DEPENDS:=+libopenssl +libpthread +librt +libstdcpp +libcap package/network/iotivity/Makefile: DEPENDS:=+iotivity +libpthread +libstdcpp package/allwinner/liballwinner-ipc/Makefile: DEPENDS:=+libpthread +libstdcpp package/allwinner/homlet/libvop/Makefile: DEPENDS:=+libpthread +libstdcpp package/allwinner/homlet/p2p_utils/Makefile: DEPENDS:=+libpthread +libstdcpp package/allwinner/homlet/p2p_utils/Makefile: DEPENDS:=+libpthread +libstdcpp package/allwinner/softap/Makefile: DEPENDS:=+libpthread +libstdcpp +liballwinner-base +libopenssl +iw +hostapd +dnsmasq +iptables package/allwinner/usb-gadget/Makefile: DEPENDS:=+libpthread +libstdcpp package/allwinner/dlna-service/Makefile: DEPENDS:=+libpthread +libstdcpp +liballwinner-base +liballwinner package/allwinner/peq/Makefile: DEPENDS:=+libpthread +libstdcpp +liballwinner-base +libopenssl +iw +alsa-utils package/allwinner/logwrapper/Makefile: DEPENDS:=+libpthread +libstdcpp package/allwinner/dlna_demo/Makefile: DEPENDS:=+libpthread +libstdcpp +liballwinner-base +liballwinner +dlna-service package/allwinner/wifimanager/Makefile: DEPENDS:=+libpthread +libstdcpp +liballwinner-base package/allwinner/bluetooth/Makefile: DEPENDS:=+libpthread +librt +alsa-lib +resample +libuci +libstdcpp package/allwinner/smartlinkd/Makefile: DEPENDS:=+libpthread +libstdcpp +liballwinner-base +alsa-lib +libopenssl +libuci package/libs/libdirectfb/Makefile: DEPENDS:=+libstdcpp +tslib +libpng +libjpeg +libpthread +libfreetype +libsysfs +flux package/libs/boost/Makefile: DEPENDS:=+libstdcpp +libpthread +librt package/libs/libglog/Makefile: DEPENDS:= +libstdcpp +libpthread +libunwind package/libs/icu/Makefile: DEPENDS:=+libstdcpp +libpthread package/routing/mcproxy/Makefile: DEPENDS:=+libpthread +libstdcpp @(!GCC_VERSION_4_4&&!GCC_VERSION_4_6) $ $
-
-
libc.so.6 libpthread.so.0 改成完整路径?
-
@whycan 就是不知道完整目录在哪里 然后要复制到哪个目录
-
@jinxiangwzh
find 命令值得拥有。find $PWD -name libpthread.so.0* -type f
-
放弃挣扎吧,我也遇到过,有时候用make j1又可以过。有时候咋都不行,整个工程删除重来,我遇到好几次了,ubuntu20.04环境
-
建议用Ubuntu16.04, 这里有干净版本ubuntu16.04虚拟机下载:
-
@whycan 感谢 我最终也没搞清楚原因,我又重新创建了一个文件夹拉取了一遍代码编译的。
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号