UNIX gcg8 linking

Ewan Birney birney at molbio.ox.ac.uk
Sun Apr 23 10:01:30 EST 1995

One for UNIX GCG gurus....

My programs happily call GCG8 C routines on a VMS enviroment, but doing
it on a UNIX box using GCG8 comes up with a run time error of

Error unresolvable symbol in .../.../.../libgenshare.so: cur_term
Fatal Error: Executables have unresolvable symbols

and dies.

Apparently there is a compile time switch -expect_unresolved cur_term in the
GCG source makefile. (this is someone elses system - not mine).  This,
unsurprisingly doesn't do much when included in the makefile for my program.
Probably one would need to recompile the GCG8 source to do this... 
understandably, Denis who is running the site doesn't want to do that!

So the question is: is there a way around this problem in the code which I 
supply. I am only calling GCG routines for extracting sequences (OpenF etc).
What is cur_term in any case and can I "resolve" it in my code to slip around
this problem

Any ideas/hints?

thanks alot

ewan birney

birney at molbiol.ox.ac.uk

More information about the Info-gcg mailing list

Send comments to us at biosci-help [At] net.bio.net