home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.sun.misc:5233 comp.mail.mh:1283
- Newsgroups: comp.sys.sun.misc,comp.mail.mh
- Path: sparky!uunet!ocsmd!finnbogi!obi
- From: obi@finnbogi.ocs.com (Obi Thomas)
- Subject: Unresolved references with SunOS 4.1.3
- Message-ID: <BxM6Ar.4sB@finnbogi.ocs.com>
- Sender: obi@finnbogi (Obi Thomas)
- Reply-To: obi@finnbogi.ocs.com
- Organization: Online Computer Systems, Inc.
- Date: Thu, 12 Nov 1992 17:37:39 GMT
- Lines: 35
-
- (Sorry if this has already been discussed, but I've been away for a while
- and my news feed was shut off for the duration. I've checked the Sun
- groups FAQ and the MH FAQ.)
-
- I'm trying to build mh-6.7.2 on a SPARCstation 10 running SunOS 4.1.3.
- Part of the process involves building a shared library, libmh.so.xxx and
- libmh.sa.xxx. In this library is a reference to an external function
- called WhatNow(). The library is built correctly without errors.
-
- When it comes time to build the mh binaries, all binaries are linked with
- the shareable library, and those that actually reference WhatNow() are
- also linked with the .o file containing the WhatNow() definition. Thus,
- for example, xanno does not reference WhatNow() while xcomp does:
-
- LD_LIBRARY_PATH=../sbr /bin/cc -s -o xanno anno.o \
- annosbr.o ../config/config.o -Bdynamic -lmh ../mts/libmts.a \
- ../zotnet/libzot.a ../config/version.o
-
- LD_LIBRARY_PATH=../sbr /bin/cc -s -o xcomp comp.o \
- whatnowsbr.o sendsbr.o annosbr.o distsbr.o ../config/config.o -Bdynamic \
- -lmh ../mts/libmts.a ../zotnet/libzot.a ../config/version.o
-
- Note that xcomp is linked with whatnowsbr.o which defines WhatNow(),
- whereas xanno is not.
-
- This all worked fine on my old SPARCstation 1+ running 4.1.1. But now with
- 4.1.3, I notice that xanno gets an unresolved reference for WhatNow().
-
- I've noticed the same thing with X11R5 clients. After going to 4.1.3, I've
- had to start linking some of my clients with the X extensions library
- which wasn't necessary in 4.1.1.
-
- Could someone please explain what is going on here and if there is a way
- to fix it? I'd prefer email responses; I'll post a summary if there's
- interest. Thank you.
-