LinuxQuestions.org
Social Bookmarking all things Linux and Open Source
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

Tags used in this thread
Popular LQ Tags , , ,

Reply
 
Thread Tools
Old 11-24-2007, 11:06 AM   #1
SteveK1979
Member
 
Registered: Feb 2004
Location: Hampshire, UK
Distribution: Slackware 10.0+12.0, OpenBSD-4.1, Solaris 8+9, Mac OS X.3.9, NetBSD/alpha
Posts: 177
Thanked: 0
Post Compile perl-5.8.8 on Solaris 9 using Sun C compiler


[Log in to get rid of this advertisement]
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
SteveK1979 is offline  
Tag This Post , , ,
Reply With Quote

Reply

Bookmarks


Thread Tools

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 4 03-05-2006 09:04 PM
Sun solaris 10 khdo80 Linux - Software 3 02-17-2005 01:04 PM
Aquiring Sun Solaris OS valsus Solaris / OpenSolaris 1 11-22-2004 11:08 PM
problems installing sun java compiler in mandrake 10.0 ranger225 Linux - Newbie 2 09-13-2004 07:20 AM
C-Compiler for SUN - NEED HELP jmarsh Solaris / OpenSolaris 1 02-26-2003 09:34 PM


All times are GMT -5. The time now is 04:18 PM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration