编译usbip功能排错笔记
-
开启usbip Client功能,
make kernel_menuconfig
make menuconfig,搜索usbip
编译报错 error: “_GNU_SOURCE“ redefined [-Werror]
修改文件 tina-v853-open/out/v853/100ask/openwrt/build_dir/target/linux-v853-100ask/usbip-2.0/src/usbipd.c
把#define _GNU_SOURCE
改成
#ifndef _GNU_SOURCE #define _GNU_SOURCE #endif
又报错 libtool: Version mismatch error. This is libtool 2.4, but the
到tina-v853-open/out/v853/100ask/openwrt/build_dir/target/linux-v853-100ask/usbip-2.0
输入指令cd ~/tina-v853-open/out/v853/100ask/openwrt/build_dir/target/linux-v853-100ask/usbip-2.0 autoreconf -ivf
编译通过,后头又有啥问题再写
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号