John Harper <[EMAIL PROTECTED]> wrote:
On Wednesday, Mar 12, 2003, at 16:55 US/Pacific, Benjamin Reed wrote: > KDE has a number of bits that link OpenGL that are libtool modules. > Libtool modules translate into bundles that are linked with > -flat_namespace. Unfortunately, this breaks with the redirection that > goes on to allow indirect GL in Apple's X11.
That's unfortunate - is there no way to link the modules in two-level namespace mode? Why does it break?
John,
I don't know what the situation is with KDE, but I brought this up a month or two ago regarding any package that links to the lesstif or openMotif libs.
The strategy of the Motif folks is to extend the functionality of certain X11 libs by resolving some symbols which would normally be handled by X11. This works great with -flat_namespace, but we were never able to get it to work with two-level namespaces.
Isn't this because the Motif folks are behind the times? :-) It used to be necessary to use -flat_namespace with any binary that included libXm because it overrode some things pulled in by the then two-level namespace libXt. But libXt has been reverted to being a flat namespace image to avoid this problem since XFree86 4.2.0.1. In theory no binary that uses libXm should have to link with -flat_namespace as long as you have a recent version of libXt. If there are other reasons for needing to use flat namespace binary images I'd like to hear of them because they could point to additional libraries that need to be flattened. Of course, Apple's current X11 may not include the newer flattened libXt, which would be a cruel Catch-22.
So there is currently an incompatibility between X11.app and any package using both lesstif/openMotif and OpenGL.
When I brought this up before, you or Haroon or somebody said it was going to be fixed in a later version. Well, you probably weren't as explicit as that :-) but I understood that to be the implication.
Perhaps he meant that libXt would become a flat namespace image again which would allow you to stop using -flat_namespace?
--Torrey
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel