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