|
【Linux】
求助,RK3399,build缺少deviceio相关文件
发表于 2019-7-15 10:22:10
浏览:7513
|
回复:2
打印
只看该作者
[复制链接]
楼主
刚入RK3399,还请高手解惑,
./build.sh编译结果:
# configuration written to /home/seeing-am335x/linux/buildroot/output/rockchip_rk3399/.config
#
make: Leaving directory '/home/seeing-am335x/linux/buildroot'
umask 0022 && make -C /home/seeing-am335x/linux/buildroot O=/home/seeing-am335x/linux/buildroot/output/rockchip_rk3399
/usr/bin/make -j1 O=/home/seeing-am335x/linux/buildroot/output/rockchip_rk3399 HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" silentoldconfig
GEN /home/seeing-am335x/linux/buildroot/output/rockchip_rk3399/Makefile
>>> deviceio Syncing from source dir /home/seeing-am335x/linux/buildroot/../external/deviceio
ERROR: /home/seeing-am335x/linux/buildroot/../external/deviceio does not exist
package/pkg-generic.mk:201: recipe for target '/home/seeing-am335x/linux/buildroot/output/rockchip_rk3399/build/deviceio/.stamp_rsynced' failed
make[1]: *** [/home/seeing-am335x/linux/buildroot/output/rockchip_rk3399/build/deviceio/.stamp_rsynced] Error 1
/home/seeing-am335x/linux/buildroot/output/rockchip_rk3399/Makefile:16: recipe for target '_all' failed
make: *** [_all] Error 2
Command exited with non-zero status 1
you take 0:54.20 to build builroot
====Build buildroot failed!====
查找工程仅有下面这个位置有相关的,但是拷过去还是编译失败
seeing-am335x@seeing:~/linux$ find ./ -name "deviceio"
./buildroot/package/rockchip/deviceio
拷贝过去后编译结果:
make: Leaving directory '/home/seeing-am335x/linux/buildroot'
umask 0022 && make -C /home/seeing-am335x/linux/buildroot O=/home/seeing-am335x/linux/buildroot/output/rockchip_rk3399
/usr/bin/make -j1 O=/home/seeing-am335x/linux/buildroot/output/rockchip_rk3399 HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" silentoldconfig
GEN /home/seeing-am335x/linux/buildroot/output/rockchip_rk3399/Makefile
>>> deviceio Syncing from source dir /home/seeing-am335x/linux/buildroot/../external/deviceio
rsync -au --chmod=u=rwX,go=rX --exclude .svn --exclude .git --exclude .hg --exclude .bzr --exclude CVS /home/seeing-am335x/linux/buildroot/../external/deviceio/ /home/seeing-am335x/linux/buildroot/output/rockchip_rk3399/build/deviceio
>>> deviceio Configuring
(mkdir -p /home/seeing-am335x/linux/buildroot/output/rockchip_rk3399/build/deviceio/ && cd /home/seeing-am335x/linux/buildroot/output/rockchip_rk3399/build/deviceio/ && rm -f CMakeCache.txt && PATH="/home/seeing-am335x/linux/buildroot/output/rockchip_rk3399/host/bin:/home/seeing-am335x/linux/buildroot/output/rockchip_rk3399/host/sbin:/home/seeing-am335x/tools/gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf/bin:/home/seeing-am335x/bin:/home/seeing-am335x/.local/bin:/usr/local/cmake-3.8.2/bin:/usr/local/eclipse:/usr/local/jdk1.8.0_121/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /usr/local/cmake-3.8.2/bin/cmake /home/seeing-am335x/linux/buildroot/output/rockchip_rk3399/build/deviceio/ -DCMAKE_TOOLCHAIN_FILE="/home/seeing-am335x/linux/buildroot/output/rockchip_rk3399/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DBLUEZ5_UTILS=TRUE -DBLUEZ=TRUE -DCPU_ARCH="aarch64" -DBUILD_TYPE=arm64 -DCMAKE_INSTALL_STAGING=/home/seeing-am335x/linux/buildroot/output/rockchip_rk3399/host/aarch64-buildroot-linux-gnu/sysroot )
CMake Error: The source directory "/home/seeing-am335x/linux/buildroot/output/rockchip_rk3399/build/deviceio" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
package/pkg-generic.mk:244: recipe for target '/home/seeing-am335x/linux/buildroot/output/rockchip_rk3399/build/deviceio/.stamp_configured' failed
make[1]: *** [/home/seeing-am335x/linux/buildroot/output/rockchip_rk3399/build/deviceio/.stamp_configured] Error 1
/home/seeing-am335x/linux/buildroot/output/rockchip_rk3399/Makefile:16: recipe for target '_all' failed
make: *** [_all] Error 2
Command exited with non-zero status 1
you take 0:36.47 to build builroot
====Build buildroot failed!====
|
|