problems compiling perl 586 on AIX 5.2. ML4 using xlc_r compiler

H

henk1529

Hi,

I have difficulties compiling perl-5.8.6 on an AIX 5.2 ML04 system
using the xlc_r version 6.0.0.0 compiler. But if I use the cc_r version
6.0.0.0 compiler it works fine. The error I'm getting using the xlc_r
compiler is;

=> # make
`sh cflags "optimize='-O'" miniperlmain.o` miniperlmain.c
CCCMD = /usr/vac/bin/xlc_r -DPERL_CORE -c -D_ALL_SOURCE
-D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=-1 -qnoansialias
-DUSE_NATIVE_DLOPEN -DNEED_PTHREAD_INIT -I/usr/local/include -q32
-D_LARGE_FILES -qlonglong -O
"perl.h", line 2291.31: 1506-277 (S) Syntax error: possible missing ')'
or ','?
"perl.h", line 2301.26: 1506-277 (S) Syntax error: possible missing ')'
or ','?
"perl.h", line 2301.15: 1506-166 (S) Definition of function filter_t
requires parentheses.
"regexp.h", line 23.2: 1506-137 (E) Declaration must declare at least
one declarator, tag, or the members of an enumeration.
"regexp.h", line 50.17: 1506-194 (S) Incomplete type is not allowed.
"sv.h", line 349.27: 1506-277 (S) Syntax error: possible missing ')' or
','?
"sv.h", line 349.33: 1506-160 (S) Object CV cannot be declared as type
void.
"sv.h", line 376.5: 1506-046 (S) Syntax error.
"cv.h", line 26.30: 1506-277 (S) Syntax error: possible missing ')' or
','?
"cv.h", line 26.36: 1506-160 (S) Object CV cannot be declared as type
void.
"op.h", line 227.5: 1506-277 (S) Syntax error: possible missing ')' or
','?
"op.h", line 231.5: 1506-277 (S) Syntax error: possible missing ')' or
','?
"op.h", line 236.5: 1506-277 (S) Syntax error: possible missing ')' or
','?
"op.h", line 242.5: 1506-277 (S) Syntax error: possible missing ')' or
','?
make: 1254-004 The error code from the last command is 1.
Stop.


The reason why I want to use the xlc_r compiler is because I want to
compile the DBD-Oracle-1.16 Oracle DB driver. I'm running in problems
there too but it states that you should compile perl using the xlc_r
compiler.

Does anyone know why I'm getting the above error and how to fix it?

Thanks Henk.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top