473,387 Members | 3,684 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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

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


Oct 22 '08 #1
2 3253
ad******@gmail.com wrote:
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.

--
Ian Collins
Oct 22 '08 #2
Ian Collins <ia******@hotmail.comwrites:
ad******@gmail.com wrote:
>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.
Or comp.unix.solaris.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
Nokia
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
Oct 23 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: glaserp | last post by:
Hi, I am developing a Windows application with C# in Visual Stuio .NET. My application references three assemblies that are developed in another project. I have added these assemblies as...
9
by: Aguilar, James | last post by:
I know that one can define an essentially unlimited number of classes in a file. And one can declare just as many in a header file. However, the question I have is, should I? Suppose that, to...
5
by: eScrewDotCom | last post by:
www.eScrew.com eScrew Welcome to eScrew! eScrew is eScrew and this is eScrew story. eScrew will tell you eScrew story if you promise eScrew to consider eScrew story as joke. eScrew story is...
1
by: Hendrik Schober | last post by:
Hi, I have some header files that contain macros in a special syntax. These files are used with various tools that extract information from these macros. One of these tools is cl.exe....
7
by: Lance Barger | last post by:
I have been developing several web applications in VB.NET. I have started to notice that when I run one of the applications, all the assemblies for that application get loaded PLUS all the...
47
by: Pierre Barbier de Reuille | last post by:
Please, note that I am entirely open for every points on this proposal (which I do not dare yet to call PEP). Abstract ======== This proposal suggests to add symbols into Python. Symbols...
351
by: CBFalconer | last post by:
We often find hidden, and totally unnecessary, assumptions being made in code. The following leans heavily on one particular example, which happens to be in C. However similar things can (and...
4
by: =?Utf-8?B?VzFsZDBuZTc0?= | last post by:
When one architects a new project one of the first steps in the decision is to decide on the layers. (In my opinion anyway) One architecture that I have used before is to go solid OO and create...
6
by: Andy Leese | last post by:
Beginner Question: ASCII Symbols I am using Borland C++ and programming under DOS. I wish to display the symbols of the early ASCII character set... For example: cout << char(7); ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.