MPC8309 gdb与gdbserver搭建

[复制链接]
 楼主| yv920 发表于 2015-6-29 17:48 | 显示全部楼层 |阅读模式
大家好,目前正在用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)
您需要登录后才可以回帖 登录 | 注册

本版积分规则

10

主题

23

帖子

1

粉丝
快速回复 在线客服 返回列表 返回顶部

10

主题

23

帖子

1

粉丝
快速回复 在线客服 返回列表 返回顶部