[comp.windows.x] __XtInherit link error

gram@uctcs.uucp (Graham Wheeler) (09/19/90)

I have a problem with compiling a TIFF file viewer for X Windows.
When I run it (under SunOs 4 using shared libraries), I get an

	ld.os: __XtInherit not defined

message. According to the docs, __XtInherit is internal to the 
toolkit intrinsics. I've done a 'nm' on libXt.a and it is 
definitely there. Does anyone have any suggestions? Please
E-mail.

Thanks in advance
Graham Wheeler				"Don't bother me,
					  I'm reading a 'Crisis!'"

gram@uctcs.uucp (Graham Wheeler) (09/24/90)

Sorry, my last posting was missing a proper E-mail address. This one is
correct.

Gram.

gram@uctcs.uucp (Graham Wheeler) (09/24/90)

Well, the joys of networks. I posted my last "correction" to my E-mail
address (which was also incorrect!) from a remote machine from which I
was reading news with 'rn'. This meant that I was unable to cancel the
article, as I was not recognised as the poster. Oh well, our administrator
will try to do it; otherwise I apologise for making two booboos!!

My actual 100% absolutely totally correct e-mail address for replies
concerning XtInherit is given in this article. I'll get out the fire
extinguisher for all the flames due to me...

Graham Wheeler		      |    
Dept. of Computer Science     | Internet: <gram.uctcs@f4.n494.z5.fidonet.org>
University of Cape Town       |     BANG: <...uunet!ddsw1!olsa99!uctcs!gram>

gildea@ALEXANDER.BBN.COM (Stephen Gildea) (09/25/90)

    I have a problem with compiling a TIFF file viewer for X Windows.
    When I run it (under SunOs 4 using shared libraries), I get

	    ld.os: __XtInherit not defined


My guess is that your application is not Xt-based, but you are linking
it with -lXt anyway.  If so, don't link with libXt.  The error you are
getting is a side effect of the shared library.

 < Stephen				Bolt Beranek and Newman Inc.
   gildea@bbn.com			Cambridge, Massachusetts