link error for shared X libs under sys V 386

George Petrou georgep at cscnj.UUCP
Tue Jul 10 01:02:15 AEST 1990


I am working on a 386 box under AT&T Unix System V rel. 3.2.2.
I am trying to link a very small test program for X windows.
Note that I am linking with a shared X library. The test program
is only a few lines long( just simple X lib calls). When I try
to link the linker(ld) returns with : 
"ld fatal : archive symbol directory in archive /usr/X/lib/libX11_s.a
is too large".
Question : What do I have to do in order to succesfully link ?
What does the linker do when it uses the archive library ?
Does it read the whole archive directory ? What are some of the
linker's tables limits ? In what other cases is the same error
message generated ? 
I have never used shared libs before but  I have succesfully linked
with the shared lib version of the standard C  lib. Thus it seems
that the X lib is testing some linker limitation. Am I correct ?
I have posted the same question about a week ago with one  email
answer. The person suggested that I split the X lib into two small
ones. How does one go about splitting shared libs ? Just split the
archive( host lib ) or should something be done to the target lib.
I would appreciate any pointers and suggestions. Email responses
are fine at ..rutgers!cscnj!georgep.  Thanks in advance !!

-- 
George Petrou  Computer Sciences Corporation  
371 Hoes Lane. Piscataway NJ 08854 --- (201)981-9119 X6489
....!rutgers.rutgers.edu!cscnj!georgep



More information about the Comp.sys.att mailing list