Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > problems compiling perl 586 on AIX 5.2. ML4 using xlc_r compiler

Reply
Thread Tools

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

 
 
henk1529@hotmail.com
Guest
Posts: n/a
 
      06-02-2005
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.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SilverStone SG01 SFF Case Video Review #586: Silverstrand Front Page News 1 08-07-2005 05:11 AM
Compiling Perl modules on AIX using gcc instead of cc_r? Chris Perl Misc 3 06-29-2005 07:04 AM
xlC,xlC_r ninth C++ 1 05-24-2004 07:21 AM
xlC,xlC_r ninth C++ 0 05-24-2004 07:13 AM
problem compiling perl source on AIX 5.1.0.0 using GCC marko sarunac Perl 0 11-17-2003 07:21 PM



Advertisments