This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Incorrect error message in egcs 1.01


Hi,
	The following error message is incorrect. 

---
ld: fatal: too many symbols require "small" PIC references:
        have 2073, maximum 2048 -- recompile some modules -K PIC.
collect2: ld returned 1 exit status
gmake: *** [libbe.so] Error 1            
---

The correct option is -fPIC ...

Cheers,
Achint

-- 
Achint Sandhu
Nortel

...Our continuing mission: to seek out knowledge of C, C++ and ObjC,
to explore strange unix commands, and to boldly code where no one
has man page 4."
	
	[adapted from The Linux Programmer's Guide 0.3]


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]