[comp.windows.x.motif] Motif 1.1 on Suns

dms@ai.mit.edu (David M. Siegel) (11/16/90)

I'm building Motif 1.1 on a Sun.  The compile completes without any significant problems.  When I run "uil", however, I the dynamic linker tells me that "__XtInherit" is undefined.  Running "nm" on libXt.sa.4.0 indicates that "__XtInherit" is defined.  The "uil" program is being linked with this library.  Any ideas on why this would happen?

Also, has anyone modified the Motif 1.1 config directory to build shared Sun libraries for Xm and Mrm?

Thanks,

-Dave

juemin@hera.Salomon.Com (Juemin Sun) (11/17/90)

dms@ai.mit.edu (David M. Siegel) wrote: 

>I'm building Motif 1.1 on a Sun.  The compile completes without any
significant problems.  When I run "uil", >however, I the dynamic linker
tells me that "__XtInherit" is undefined.  Running "nm" on libXt.sa.4.0
>indicates that "__XtInherit" is defined.  The "uil" program is being
linked with this library.  Any ideas on >why this would happen?

I had this problem also when I compiled Motif 1.1. According OSF, the
fix is to add the following
in the line 333 of UilMain.c:
		XtToolkitInitialize();

>Also, has anyone modified the Motif 1.1 config directory to build
shared Sun libraries for Xm and Mrm?

I have compiled Xm and Mrm into shared libraries. That involves adding
some parameters and rules
in Motif.tmpl and modifying some Imakefile files.


juemin@hera.sbi.com