home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.windows.x:14198 comp.sys.hp:8399
- Path: sparky!uunet!dtix!darwin.sura.net!mips!swrinde!elroy.jpl.nasa.gov!euclid.JPL.NASA.GOV!pjs
- From: pjs@euclid.JPL.NASA.GOV (Peter J. Scott)
- Newsgroups: comp.windows.x,comp.sys.hp
- Subject: -lPW causes problems building R5 on HP 9000/700s
- Message-ID: <1992Jul22.220419.9528@elroy.jpl.nasa.gov>
- Date: 22 Jul 92 22:04:19 GMT
- Sender: news@elroy.jpl.nasa.gov (Usenet)
- Reply-To: pjs@euclid.jpl.nasa.gov
- Followup-To: comp.windows.x
- Organization: Jet Propulsion Laboratory, NASA/Caltech
- Lines: 36
- Nntp-Posting-Host: euclid.jpl.nasa.gov
-
- When building R5.13 on an HP 9000/750 running HP-UX 8.07, it
- seemed like a good idea to add to config/hp.cf the line
-
- #define ExtraLibraries -lPW
-
- I built R5.12 successfully once, remembered this afterward, then
- added it before building patch 13. Lo & behold, make World failed
- with:
-
- make -b depend
- depending in ./config...
- checking .././util/makedepend/makedepend over in .././util/makedepend first...
- cc -O -z -I../.././config -I../../. -DSYSV '-DINCLUDEDIR="/usr/include"' -c include.c
- cc -O -z -I../.././config -I../../. -DSYSV '-DINCLUDEDIR="/usr/include"' -c main.c
- cc -O -z -I../.././config -I../../. -DSYSV '-DINCLUDEDIR="/usr/include"' -c parse.c
- cc -O -z -I../.././config -I../../. -DSYSV '-DINCLUDEDIR="/usr/include"' -c pr.c
- cc -O -z -I../.././config -I../../. -DSYSV '-DINCLUDEDIR="/usr/include"' -c cppsetup.c
- if [ -f makedepend ]; then rm -f makedepend~; mv -f makedepend makedepend~; fi
- 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
-
- Stop.
-
- So, I took it out. But that -lPW is pretty well essential in
- user applications! I know I could put the definition in the
- application Imakefiles, but I wanted the Imakefiles to be
- platform-independent (we need them to work on HP and Sun without
- modification). Anyone got a suggestion?
-
- --
- This is news. This is your | Peter Scott, NASA/JPL/Caltech
- brain on news. Any questions? | (pjs@euclid.jpl.nasa.gov)
-