日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

gentoo rt-thread scons --menuconfig libs/lxdialog/util.o: undefined reference to symbol 'nodelay'

發布時間:2025/3/14 编程问答 24 豆豆
生活随笔 收集整理的這篇文章主要介紹了 gentoo rt-thread scons --menuconfig libs/lxdialog/util.o: undefined reference to symbol 'nodelay' 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
gentoo rt-thread scons --menuconfig libs/lxdialog/util.o: undefined reference to symbol 'nodelay'

今天在另外一臺電腦上面使用 rt-thread 的 env 工具,scons --menuconfig 出現錯誤,提示如下:

scons: Reading SConscript files ... scons: Entering directory `/home/ptz/workspace/rt-thread/rt-thread/tools/kconfig-frontends' scons: Reading SConscript files ... scons: done reading SConscript files. scons: Building targets ... gcc -o kconfig-mconf libs/lxdialog/checklist.o libs/lxdialog/inputbox.o libs/lxdialog/menubox.o libs/lxdialog/textbox.o libs/lxdialog/util.o libs/lxdialog/yesno.o libs/parser/yconf.o frontends/mconf/mconf.o -lncurses /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: libs/lxdialog/util.o: undefined reference to symbol 'nodelay' /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status scons: *** [kconfig-mconf] Error 1 scons: building terminated because of errors. sh: /home/ptz/workspace/rt-thread/rt-thread/tools/kconfig-frontends/kconfig-mconf: No such file or directory

初步判斷是找不到 nodelay 這個函數,于是使用 nm -D /lib/libncurses.so.6 |grep -w nodelay, 結果發現果然沒有 nodelay。然后測試了可以用的電腦,可以用的電腦上面 ncurses 這個動態庫是有 nodelay 的,于是查看兩臺電腦 ncurses 的 USE 區別,結果發現,不能用的 ncurses 開啟了 tinfo 這個 USE。然后 nm -D /lib/libtinfo.so.6 |grep -w nodelay,這下果然有了。

所有只需要修改 rt-thread/tools/kconfig-frontends/SConstruct, 把 tinfo 加入庫路徑即可正常工作了。

posted on 2018-12-16 22:15 ramlife 閱讀(...) 評論(...) 編輯 收藏

轉載于:https://www.cnblogs.com/ramlife/p/10128837.html

與50位技術專家面對面20年技術見證,附贈技術全景圖

總結

以上是生活随笔為你收集整理的gentoo rt-thread scons --menuconfig libs/lxdialog/util.o: undefined reference to symbol 'nodelay'的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。