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

Discussion in 'Perl Misc' started by henk1529@hotmail.com, Jun 2, 2005.

  1. Guest

    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.
    , Jun 2, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. marko sarunac
    Replies:
    0
    Views:
    574
    marko sarunac
    Nov 17, 2003
  2. ninth

    xlC,xlC_r

    ninth, May 24, 2004, in forum: C++
    Replies:
    0
    Views:
    415
    ninth
    May 24, 2004
  3. ninth

    xlC,xlC_r

    ninth, May 24, 2004, in forum: C++
    Replies:
    1
    Views:
    662
    Sumit Rajan
    May 24, 2004
  4. Manfred Schwab
    Replies:
    5
    Views:
    1,164
    Chris Liechti
    Nov 6, 2004
  5. Chris
    Replies:
    3
    Views:
    914
    Sisyphus
    Jun 29, 2005
Loading...

Share This Page