# 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