Article View: comp.windows.interviews
Article #219Re: Where the heck is glue.c for 3.1beta?
From: David Morandi
Date: Tue, 11 Aug 1992 07:14
Date: Tue, 11 Aug 1992 07:14
27 lines
1859 bytes
1859 bytes
In article <odiopr0@fido.asd.sgi.com> linton@marktwain.rad.sgi.com (Mark Linton) writes: > In article <sand.712692701@milton>, sand@milton.u.washington.edu (Derek Upham) writes: > |> I pulled the 3.1beta distribution from interviews.stanford.edu, and > |> managed to compile it with g++ 2.2, but I can't link sample programs. > |> Each one gives a "can't find _xt$ivGlue" error and dies. While glue2_6.c > |> does exist for the IV-2_6 directories, there is no sign of a > |> corresponding glue.c in the 3.1 directories---just a lone header file, > |> without even a man page. Does anyone have a glue.c suitable for 3.1beta? > > The glue implementation is in lib/InterViews/layout.c in 3.1-beta. > A command such as "grep Glue:: */*.c" from lib might be helpful > in the future to locate implementations. I think I just figured out the correction to fix these link errors (but I'm not sure since some executables like dclock and ibuild still crash for me): If you compile the 3.1beta using Mike Stump's patches for 3.0.1 as a model you will have put "#pragma interface" in layout.h and "#pragma implementation" in layout.c. But layout.c is the one exception to the pattern because it implements the class defined in glue.h as well as the class defined in layout.h. As a result the lines added to the beginning of layout.c should read as follows: #ifdef __GNUC__ #pragma implementation #pragma implemnatation "glue.h" #endif
Technical Details
Message-ID:
<1992Aug11.071437.7253@xymox.palo-alto.ca.us>Path:
arc1-ca.pugleaf.net!sparky!uunet!psinntp!xymox!davemReferences:
<sand.712692701@milton> <odiopr0@fido.asd.sgi.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews Path: arc1-ca.pugleaf.net!sparky!uunet!psinntp!xymox!davem From: davem@xymox.palo-alto.ca.us (David Morandi) Subject: Re: Where the heck is glue.c for 3.1beta? Message-ID: <1992Aug11.071437.7253@xymox.palo-alto.ca.us> Organization: Jade and Jett Incorporated References: <sand.712692701@milton> <odiopr0@fido.asd.sgi.com> Date: Tue, 11 Aug 1992 07:14:37 GMT Lines: 28