This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/5804: parse error before "crid_t" on AIX 4.3.3.0
- From: fkim at atg dot com
- To: gcc-gnats at gcc dot gnu dot org
- Cc: ccook at atg dot com
- Date: 1 Mar 2002 18:42:08 -0000
- Subject: c/5804: parse error before "crid_t" on AIX 4.3.3.0
- Reply-to: fkim at atg dot com
>Number: 5804
>Category: c
>Synopsis: parse error before "crid_t" on AIX 4.3.3.0
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Mar 01 10:46:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: fkim@atg.com
>Release: gcc 3.0.1
>Organization:
>Environment:
AIX 4.3.3.0
>Description:
When I build Apache 1.3.22 on AIX 4.3.3.0 using gcc 3.0.1
I get this error. I believe is the problem is because
crid_t is not defined in
/usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/3.0.1/include.
Is the problem because I installed the wrong gcc? We
installed the latest gcc listed for 4.3.3 from the
freeware.bull.net site.
Here is the list of errors we get.
gcc -c -I../os/unix -I../include -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -U__STR__ -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite `../apaci` http_main.c
In file included from /usr/include/sys/pri.h:29,
from /usr/include/sys/sched.h:38,
from /usr/include/sched.h:52,
from /usr/include/pthread.h:43,
from http_main.c:616:
/usr/include/sys/proc.h:203: parse error before "crid_t"
/usr/include/sys/proc.h:212: parse error before "p_class"
/usr/include/sys/proc.h:355: parse error before '}' token
make[3]: *** [http_main.o] Error 1
>How-To-Repeat:
Build Apache 1.3.22 on AIX 4.3.3.0 using gcc 3.0.1.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: