develooper Front page | perl.perl5.porters | Postings from November 2003

[perl #24499] perl 5.8.0/Solaris 64 bit build

Thread Previous | Thread Next
From:
Liu, Phillip
Date:
November 16, 2003 07:45
Subject:
[perl #24499] perl 5.8.0/Solaris 64 bit build
Message ID:
rt-24499-67494.13.6780426328513@rt.perl.org
# New Ticket Created by  "Liu, Phillip" 
# Please include the string:  [perl #24499]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=24499 >


Hi guys,

I am wondering if anyone out there can help me. 
I am trying to build the 64 bit version of perl 5.8.0 under solaris 2.8 and
the following compile errors pop up on perlio.c:

/opt/SUNWspro/bin/cc -DPERL_CORE -c -I/usr/local/include
-I/opt/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v9 -O
perlio.c
"perlio.c", line 2761: undefined struct/union member: _ptr
"perlio.c", line 2769: improper member use: _ptr
"perlio.c", line 2866: undefined struct/union member: _base
"perlio.c", line 2873: undefined struct/union member: _cnt
"perlio.c", line 2873: undefined struct/union member: _ptr
"perlio.c", line 2873: undefined struct/union member: _base
"perlio.c", line 2882: undefined struct/union member: _ptr
"perlio.c", line 2889: undefined struct/union member: _cnt
"perlio.c", line 2898: undefined struct/union member: _ptr
"perlio.c", line 2898: warning: improper pointer/integer combination: op "="
"perlio.c", line 2918: undefined struct/union member: _cnt
cc: acomp failed for perlio.c

It works fine when building for 32 bits. The difference in this case being
there is no "-xarch=v9" flag provided to the cc command.

Any suggestions.

Thanks.
Phil


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About