Article View: news.software.readers
Article #4763Re: xrn and INN and SunOS 4.1.3
From: Owen P. Crow
Date: Wed, 30 Jun 1993 21:39
Date: Wed, 30 Jun 1993 21:39
37 lines
2219 bytes
2219 bytes
In article <20fime$719@servo.ac.com> mayojoh@servo.ac.com (Jack Mayo) writes:
>ld: Undefined symbol
> _sin
> _cos
> _pow
> _floor
You need to place "-lm" in the Makefile or on the ld command line.
(these are all math functions and -lm tells the linker to use the math lib.)
> _get_wmShellWidgetClass
> _get_applicationShellWidgetClass
>*** Error code 2
>make: Fatal error: Command failed for target `xrn'
>
I hope this is the same problem listed in the PROBLEMS file distributed
with lemacs-19.6, and I quote:
* SunOS 4.1.2: undefined symbol _get_wmShellWidgetClass
Apparently the version of libXmu.so.a that Sun ships is hosed: it's missing
some stuff that is in libXmu.a (the static version). Sun has a patch for
this, but a workaround is to use the static version of libXmu, by changing
the link command from "-lXmu" to "-Bstatic -lXmu -Bdynamic". If you have
OpenWindows 3.0, ask Sun for these patches:
100512-02 4.1.x OpenWindows 3.0 libXt Jumbo patch
100573-03 4.1.x OpenWindows 3.0 undefined symbols with shared libXmu
Unquote. There is another way, but I have misplaced the source I used to fix
this. It involved making dummy declarations for the functions in question
and compiling this with the rest of the code. In any case, the patch or
-Bstatic fixes should work.
As for the rest of your question, I don't know.
Owen
Technical Details
Message-ID:
<20t164$542@tamsun.tamu.edu>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!newsserver.jvnc.net!howland.reston.ans.net!math.ohio-state.edu!cs.utexas.edu!tamsun.tamu.edu!tamsun.tamu.edu!not-for-mailReferences:
<20fime$719@servo.ac.com>Show Full Headers
Complete Article Headers
Message-ID: <20t164$542@tamsun.tamu.edu> Subject: Re: xrn and INN and SunOS 4.1.3 Date: Wed, 30 Jun 1993 21:39:16 +0000 From: opc7428@tamsun.tamu.edu (Owen P. Crow) References: <20fime$719@servo.ac.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!newsserver.jvnc.net!howland.reston.ans.net!math.ohio-state.edu!cs.utexas.edu!tamsun.tamu.edu!tamsun.tamu.edu!not-for-mail Newsgroups: news.software.readers Organization: Texas A&M University, College Station, TX Lines: 37 Sender: opc7428@tamsun.tamu.edu (Owen Crow) NNTP-Posting-Host: tamu.edu Summary: Patches from Sun to fix link errors.