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