home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / hp / 12593 < prev    next >
Encoding:
Text File  |  1992-11-06  |  1.9 KB  |  53 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!destroyer!sol.ctr.columbia.edu!eff!world!wdm
  3. From: wdm@world.std.com (Wayne D Michael)
  4. Subject: Re: Where is regcmp on HP 9000/750?
  5. Message-ID: <Bx9HB5.My9@world.std.com>
  6. Keywords: regular expression HP
  7. Organization: The World, via PC Pursuit from Fullerton CA
  8. References: <Bx7x2M.Dzz@world.std.com>
  9. Date: Thu, 5 Nov 1992 21:06:40 GMT
  10. Lines: 41
  11.  
  12. Thanks for answering my question everyone, here is one of the answers
  13. I recieved via. e-mail.
  14.  
  15. =====================================================
  16.  
  17. ) /lib/dld.sl: Unresolved symbol: regcmp(code) from /usr/lib/Motif1.1/libXm.sl
  18.  
  19. from man regcmp:
  20.  
  21.       regcmp and regex are kept in /lib/libPW.a, and are linked by using the
  22.       -lc and -lPW options to the ld or cc command.  See WARNINGS below.
  23.  
  24. ...
  25.  
  26.  WARNINGS
  27.       regcmp and regex are kept in /lib/libPW.a.  Unfortunately,
  28.       /lib/libPW.a also contains some functions that have the same names as
  29.       functions contained in the default C library, /lib/libc.a.  To prevent
  30.       unexpected results due to these name conflicts, always search libc
  31.       before searching libPW.  This is done with the ld (or cc) command line
  32.       option sequence -lc -lPW which satisifies all standard C functions
  33.       from libc then searches libPW for the regcmp and regex functions
  34.       (there is also an implied -lc following the explicit -lPW to satisfy
  35.       any additional C functions required by regcmp and regex).
  36.  
  37.       User programs that use regcmp might run out of memory if regcmp is
  38.       called iteratively without freeing vectors that are no longer
  39.       required.
  40.  
  41.  
  42.                                 -andre.
  43.  
  44. ---
  45. Andre Srinivasan  : Disclaimer: 
  46. Neurophysiology   :    If my employer knew that I expressed opinions, not
  47. Children's Hosp.  :    only would they disavow knowledge that I had them,
  48. andre@cs.pitt.edu :    but they would deny that I existed, just in case.
  49.  
  50. -- 
  51. Wayne Michael
  52. wdm@world.std.com
  53.