大家好,目前正在用MPC8309,想要像arm一样做一个GDB and GDBserver,但是目前gdb可以编译成功,到gdbserver遇到各种问题,目前遇到的不知道怎么解决,谁在Powerpc上搭建过这样的环境,帮帮忙,下面是目前遇到的问题。
./gdb_curses.h:38:22: warning: ncurses.h: No such file or directory
./gdb_curses.h:48:18: warning: term.h: No such file or directory
In file included from ./tui/tui-command.c:25:
./tui/tui-data.h:37: error: expected specifier-qualifier-list before 'WINDOW'
In file included from ./tui/tui-command.c:26:
./tui/tui-win.h:40: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tui_border_ulcorner'
./tui/tui-win.h:41: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tui_border_urcorner'
./tui/tui-win.h:42: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tui_border_lrcorner'
./tui/tui-win.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tui_border_llcorner'
./tui/tui-win.h:44: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tui_border_vline'
./tui/tui-win.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tui_border_hline'
./tui/tui-command.c: In function 'tui_dispatch_ctrl_char':
./tui/tui-command.c:76: error: 'WINDOW' undeclared (first use in this function)
./tui/tui-command.c:76: error: (Each undeclared identifier is reported only once
./tui/tui-command.c:76: error: for each function it appears in.)
./tui/tui-command.c:76: error: 'w' undeclared (first use in this function)
./tui/tui-command.c:76: error: 'struct tui_gen_win_info' has no member named 'handle'
./tui/tui-command.c:81: warning: implicit declaration of function 'wgetch'
./tui/tui-command.c:82: error: 'ERR' undeclared (first use in this function)
./tui/tui-command.c:89: error: 'KEY_PPAGE' undeclared (first use in this function) |