错误代码:
lzb1604@ubuntu:~/linux/tool/ncurses-6.0$ make
cd man && make DESTDIR="" RPATH_LIST="/home/lzb1604/linux/tool/ncurses/lib" all
make[1]: Entering directory '/home/lzb1604/linux/tool/ncurses-6.0/man'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/lzb1604/linux/tool/ncurses-6.0/man'
cd include && make DESTDIR="" RPATH_LIST="/home/lzb1604/linux/tool/ncurses/lib" all
make[1]: Entering directory '/home/lzb1604/linux/tool/ncurses-6.0/include'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/lzb1604/linux/tool/ncurses-6.0/include'
cd ncurses && make DESTDIR="" RPATH_LIST="/home/lzb1604/linux/tool/ncurses/lib" all
make[1]: Entering directory '/home/lzb1604/linux/tool/ncurses-6.0/ncurses'
arm-linux-gnueabihf-gcc -DHAVE_CONFIG_H -I. -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG -O2 --param max-inline-insns-single=1200 -fPIC -c ../ncurses/lib_gen.c -o ../obj_s/lib_gen.o
In file included from ./curses.priv.h:325:0,
from ../ncurses/lib_gen.c:19:
_40517.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:966: recipe for target '../obj_s/lib_gen.o' failed
make[1]: *** [../obj_s/lib_gen.o] Error 1
make[1]: Leaving directory '/home/lzb1604/linux/tool/ncurses-6.0/ncurses'
Makefile:113: recipe for target 'all' failed
make: *** [all] Error 2