LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

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

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


Hi,

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.

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

Code:
/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 C.bs
rm -f ../../../lib/auto/B/C/C.so
/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/C.so  \
        \

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/C.so'
Any pointers would be much appreciated - I've not found much of use via Google.

Cheers,
Steve
 
  


Reply

Tags
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


All times are GMT -5. The time now is 10:43 AM.

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