home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / hp / 8694 < prev    next >
Encoding:
Text File  |  1992-07-29  |  1.8 KB  |  35 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!udel!louie!udel.edu!neal
  3. From: neal@neal.ctd.comsat.com (Neal Becker)
  4. Subject: -lPW problems again!
  5. Message-ID: <NEAL.92Jul29163818@neal.ctd.comsat.com>
  6. Sender: usenet@udel.edu (USENET News Service)
  7. Nntp-Posting-Host: neal.ctd.comsat.com
  8. Organization: COMSAT Labs
  9. Date: Wed, 29 Jul 1992 21:38:18 GMT
  10. Lines: 22
  11.  
  12. OK, I thought I had this think licked.  It says:
  13.       regcmp and regex are kept in /lib/libPW.a.  Unfortunately,
  14.       /lib/libPW.a also contains some functions that have the same names as
  15.       functions contained in the default C library, /lib/libc.a.  To prevent
  16.       unexpected results due to these name conflicts, always search libc
  17.       before searching libPW.  This is done with the ld (or cc) command line
  18.       option sequence -lc -lPW which satisifies all standard C functions
  19.       from libc then searches libPW for the regcmp and regex functions
  20.       (there is also an implied -lc following the explicit -lPW to satisfy
  21.       any additional C functions required by regcmp and regex).
  22.  
  23. So why do I get this?
  24.  
  25. /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
  26.  
  27.  
  28.  
  29.  
  30.  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
  31. /bin/ld: Unsatisfied symbols:
  32.    free (code)
  33.    malloc (code)
  34.    write (code)
  35.