build/2111: parse error before taskid_t

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

build/2111: parse error before taskid_t

francesco.rotondella

>Number:         2111
>Category:       build
>Synopsis:       parse error before taskid_t
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 07 09:38:01 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     [hidden email]
>Release:        6.4.50
>Organization:
>Environment:
Solaris 2.8
>Description:
Compiling the GDB source this error occurs:
gcc -c -g -O2     -I. -I.././gdb -I.././gdb/config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I.././gdb/../include/opcode -I.././gdb/../readline/.. -I../bfd -I.././gdb/../bfd -I.././gdb/../include -I../intl -I.././gdb/../intl  -DMI_OUT=1 -DTUI=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wformat-nonliteral -Wunused-label -Wunused-function -Wuninitialized .././gdb/procfs.c
In file included from .././gdb/procfs.c:38:
/usr/include/sys/procfs.h:153: error: parse error before "taskid_t"
/usr/include/sys/procfs.h:157: error: parse error before '}' token
/usr/include/sys/procfs.h:269: error: parse error before "taskid_t"
...

I've also downloaded the current CVS (as suggested in some forums) but this problem still occurrs.
>How-To-Repeat:

>Fix:

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