Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    编译usbip功能排错笔记

    V853系列-AI视觉
    1
    1
    22
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • X
      xjy_5 LV 5 last edited by xjy_5

      开启usbip Client功能,
      make kernel_menuconfig
      e3967fed-ea93-482d-971f-44469aabe03d-image.png

      make menuconfig,搜索usbip
      9d93d0ba-1077-4848-a8c7-6a93132af3fc-image.png
      0b1822e3-d5b5-45a1-9c4e-cf763dba52d7-image.png

      编译报错 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
      

      编译通过,后头又有啥问题再写

      1 Reply Last reply Reply Quote Share 0
      • 1 / 1
      • First post
        Last post

      Copyright © 2023 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

      行为准则 | 用户协议 | 隐私权政策