home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp
- Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!udel!louie!udel.edu!neal
- From: neal@neal.ctd.comsat.com (Neal Becker)
- Subject: -lPW problems again!
- Message-ID: <NEAL.92Jul29163818@neal.ctd.comsat.com>
- Sender: usenet@udel.edu (USENET News Service)
- Nntp-Posting-Host: neal.ctd.comsat.com
- Organization: COMSAT Labs
- Date: Wed, 29 Jul 1992 21:38:18 GMT
- Lines: 22
-
- OK, I thought I had this think licked. It says:
- regcmp and regex are kept in /lib/libPW.a. Unfortunately,
- /lib/libPW.a also contains some functions that have the same names as
- functions contained in the default C library, /lib/libc.a. To prevent
- unexpected results due to these name conflicts, always search libc
- before searching libPW. This is done with the ld (or cc) command line
- option sequence -lc -lPW which satisifies all standard C functions
- from libc then searches libPW for the regcmp and regex functions
- (there is also an implied -lc following the explicit -lPW to satisfy
- any additional C functions required by regcmp and regex).
-
- So why do I get this?
-
- /a/flyhalf/images/X11R4/contrib/clients/xmgr-2.07% cc main.o xmgr.o events.o malerts.o fileswin.o blockwin.o eblockwin.o printwin.o drawwin.o comwin.o compwin.o setwin.o ptswin.o editpwin.o regionwin.o statuswin.o symwin.o tickwin.o graphwin.o worldwin.o strwin.o labelwin.o locatewin.o framewin.o monwin.o plotone.o stubs.o files.o utils.o drawticks.o fit.o fourier.o io.o graphutils.o graphutils2.o setutils.o setprops.o regionutils.o objutils.o computils.o defaults.o checkon.o params.o getparms.o compute.o
-
-
-
-
- xvlib.o draw.o ps.o mif.o hp.o chersh.o pars.o WidgetWrap.o motifutils.o -o xmgr -L/usr/lib/X11R4 -L/usr/lib/Motif1.1 -lXm -lXt -lX11 -lm -lc -lPW
- /bin/ld: Unsatisfied symbols:
- free (code)
- malloc (code)
- write (code)
-