ld: fatal: too many symbols require `small' PIC references

A

adisabat

Hi


I was linking a lot of libraries on Solaris10 sun studio 12 and I got
the following errors:


ld: fatal: too many symbols require `small' PIC references:
have 3942, maximum 2048 -- recompile some modules -K PIC.
*** Error code 1
make: Fatal error: Command failed for target

of course I tried to re-compile my code using -K PIC I mean c-code,
but it did not solve my problem

The option for linking are: CC -g -qoption ld -i -G

any idea please?

Rgds
Antonio
 
I

Ian Collins

Hi


I was linking a lot of libraries on Solaris10 sun studio 12 and I got
the following errors:


ld: fatal: too many symbols require `small' PIC references:
have 3942, maximum 2048 -- recompile some modules -K PIC.
*** Error code 1
make: Fatal error: Command failed for target
The error says it all. I see you have also asked on
comp.unix.programmer. One of the Sun Studio forums would have been more
appropriate.
 
K

Keith Thompson

Ian Collins said:
The error says it all. I see you have also asked on
comp.unix.programmer. One of the Sun Studio forums would have been more
appropriate.

Or comp.unix.solaris.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top