home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / aix / 11703 < prev    next >
Encoding:
Internet Message Format  |  1992-11-18  |  976 b 

  1. Path: sparky!uunet!know!cass.ma02.bull.com!mips2!news.bbn.com!noc.near.net!bertha!sweetjane.hyperdesk.com!adennie
  2. From: adennie@sweetjane.hyperdesk.com (Andy Dennie)
  3. Newsgroups: comp.unix.aix
  4. Subject: warnings from 'ld' when building shared lib
  5. Message-ID: <478@bertha.HyperDesk.com>
  6. Date: 19 Nov 92 03:12:14 GMT
  7. Sender: usenet@bertha.HyperDesk.com
  8. Reply-To: andy_d@hyperdesk.com
  9. Followup-To: comp.unix.aix
  10. Organization: HyperDesk Corporation, Westboro, MA
  11. Lines: 14
  12.  
  13. I'm trying to create a shared library from a bunch of .o's and some
  14. .a's.  When I do, I get a bunch of warnings like:
  15.  
  16. 0706-223 WARNING:  Local definition of 'foo' replaced by import version. 
  17.  
  18. My link line looks like:
  19.  
  20.   ld -bM:SRE -o shared_lib foo1.o foo2.o libfoo3.a libfoo4.a -E foo.exp
  21.  
  22. The file foo.exp contains the symbols the shared library is to export.
  23. The function 'foo' I'm getting the warning about is not one of them, if
  24. that matters.  Can anybody explain what is going on here?  Thanks.
  25.  
  26. -- 
  27.