Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!IBM.COM!dan From: dan@IBM.COM (Walt Daniels) Newsgroups: comp.windows.x.motif Subject: Shared Motif libraries on RISC System/6000 Message-ID: <032291.155155.dan@ibm.com> Date: 22 Mar 91 20:51:55 GMT Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 27 >Has anyone made shared Motif 1.1.1 libraries on an IBM RS/6000? >Jalovaara It is a known problem and being worked on. The problem appears to be that there is a Vendor.c in both Xt and Xm and the wrong one is used because of the shared library implementation. I am not enough of an expert on Xt to be sure but roughly what has to be done is similar to what SUN has done to solve their shared library problems. You have to hook Vendor.c in Xt and create an additional pointer to the pointer to the vendor class stuff. You also have to hook XtToolkitInitialize to put the right address in that pointer. You then need to build a shared Xt that has sharedlib.c marked as unshared. If this hint is enough to get it working let me know. If it is flawed I would also be interested. I will in fact try to generate and test such a solution sometime after next week. If I solve the problem I will give the solution to the product people. Meanwhile the "real" product people are also working on the problem. You should report the problem though your normal problem reporting process, 1-800-237-5511 (you need to know your customer number). That way you should get notified when a fix is available. Walt Daniels IBM Research (not part of the product division)