Re: [Fink-devel] Problems with X11 and Motif libs
On Jul 3,2002 12:17:03 +0200, Karim-Pierre Maalej [EMAIL PROTECTED] wrote : Hi everybody, I am just beginning trying to port Unix software on Mac OS X. The first step is to port the software on Darwin, still using X11 and Motif libs. I have experienced problems, and as I am a user of Fink, I got the idea to ask Fink developers, as you may have experienced the same problems while porting other software. I downloaded xfree86-base, xfree86-rootless, dlcompat and lesstif from Fink. When compiling I get several warnings and then when I launch the compiled file a.out I get these messages : macosx kpm (30): a.out Warning: XmManager ClassInitialize: XmeTraitSet failed Error: attempt to add non-widget child DropSiteManager to parent a.out which supports only widgets Has anybody got an idea about what's wrong? You need to link your program with the linker flag -force_flat_namespace whenever you are using the lesstif libraries. -- Dave --- This sf.net email is sponsored by:ThinkGeek No, I will not fix your computer. http://thinkgeek.com/sf ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Problems with X11 and Motif libs
Le mercredi 3 juillet 2002, à 02:24 , David R. Morrison a écrit : macosx kpm (30): a.out Warning: XmManager ClassInitialize: XmeTraitSet failed Error: attempt to add non-widget child DropSiteManager to parent a.out which supports only widgets Has anybody got an idea about what's wrong? You need to link your program with the linker flag -force_flat_namespace whenever you are using the lesstif libraries. it works fine now, thanks a lot ! -- Karim-Pierre Maalej Caldera Graphics, Strasbourg, France --- This sf.net email is sponsored by:ThinkGeek No, I will not fix your computer. http://thinkgeek.com/sf ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
Re: [Fink-devel] Problems with X11 and Motif libs
Karim-Pierre Maalej wrote: Le mercredi 3 juillet 2002, à 02:24 , David R. Morrison a écrit : macosx kpm (30): a.out Warning: XmManager ClassInitialize: XmeTraitSet failed Error: attempt to add non-widget child DropSiteManager to parent a.out which supports only widgets Has anybody got an idea about what's wrong? You need to link your program with the linker flag -force_flat_namespace whenever you are using the lesstif libraries. it works fine now, thanks a lot ! And in cases where that won't work (as when creating a dynamic library used by an application you don't control), there is an environment variable which will do the job: setenv DYLD_FORCE_FLAT_NAMESPACE jim --- This sf.net email is sponsored by:ThinkGeek No, I will not fix your computer. http://thinkgeek.com/sf ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel