|
发表于 2018-3-10 00:36:45
|
显示全部楼层
回复 1# birdman007
Creating observer.htmpCreating observer.itmp
In file included from /home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui.c:26:0:
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui-data.h:42:3: error: ‘WINDOW’ does not name a type
WINDOW *handle; /* Window handle. */
^
In file included from /home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui.c:31:0:
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui-win.h:40:8: error: ‘chtype’ does not name a type
extern chtype tui_border_ulcorner;
^
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui-win.h:41:8: error: ‘chtype’ does not name a type
extern chtype tui_border_urcorner;
^
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui-win.h:42:8: error: ‘chtype’ does not name a type
extern chtype tui_border_lrcorner;
^
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui-win.h:43:8: error: ‘chtype’ does not name a type
extern chtype tui_border_llcorner;
^
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui-win.h:44:8: error: ‘chtype’ does not name a type
extern chtype tui_border_vline;
^
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui-win.h:45:8: error: ‘chtype’ does not name a type
extern chtype tui_border_hline;
^
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui.c: In function ‘int tui_rl_other_window(int, int)’:
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui.c:240:36: error: ‘struct tui_gen_win_info’ has no member named ‘handle’
keypad (TUI_CMD_WIN->generic.handle, (win_info != TUI_CMD_WIN));
^
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui.c:240:69: error: ‘keypad’ was not declared in this scope
keypad (TUI_CMD_WIN->generic.handle, (win_info != TUI_CMD_WIN));
^
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui.c: In function ‘void tui_enable()’:
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui.c:409:7: error: ‘WINDOW’ was not declared in this scope
WINDOW *w;
^
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui.c:409:15: error: ‘w’ was not declared in this scope
WINDOW *w;
^
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui.c:410:7: error: ‘SCREEN’ was not declared in this scope
SCREEN *s;
^
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui.c:410:15: error: ‘s’ was not declared in this scope
SCREEN *s;
^
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui.c:425:39: error: ‘newterm’ was not declared in this scope
s = newterm (NULL, stdout, stdin);
^
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui.c:437:11: error: ‘stdscr’ was not declared in this scope
w = stdscr;
^
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui.c:442:37: error: ‘tigetstr’ was not declared in this scope
cap = tigetstr ((char *) "cup");
^
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui.c:445:12: error: ‘endwin’ was not declared in this scope
endwin ();
^
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui.c:446:16: error: ‘delscreen’ was not declared in this scope
delscreen (s);
^
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui.c:453:15: error: ‘cbreak’ was not declared in this scope
cbreak ();
^
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui.c:454:15: error: ‘noecho’ was not declared in this scope
noecho ();
^
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui.c:456:23: error: ‘nodelay’ was not declared in this scope
nodelay(w, FALSE);
^
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui.c:457:10: error: ‘nl’ was not declared in this scope
nl();
^
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui.c:458:22: error: ‘keypad’ was not declared in this scope
keypad (w, TRUE);
^
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui.c:460:31: error: ‘LINES’ was not declared in this scope
tui_set_term_height_to (LINES);
^
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui.c:461:30: error: ‘COLS’ was not declared in this scope
tui_set_term_width_to (COLS);
^
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui.c:462:22: error: ‘def_prog_mode’ was not declared in this scope
def_prog_mode ();
^
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui.c:467:36: error: ‘struct tui_gen_win_info’ has no member named ‘handle’
keypad (TUI_CMD_WIN->generic.handle, TRUE);
^
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui.c:468:38: error: ‘struct tui_gen_win_info’ has no member named ‘handle’
wrefresh (TUI_CMD_WIN->generic.handle);
^
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui.c:468:44: error: ‘wrefresh’ was not declared in this scope
wrefresh (TUI_CMD_WIN->generic.handle);
^
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui.c:475:22: error: ‘def_shell_mode’ was not declared in this scope
def_shell_mode ();
^
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui.c:476:15: error: ‘stdscr’ was not declared in this scope
clearok (stdscr, TRUE);
^
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui.c:476:27: error: ‘clearok’ was not declared in this scope
clearok (stdscr, TRUE);
^
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui.c: In function ‘void tui_disable()’:
/home/sun/Desktop/RISC-V/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/tui/tui.c:530:11: error: ‘endwin’ was not declared in this scope
endwin ();
^
make[3]: *** [tui.o] Error 1
make[2]: *** [all-gdb] Error 2
make[1]: *** [all] Error 2
make: *** [stamps/build-binutils-newlib] Error 2
求赐教,谢谢! |
|