buildroot编译报错:make[1]: *** [../lib/libncurses.a] Error 2
程序员文章站
2022-03-10 16:03:44
/usr/bin/gcc -DHAVE_CONFIG_H -I../ncurses -I. -I/home/fly/workSpace/linux/x210bv3s/qt_x210v3s_160307/buildroot/output/host/usr/include -D_GNU_SOURCE -DNDEBUG -I. -I../include -I/home/fly/workSpace/linux/x210bv3s/qt_x210v3s_160307/buildroot/output/host/usr....
/usr/bin/gcc -DHAVE_CONFIG_H -I../ncurses -I. -I/home/fly/workSpace/linux/x210bv3s/qt_x210v3s_160307/buildroot/output/host/usr/include -D_GNU_SOURCE -DNDEBUG -I. -I../include -I/home/fly/workSpace/linux/x210bv3s/qt_x210v3s_160307/buildroot/output/host/usr/include/ncurses -O2 -I/home/fly/workSpace/linux/x210bv3s/qt_x210v3s_160307/buildroot/output/host/usr/include --param max-inline-insns-single=1200 -c ../ncurses/./base/lib_getch.c -o ../objects/lib_getch.o
In file included from ../ncurses/curses.priv.h:283:0,
from ../ncurses/lib_gen.c:19:
_123350.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/workSpace/linux/x210bv3s/qt_x210v3s_160307/buildroot/output/build/host-ncurses-5.9/.stamp_built' failed
make: *** [/home/fly/workSpace/linux/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 */
本文地址:https://blog.csdn.net/I_feige/article/details/108816550
推荐阅读
-
Ruby之——CentOS安装Ruby2.5.5 报错 make[2]: *** [openssl_missing.o] Error 1
-
php编译安装报错:make: *** [sapi/cli/php] Error 1 问题的解决办法
-
buildroot编译报错:make[1]: *** [../lib/libncurses.a] Error 2
-
linux - ubuntu重新编译php报错make:**[ext/data/php_data.lo] Error 2
-
linux - ubuntu重新编译php报错make:**[ext/data/php_data.lo] Error 2
-
php编译安装报错:make: *** [sapi/cli/php] Error 1 问题的解决办法
-
buildroot编译报错:make[1]: *** [../lib/libncurses.a] Error 2