home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!vnet.ibm.com
- From: russotto@vnet.ibm.com (Matthew T. Russotto)
- Message-ID: <19921119.060317.13@almaden.ibm.com>
- Date: Thu, 19 Nov 92 09:00:30 EST
- Newsgroups: comp.unix.aix
- Subject: Re: warnings from 'ld' when building shared lib
- Disclaimer: This posting represents the poster's views, not those of IBM
- News-Software: UReply 3.0
- References: <478@bertha.HyperDesk.com>
- Lines: 17
-
- In <478@bertha.HyperDesk.com> Andy Dennie writes:
- >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.
-
-
- You need the 'suppress annoying warnings' option, "-bh:4".
-
-