- 论坛徽章:
- 0
|
问题已解决,多谢各位参观的兄弟姐妹:
编译gdb之前,确保系统已安装ncurses和flex;如果非root帐号安装这几个库,记得设置include,path和lib变量
编译时gdb6.3和6.4,都提示以下错误:(ncurses已经安装)
google,baidu都询问过了,技术比较差,没找到有用的信息。请大侠们帮忙啊!
- In file included from ../gdb/tui/tui-command.c:28:
- tui/tui-data.h:40: syntax error before "WINDOW"
- tui/tui-data.h:40: warning: no semicolon at end of struct or union
- tui/tui-data.h:52: syntax error before '}' token
- tui/tui-data.h:228: field `data_window' has incomplete type
- tui/tui-data.h:282: field `generic' has incomplete type
- tui/tui-data.h:293: confused by earlier errors, bailing out
- gmake[2]: *** [tui-command.o] Error 1
复制代码
环境:
gcc3.2.3
linux 2.4.21-27
ncurses5.2
[ 本帖最后由 liklone 于 2010-1-7 11:53 编辑 ] |
|