Help answer threads with 0 replies.
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.


  Search this Thread
Old 11-24-2007, 10:06 AM   #1
Registered: Feb 2004
Location: UK
Distribution: RHEL5/6, Solaris 10/11, NetBSD, OpenBSD, FreeBSD, MacOS
Posts: 223

Rep: Reputation: 42
Post Compile perl-5.8.8 on Solaris 9 using Sun C compiler


I'm having a problem compiling Perl 5.8.8 on Solaris 9 using the Sun C compiler that comes as part of Sun Studio 11.

$ /opt/SUNWspro/bin/cc -V
cc: Sun C 5.8 2005/10/13
The error I'm getting is as follows:

/opt/SUNWspro/bin/cc -c    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xO3 -xdepend    -DVERSION=\"1.04_01\"  -DXS_VERSION=\"1.04_01\" -KPIC "-I../../.."   C.c
Running Mkbootstrap for B::C ()
chmod 644
rm -f ../../../lib/auto/B/C/
/opt/SUNWspro/bin/cc  -G -L/usr/lib -L/usr/ccs/lib -L/opt/SUNWspro/prod/lib/v8plus -L/opt/SUNWspro/prod/lib -L/lib -L/usr/local/lib C.o  -o ../../../lib/auto/B/C/  \

ld: fatal: relocation error: file C.o: section .rela.text: invalid relocation type: 0x52
*** Error code 1
make: Fatal error: Command failed for target `../../../lib/auto/B/C/'
Any pointers would be much appreciated - I've not found much of use via Google.



compile, perl, solaris, sun

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference Between Sun, Sun Os & Solaris rajaniyer123 Solaris / OpenSolaris 5 01-04-2010 07:28 AM
Sun solaris 10 khdo80 Linux - Software 3 02-17-2005 12:04 PM
Aquiring Sun Solaris OS valsus Solaris / OpenSolaris 1 11-22-2004 10:08 PM
problems installing sun java compiler in mandrake 10.0 ranger225 Linux - Newbie 2 09-13-2004 06:20 AM
C-Compiler for SUN - NEED HELP jmarsh Solaris / OpenSolaris 1 02-26-2003 08:34 PM > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 12:44 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration