Re: Missing library symbol table (221 Views)
Reply
Occasional Contributor
Wayne Johnson_3
Posts: 6
Registered: ‎09-15-2005
Message 1 of 4 (221 Views)
Accepted Solution

Missing library symbol table

I've just switched from the gcc compiler to the ansic C compiler. I am getting the error:

ld: Missing library symbol table in ../lib_native64/archive/libmqsutil.a
Fatal error.

From what I can see with nm, the archive is valid. All the compiles work fine. I'm creating both +DAportable and +DD64 versions of each module, keeping them seperate in different object directories and archives of course. The +DAportable archive works fine but the 64 bit fails.

Any ideas what would cause this?
Esteemed Contributor
ranganath ramachandra
Posts: 375
Registered: ‎05-16-2003
Message 2 of 4 (221 Views)

Re: Missing library symbol table

there is a problem with archive libraries built with the GNU ar, rather than the hpux ar (/usr/ccs/bin/ar). perhaps you could rebuild that archive library and try lining again.
Esteemed Contributor
Vibhor Kumar Agarwal
Posts: 787
Registered: ‎04-05-2005
Message 3 of 4 (221 Views)

Re: Missing library symbol table

Have you run strip on that library.
Vibhor Kumar Agarwal
Occasional Contributor
Wayne Johnson_3
Posts: 6
Registered: ‎09-15-2005
Message 4 of 4 (221 Views)

Re: Missing library symbol table

I was using the gcc ar command. Thanks for the answer.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.