🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #8632

Re: compiling xrn

#8632
From: Michael Salmon
Date: Thu, 21 Apr 1994 07:06
72 lines
3334 bytes
In article <CoKA6A.92o@nntpa.cb.att.com>
H.J.Snel@ATT.COM (Henk J. Snel) writes:
|> I need some help from a X expert.
|> 
|> I am having troubles compiling xrn on SunOS Sparc 4.1.3.
|> 
|> I get the following error:
|> 
|> cc -o xrn avl.o buttons.o clientlib.o compose.o cursor.o dialogs.o
|> refile.o mesg.o error_hnds.o newsrcfile.o resources.o     internals.o
|> save.o server.o utils.o xmisc.o xrn.o         xthelper.o vprintf.o
|> tempnam.o strstr.o strtok.o y.tab.o  cancel.o -O  -lXaw -lXmu -lXt
|> -lXext                    -lX11  -lm 
|> ld: Undefined symbol
|>    _get_wmShellWidgetClass
|>    _get_applicationShellWidgetClass
|> *** Error code 2
|> make: Fatal error: Command failed for target `xrn'

You have been bitten by Sun's buggy libXmu, the complete solution is in
the X11 FAQ:

----------------------------------------------------------------------
Subject: 39.!What is this link problem with _get_wmShellWidgetClass?
----------------------------------------------------------------------

Unresolved externals under SunOS 4.1.[23] is indicative of an incorrect 
configuration, specifically failure to set the OSTeenyVersion in sun.cf.

If you are running on SunOS 4.1.[23] you should apply all the fixes up
to fix-25. Make certain that you set the OSTeenyVersion correctly in 
mit/config/sun.cf.

[Above from kaleb@expo.lcs.mit.edu (Kaleb Keithley) 15 Oct 1993]

In SunOS 4.1.2 Sun fixed a shared-library bug in ld which conflicts
with the way X builds the shared Xmu library, causing these symbols,
notably, to be undefined when building some X11 clients:

        _get_wmShellWidgetClass
        _get_applicationShellWidgetClass

Compiling "-Bstatic -lXmu -Bdynamic" appears to work. 

To solve the problem if you are using OpenWindows 3.0 (X11R4-based
Xt), please contact your local Sun office and request the following
patches:

Patch i.d.      Description
100512-02       4.1.x OpenWindows 3.0 libXt Jumbo patch
100573-03       4.1.x OpenWindows 3.0 undefined symbols when using
                        shared libXmu

[Greg Earle, earle@Sun.COM; 7/92] 

A source patch for use with the MIT X11R4 libraries was developed by
Conrad Kimball (cek@sdc.boeing.com); it retrofits into R4 some fixes
made in R5 to get around this problem. The patch is on ftp.x.org in
[1/93] contrib/X11R4_sunos4.1.2_patch_version3.Z



-- 

Michael Salmon

#include	<standard.disclaimer>
#include	<witty.saying>
#include	<fancy.pseudo.graphics>

Ericsson Telecom AB
Stockholm
Technical Details
Message-ID: <2p58l9$7mr@erinews.ericsson.se>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!nntp.gmd.de!xlink.net!howland.reston.ans.net!EU.net!sunic!ericom!erinews.ericsson.se!usenet
References: <CoKA6A.92o@nntpa.cb.att.com>

Show Full Headers
Complete Article Headers
Message-ID: <2p58l9$7mr@erinews.ericsson.se>
Subject: Re: compiling xrn
Date: Thu, 21 Apr 1994 07:06:17 +0000
From: etxmesa@eos.ericsson.se (Michael Salmon)
References: <CoKA6A.92o@nntpa.cb.att.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!nntp.gmd.de!xlink.net!howland.reston.ans.net!EU.net!sunic!ericom!erinews.ericsson.se!usenet
Newsgroups: news.software.readers
Organization: Ericsson Telecom AB
Lines: 72
Sender: etxmesa@eos6c02.ericsson.se (Michael Salmon)
Distribution: world
Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
NNTP-Posting-Host: eos6c02.ericsson.se