gdb build fail
sameer sinha
ssam0201@yahoo.co.in
Fri Mar 16 06:32:00 GMT 2007
hello,
i am trying to build gdb-6.6 and gdb-6.4 for
host=i686-pc-linux-gnu
for every version i tried i got the error as
shown below:-
./tui/tui-data.h:40: error: syntax error before
ÂWINDOWÂ
./tui/tui-data.h:40: warning: no semicolon at end of
struct or union
./tui/tui-data.h:52: error: syntax error before Â}Â
token
./tui/tui-data.h:228: error: field Âdata_window has
incomplete type
./tui/tui-data.h:282: error: field Âgeneric has
incomplete type
In file included from .././gdb/tui/tui-command.c:29:
./tui/tui-win.h:42: error: syntax error before
Âtui_border_ulcornerÂ
./tui/tui-win.h:42: warning: type defaults to Âint in
declaration of Âtui_border_ulcornerÂ
./tui/tui-win.h:42: warning: data definition has no
type or storage class
./tui/tui-win.h:43: error: syntax error before
Âtui_border_urcornerÂ
./tui/tui-win.h:43: warning: type defaults to Âint in
declaration of Âtui_border_urcornerÂ
./tui/tui-win.h:43: warning: data definition has no
type or storage class
./tui/tui-win.h:44: error: syntax error before
Âtui_border_lrcornerÂ
./tui/tui-win.h:44: warning: type defaults to Âint in
declaration of Âtui_border_lrcornerÂ
./tui/tui-win.h:44: warning: data definition has no
type or storage class
./tui/tui-win.h:45: error: syntax error before
Âtui_border_llcornerÂ
./tui/tui-win.h:45: warning: type defaults to Âint in
declaration of Âtui_border_llcornerÂ
./tui/tui-win.h:45: warning: data definition has no
type or storage class
./tui/tui-win.h:46: error: syntax error before
Âtui_border_vlineÂ
./tui/tui-win.h:46: warning: type defaults to Âint in
declaration of Âtui_border_vlineÂ
./tui/tui-win.h:46: warning: data definition has no
type or storage class
./tui/tui-win.h:47: error: syntax error before
Âtui_border_hlineÂ
./tui/tui-win.h:47: warning: type defaults to Âint in
declaration of Âtui_border_hlineÂ
./tui/tui-win.h:47: warning: data definition has no
type or storage class
.././gdb/tui/tui-command.c: In function
Âtui_dispatch_ctrl_charÂ:
.././gdb/tui/tui-command.c:80: error: ÂWINDOWÂ
undeclared (first use in this function)
.././gdb/tui/tui-command.c:80: error: (Each undeclared
identifier is reported only once
.././gdb/tui/tui-command.c:80: error: for each
function it appears in.)
.././gdb/tui/tui-command.c:80: error: Âw undeclared
(first use in this function)
.././gdb/tui/tui-command.c:85: warning: implicit
declaration of function ÂwgetchÂ
.././gdb/tui/tui-command.c:86: error: ÂERRÂ undeclared
(first use in this function)
.././gdb/tui/tui-command.c:93: error: ÂKEY_PPAGEÂ
undeclared (first use in this function)
.././gdb/tui/tui-command.c:95: error: ÂKEY_NPAGEÂ
undeclared (first use in this function)
.././gdb/tui/tui-command.c:113: error: ÂKEY_DOWNÂ
undeclared (first use in this function)
.././gdb/tui/tui-command.c:114: error: ÂKEY_SFÂ
undeclared (first use in this function)
.././gdb/tui/tui-command.c:117: error: ÂKEY_UPÂ
undeclared (first use in this function)
.././gdb/tui/tui-command.c:118: error: ÂKEY_SRÂ
undeclared (first use in this function)
.././gdb/tui/tui-command.c:121: error: ÂKEY_RIGHTÂ
undeclared (first use in this function)
.././gdb/tui/tui-command.c:124: error: ÂKEY_LEFTÂ
undeclared (first use in this function)
make[2]: *** [tui-command.o] Error 1
make[2]: Leaving directory
`/home/sameer/GDB_SOURCE/GDB-6.6/source/gdb-6.6/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory
`/home/sameer/GDB_SOURCE/GDB-6.6/source/gdb-6.6'
make: *** [all] Error 2
can any one tell me about the error????????
Thanks & Regards
sameer kumar sinha
Project Engineer Ph: (080) 25341909
C-DAC Knowledge Park Ext No. 330
#1, Old Madras Road email:- sameers@cdacb.ernet.in
Bangalore - 560 038, INDIA sameer0201@gmail.com
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/
More information about the Gdb
mailing list