This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

build/1611: compile errors in gdb/tui/tui-command.c


>Number:         1611
>Category:       build
>Synopsis:       compile errors in gdb/tui/tui-command.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 11 21:58:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     selsky@columbia.edu
>Release:        gdb-6.1
>Organization:
>Environment:
Solaris 9
gcc-2.95.2
GNU make 3.80
>Description:
I'm building gdb-6.1 on Solaris 9 using gcc-2.95.2  I'm building in a separate object directory since I'm building for multiple architectures.

I'm getting parse errors when I try to compile gdb/tui/tui-command.c.

Let me know what other information I can provide.
>How-To-Repeat:
$ ./configure --prefix=/opt/gdb-6.1
[...]
$ make
[...]
make[1]: Entering directory `/src/gnu/gdb-6.1/obj/solaris9/gdb'
gcc -c -g -O2    -I. -I../../../src/gdb -I../../../src/gdb/config -DLOCALEDIR="\"/opt/gdb-6.1/share/locale\"" -DHAVE_CONFIG_H -I../../../src/gdb/../include/opcode -I../../../src/gdb/../readline/.. -I../bfd -I../../../src/gdb/../bfd -I../../../src/gdb/../include -I../intl -I../../../src/gdb/../intl  -DMI_OUT=1 -DTUI=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Wformat-nonliteral  ../../../src/gdb/tui/tui-command.c
In file included from ../../../src/gdb/tui/tui-command.c:28:
../../../src/gdb/tui/tui-data.h:40: parse error before `WINDOW'
../../../src/gdb/tui/tui-data.h:40: warning: no semicolon at end of struct or union
../../../src/gdb/tui/tui-data.h:52: parse error before `}'
../../../src/gdb/tui/tui-data.h:224: field `data_window' has incomplete type
../../../src/gdb/tui/tui-data.h:278: field `generic' has incomplete type
In file included from ../../../src/gdb/tui/tui-command.c:29:
../../../src/gdb/tui/tui-win.h:42: parse error before `tui_border_ulcorner'
../../../src/gdb/tui/tui-win.h:42: warning: type defaults to `int' in declaration of `tui_border_ulcorner'
../../../src/gdb/tui/tui-win.h:42: warning: data definition has no type or storage class
../../../src/gdb/tui/tui-win.h:43: parse error before `tui_border_urcorner'
../../../src/gdb/tui/tui-win.h:43: warning: type defaults to `int' in declaration of `tui_border_urcorner'
../../../src/gdb/tui/tui-win.h:43: warning: data definition has no type or storage class
../../../src/gdb/tui/tui-win.h:44: parse error before `tui_border_lrcorner'
../../../src/gdb/tui/tui-win.h:44: warning: type defaults to `int' in declaration of `tui_border_lrcorner'
../../../src/gdb/tui/tui-win.h:44: warning: data definition has no type or storage class
../../../src/gdb/tui/tui-win.h:45: parse error before `tui_border_llcorner'
../../../src/gdb/tui/tui-win.h:45: warning: type defaults to `int' in declaration of `tui_border_llcorner'
../../../src/gdb/tui/tui-win.h:45: warning: data definition has no type or storage class
../../../src/gdb/tui/tui-win.h:46: parse error before `tui_border_vline'
../../../src/gdb/tui/tui-win.h:46: warning: type defaults to `int' in declaration of `tui_border_vline'
../../../src/gdb/tui/tui-win.h:46: warning: data definition has no type or storage class
../../../src/gdb/tui/tui-win.h:47: parse error before `tui_border_hline'
../../../src/gdb/tui/tui-win.h:47: warning: type defaults to `int' in declaration of `tui_border_hline'
../../../src/gdb/tui/tui-win.h:47: warning: data definition has no type or storage class
../../../src/gdb/tui/tui-command.c: In function `tui_dispatch_ctrl_char':
../../../src/gdb/tui/tui-command.c:51: `WINDOW' undeclared (first use in this function)
../../../src/gdb/tui/tui-command.c:51: (Each undeclared identifier is reported only once
../../../src/gdb/tui/tui-command.c:51: for each function it appears in.)
../../../src/gdb/tui/tui-command.c:51: `w' undeclared (first use in this function)
../../../src/gdb/tui/tui-command.c:81: warning: implicit declaration of function `wgetch'
../../../src/gdb/tui/tui-command.c:82: `ERR' undeclared (first use in this function)
../../../src/gdb/tui/tui-command.c:89: `KEY_PPAGE' undeclared (first use in this function)
../../../src/gdb/tui/tui-command.c:91: `KEY_NPAGE' undeclared (first use in this function)
../../../src/gdb/tui/tui-command.c:108: `KEY_DOWN' undeclared (first use in this function)
../../../src/gdb/tui/tui-command.c:109: `KEY_SF' undeclared (first use in this function)
../../../src/gdb/tui/tui-command.c:112: `KEY_UP' undeclared (first use in this function)
../../../src/gdb/tui/tui-command.c:113: `KEY_SR' undeclared (first use in this function)
../../../src/gdb/tui/tui-command.c:116: `KEY_RIGHT' undeclared (first use in this function)
../../../src/gdb/tui/tui-command.c:119: `KEY_LEFT' undeclared (first use in this function)
../../../src/gdb/tui/tui-command.c:103: warning: unreachable code at beginning of switch statement
make[1]: *** [tui-command.o] Error 1
make[1]: Leaving directory `/src/gnu/gdb-6.1/obj/solaris9/gdb'
make: *** [all-gdb] Error 2
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]