I downloaded and built the Fink openmotif3 package which you (Ben Hines <[EMAIL PROTECTED]>) put together. Thank you for making it so easy to get OpenMotif onto Mac OS X!
I've run into a problem, though. When I try to build an OpenMotif application I get complaints from the linker about multiple definitions of ___XEditResCheckMessages in -lXm and -lXmu. For now I've worked around (quick hack alert!) the problem by editting openMotif-2.2.2/lib/Xm/EditresCom.c and changing _XEditResCheckMessages to _XEditResCheckMessagesFoobar, but this is obviously not the right solution. I think the problem is that EditresCom.o in /usr/X11R6/lib/libXmu.6.2.dylib defines a lot more global symbols than just _XEditResCheckMessages, so the linker has to pull in EditresCom.o from -lXmu even though EditresCom.o has already been brought in from -lXm to provide _XEditResCheckMessages. Does this mean the fix has to be done by the Xmu maintainers? What I found really confusing was that I got the `multiply defined' error message even when I removed the -lXmu from my application's link command! Any suggestions? Would it be safe to put -lXmu *before* -lXm on the linker command line? Thanks, -- Eric Norum <[EMAIL PROTECTED]> Department of Electrical Engineering University of Saskatchewan Saskatoon, Canada. Phone: (306) 966-5394 FAX: (306) 966-5407 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Caffeinated soap. No kidding. http://thinkgeek.com/sf _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
