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

[perl #24500] RE: perl 5.8.0/Solaris 64 bit build

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


Problem solved. The placement of the -xarch=v9 option must precede the -I
options on the cc command line.
Now everything works.


>  -----Original Message-----
> From: 	Liu, Phillip  
> Sent:	Friday, November 14, 2003 6:06 PM
> To:	'doughera@lafayette.edu'; 'perlbug@perl.org'
> Subject:	perl 5.8.0/Solaris 64 bit build
> 
> 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




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