Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!unipalm.co.uk!richard From: richard@unipalm.co.uk (Richard) Newsgroups: comp.windows.x.motif Subject: What is libPW.a? Where is it on Ultrix 3.1/VMS 5.3? Message-ID: <9008070855.AA01267@xtech.> Date: 7 Aug 90 08:55:41 GMT References: <5503@castle.ed.ac.uk> Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: richard@unipalm.co.uk Distribution: inet Organization: The Internet Lines: 31 > > Pages 36 and 63 of the Programmer's Guide Part 1 (Toolkit) tell us that > the XmFileSelectionBox widget requires the libPW.a library to function > properly, but we have been unable to find libPW.a anywhere within the > Ultrix distribution or the Motif binary distribution provided by DEC. > Although the application can be linked without -lPW and without yielding > errors, when we do so, the structure returned by XmFileSelectionBox > appears to contain a garbage .value field. We admit the possibility > that our code may contain errors, but in view of the remarks in the > Programmer's Manual, it seems quite possible that the problem lies in > the missing library libPW.a; our helpful DEC support are making > enquiries through their own channels. In the meantime, I wonder if any > friends on the net can help us by explaining what libPW.a is and where we > should expect to find it? > I have come across this problem before (well, a similar manifestation anyway). On HP workstations, the regcmp and regex routines required by the File selection Box to do its pattern matching are not in the standard C library, but in (you guessed it...) libPW.a . Therefore, when using an HP (9000/340 in my case), you must link with this library. This library is definately not present or required for Suns, and I can't speak for Dec machines, but assume that it is also not required there. Richard Nuttall richard@xtech.uucp XTech, Cambridge, England ukc!acorn!unipalm!xtech!richard Tel: +44 954 211862 richard@unipalm.uucp