home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / x / 14233 < prev    next >
Encoding:
Text File  |  1992-07-22  |  1.3 KB  |  34 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!cs.utexas.edu!convex!convex!datri
  3. From: datri@convex.com (Anthony A. Datri)
  4. Subject: Re: -lPW causes problems building R5 on HP 9000/700s
  5. Message-ID: <1992Jul23.012711.12770@news.eng.convex.com>
  6. Sender: usenet@news.eng.convex.com (news access account)
  7. Nntp-Posting-Host: lovecraft.convex.com
  8. Organization: Engineering, CONVEX Computer Corp., Richardson, Tx., USA
  9. References: <1992Jul22.220419.9528@elroy.jpl.nasa.gov>
  10. Date: Thu, 23 Jul 1992 01:27:11 GMT
  11. X-Disclaimer: This message was written by a user at CONVEX Computer
  12.               Corp. The opinions expressed are those of the user and
  13.               not necessarily those of CONVEX.
  14. Lines: 18
  15.  
  16. >    #define ExtraLibraries          -lPW
  17.  
  18. >        cc -o makedepend include.o main.o parse.o pr.o cppsetup.o -O -z    -lPW 
  19. >/bin/ld: Duplicate symbol "fatal" in /lib/libPW.a(fatal.o)
  20. >/bin/ld: Unsatisfied symbols:
  21. >   Error (data)
  22. >/bin/ld: Found 1 duplicate symbol(s)
  23. >*** Error code 1
  24.  
  25. As I understand it, libPW.a duplicates some symbols that are in libc.
  26. To work around this, explicitly search libPW before libc:
  27.  
  28.     #define ExtraLibraries        -lc -lPW
  29.  
  30. I wish these functions were just in libc where they belong (sigh).
  31. -- 
  32.  
  33. ======================================================================8--<
  34.