首页 > 其他分享 >buildroot编译出错(2020-09-27)

buildroot编译出错(2020-09-27)

时间:2023-03-10 22:31:25浏览次数:43  
标签:buildroot 27 qt .. ncurses 09 host output


开发主机:Linux fly-vm 4.15.0-118-generic #119~16.04.1-Ubuntu SMP Tue Sep 8 14:54:40 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

BSP版本:qt_x210v3s_160307

You must install 'hg' on your build machine


support/dependencies/dependencies.mk:24: recipe for target 'core-dependencies' failed
make: *** [core-dependencies] Error 1

解决方法:sudo apt-get install hgsubversion


You need the 'mkpasswd' utility to set the root password

(in Debian/ubuntu, 'mkpasswd' provided by the whois package)

support/dependencies/dependencies.mk:24: recipe for target 'core-dependencies' failed
make: *** [core-dependencies] Error 1

解决方法:sudo apt-get install whois


/usr/bin/gcc -DHAVE_CONFIG_H -I../ncurses -I. -I/home/fly/x210bv3s/qt_x210v3s_160307/buildroot/output/host/usr/include -D_GNU_SOURCE -DNDEBUG -I. -I../include -I/home/fly/x210bv3s/qt_x210v3s_160307/buildroot/output/host/usr/include/ncurses -O2 -I/home/fly/x210bv3s/qt_x210v3s_160307/buildroot/output/host/usr/include  --param max-inline-insns-single=1200 -c ../ncurses/./base/lib_initscr.c -o ../objects/lib_initscr.o
In file included from ../ncurses/curses.priv.h:283:0,
from ../ncurses/lib_gen.c:19:
_121410.c:835:15: error: expected ‘)’ before ‘int’
../include/curses.h:1594:56: note: in definition of macro ‘mouse_trafo’
#define mouse_trafo(y,x,to_screen) wmouse_trafo(stdscr,y,x,to_screen)
^
Makefile:785: recipe for target '../objects/lib_gen.o' failed
make[2]: *** [../objects/lib_gen.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/fly/workSpace/linux/x210bv3s/qt_x210v3s_160307/buildroot/output/build/host-ncurses-5.9/ncurses'
Makefile:307: recipe for target '../lib/libncurses.a' failed
make[1]: *** [../lib/libncurses.a] Error 2
make[1]: Leaving directory '/home/fly/workSpace/linux/x210bv3s/qt_x210v3s_160307/buildroot/output/build/host-ncurses-5.9/progs'
package/pkg-generic.mk:114: recipe for target '/home/fly/x210bv3s/qt_x210v3s_160307/buildroot/output/build/host-ncurses-5.9/.stamp_built' failed
make: *** [/home/fly/x210bv3s/qt_x210v3s_160307/buildroot/output/build/host-ncurses-5.9/.stamp_built] Error 2

找到buildroot/output/build/host-ncurses-5.9/include/curses.tail文件,然后在这儿文件找到下面这一句,去掉注释  /* generated */

extern NCURSES_EXPORT(bool)    mouse_trafo (int*, int*, bool);              /* generated */

标签:buildroot,27,qt,..,ncurses,09,host,output
From: https://blog.51cto.com/u_13472468/6113673

相关文章

  • 代码随想录算法Day38 | 动态规划理论基础 ,509. 斐波那契数 ,70. 爬楼梯 ,746. 使用最
    动态规划理论基础动态规划五步曲:确定dp数组(dptable)以及下标的含义确定递推公式dp数组如何初始化确定遍历顺序举例推导dp数组509.斐波那契数题目链接:509.斐......
  • 1万元!TP-Link发布Wi-Fi 7挖矿路由器:比RTX 4090快得多
    利润丰厚的挖矿市场人人眼红,TP-Link都单独成立了一家子公司TP-LinkASIC,一出手就打造了一款能挖矿的路由器。这款路由器型号“NX314”,重达3.9公斤,尺寸没有明确数据,但看起......
  • AtCoder Beginner Contest 272(D,E)
    AtCoderBeginnerContest272(D,E)DD这个题最主要的是需要找出有哪些移动的距离对于题目给出的\(m\),我们的移动过程可以是\((i-ii)^2+(j-jj)^2=m\)这样的话,我们可以......
  • 09-应用层-DNS&FTP&Telnet
    1.应用层在前五章我们已经详细地讨论了计算机网络提供通信服务的过程。但是我们还没有讨论这些通信服务是如何提供给应用进程来使用的。本章讨论各种应用进程通过什么样......
  • 2023/03/09(四)晴,大风;加班,回家有点晚
    大宝早上要穿裙子,奶奶说注意保暖,女孩子都爱美,穿了个短裙子,雪白的上衣,高高兴兴上学去了。奶奶让我视频拍他俩进学校,一来一往时间有点紧张;将将提前5分钟赶到现场;一天很忙,明......
  • day09(2023.3.9)
    1.继承和组合 2.Object类和toString方法 运行结果:3."=="和equals方法 运行结果: 4.super 运行结果: 5.继承树追溯 运行结果: 6.封装 测试类......
  • 第127篇:异步函数(async和await)练习题(异步,消息队列)
    好家伙,本篇为做题思考书接上文 题目如下: 1.请给出下列代码的输出结果,并配合"消息队列"写出相关解释asyncfunctionfoo(){console.log(2);console.lo......
  • 总结20230309
    今天上了体育课。今天进行了卫生大联查,期待了许久的领导,也没能如愿的来六楼。下午上了羽毛球课,练习了反手发球、双打步法、反手打球,课后又和朋友们打了接近一小时的双打,......
  • 272. 最长公共上升子序列
    题目来源acwing题目难度3星算法标签dp+优化参考程序#include<iostream>usingnamespacestd;constintN=3005;intn;inta[N],b[N];//dp[i][j]表......
  • 3月09日课后总结
    3/09课后总结贪婪匹配与非贪婪匹配""" 正则表达式都是默认贪婪匹配 如:字符串<abc>123<abc> 正则表达式<.*> 则会匹配到<abc>123<abc> 非贪婪匹配则是<.*?> 匹配到<......