Original question:
>When I tried to make xfig on my SS2+4.1.3+OW3.0 (I'm not using MIT
>X11R4), I had following problems:
>
>cc -o xfig d_arc.o d_arcbox.o d_box.o d_ellipse.o d_epsobj.o d_intspline.o d_li
>[[ staff deleted ]]
>
>-O -lXaw -lXmu -lXt -lXext -lX11 -lm
>ld: Undefined symbol
> _get_wmShellWidgetClass
> _get_applicationShellWidgetClass
>*** Error code 2
>make: Fatal error: Command failed for target `xfig'
>
>"libXt Jumbo patch"(100512-02) coming with the 4.1.3 release CD-ROM
>didn't help.
>
>Any ideas?
I received 21 replies. These suggestions fell into 3 categories:
(1) Just ignore the error. Those functions are rarely used.
(2) Use static link like "-Bstatic -lXmu -Bdynamic."
(3) Apply another patch 100573-03.
(1) was unacceptable for me because make fails. (2) seemed to work if
I don't mind to modify Imakefile. Consequently, I tried (3) and it
worked fine! mann@emma.la.asu.edu (Mark Mann) kindly sent me the
patch. Thank you! FYI, I include README from the patch at the end of
this message. Hope this helps.
I would like to thank the following people who responded:
kubipdal@uts.uni-c.dk (Peter Dalg}rd)
Wilson N G <noel@essex.ac.uk>
rnt@math.ias.edu (Robert N. Thompson)
judy@qucis.queensu.ca (Judy Russell)
mann@emma.la.asu.edu (Mark Mann)
todd@flex.eng.mcmaster.ca (Todd Pfaff)
ept@eptsun1.ctd.ornl.gov (E P Tinnel)
ecisnero@natasha.wr.usgs.gov (Ernie Cisneros)
Ted Nolan SRI Ft Bragg <ted@usasoc.soc.mil>
dawn@math.wayne.edu (Dawn Endico)
Nick Cuccia <cuccia@remarque.berkeley.edu>
Claus Assmann <ca@mine.informatik.uni-kiel.dbp.de>
dale@kcsun.Central.Sun.COM (Dale Somer Sun Kansas City SE)
brooks@sunny.dab.ge.com (Stephen Brooks)
th@e.KWL.CHKRA.abb.com (Thomas Havlovec)
mist@source.nl (Michiel Steltman)
Ian Daniel <Daniel@europarc.xerox.com>
bogart@bpb.it (Max Lanfranconi - R and D)
Steve_Kilbane@gec-epl.co.uk
Karl Heinz Kremer QA <khk@raster.Kodak.COM>
kuhn@math.harvard.edu (Robert M. Kuhn)
------------------ README ------------------------
Patch-ID# 100573-03
Keywords: libxmu, shared, symbols, patch, ld, cte2336, libXmu, undefined, 100170-06
Synopsis: OpenWindows 3.0: ld patch 100170-06 causes undefined symbols when used with shared libXmu
Date: 08-Jul-92
SunOS release: 4.1.1, 4.1.2
Unbundled Product: OpenWindows
Unbundled Release: 3.0
Topic: Patch for libXmu
BugId's fixed with this patch: 1087332
Architectures for which this patch is available: sun4
Patches which may conflict with this patch:
Obsoleted by:
Files included with this patch: libXmu.so.4.0, libXmu.sa.4.0
Problem Description: With patched ld and libc, customer is getting undefined symbols
INSTALL:
This is the only patch needed to fix libXmu problem.
Please back up all the patches you may apply in attempt to fix
libXmu previously.
1) Backup all patches you may already install in attempt
to fix libXmu problem
2) cd to $OPENWINHOME/lib
3) su to root
4) mv libXmu.a libXmu.a.fcs
mv libXmu.so.4.0 libXmu.so.4.0.fcs
5) cp patchdir/libXmu.a libXmu.a
cp patchdir/libXmu.so.4.0 libXmu.so.4.0
6) chmod 644 libXmu.a libXmu.so.4.0
7) ranlib -t libXmu.a
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:55 CDT