你的位置:首页 > 软件开发 > 操作系统 > 解决从源码编译ncurses6.0编译lib_gen.c报错的问题

解决从源码编译ncurses6.0编译lib_gen.c报错的问题

发布时间:2016-03-17 23:00:03
直接从官网的源码编译时,会提示报错:gcc -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE -DNDEBUG -O2 --param max-inline-insns-single=1200 -c ../ncurses/lib_gen ...

直接从官网的源码编译时,会提示报错:

gcc -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE -DNDEBUG -O2 --param max-inline-insns-single=1200 -c ../ncurses/lib_gen.c -o ../objects/lib_gen.oIn file included from ./curses.priv.h:325:0,         from ../ncurses/lib_gen.c:19:_18018.c:843:15: error: expected ‘)’ before ‘int’../include/curses.h:1631:56: note: in definition of macro ‘mouse_trafo’ #define mouse_trafo(y,x,to_screen) wmouse_trafo(stdscr,y,x,to_screen)                            ^Makefile:967: recipe for target '../objects/lib_gen.o' failedmake[1]: *** [../objects/lib_gen.o] Error 1make[1]: Leaving directory '/home/abuu/project/ncurses-6.0/ncurses'Makefile:113: recipe for target 'all' failedmake: *** [all] Error 2


 

海外公司注册、海外银行开户、跨境平台代入驻、VAT、EPR等知识和在线办理:https://www.xlkjsw.com

原标题:解决从源码编译ncurses6.0编译lib_gen.c报错的问题

关键词:

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

可能感兴趣文章

我的浏览记录