home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!elroy.jpl.nasa.gov!poseur.JPL.NASA.GOV!earle
- From: earle@poseur.JPL.NASA.GOV (Greg Earle - Sun JPL on-site Software Support)
- Subject: Re: compile error
- Message-ID: <1992Jul23.200512.25176@elroy.jpl.nasa.gov>
- Followup-To: comp.windows.x,comp.windows.open-look
- Summary: 100512-02, 100573-03
- Sender: news@elroy.jpl.nasa.gov (Usenet)
- Nntp-Posting-Host: poseur.jpl.nasa.gov
- Organization: Sun Microsystems - JPL on-site Software Support
- References: <1992Jul21.105610.8785@kth.se> <1992Jul21.131737.7291@muppet.bt.co.uk>
- Date: Thu, 23 Jul 1992 20:05:12 GMT
- Lines: 64
-
- In article <1992Jul21.131737.7291@muppet.bt.co.uk> davidh@muppet.bt.co.uk writes:
- >In article 8785@kth.se, tomasc@lionfish.tds.kth.se (Tomas Carlsson) writes:
- >>In article <1992Jul20.121551.22457@kth.se>, tomasc@lionfish.tds.kth.se (Tomas Carlsson) writes:
- >>> I'm trying to compile a program I've written. I've stolen and
- >>> modified a Makefile but I'm not able to understand this error:
- >>>
- >>> ld: Undefined symbol
- >>> _error
- >>> _pow
- >>> _floor
- >>> _get_wmShellWidgetClass
- >>> _get_applicationShellWidgetClass
- >>> __XtInherit
- >>> _XtToolkitInitialize
- >>> *** Error code 2
- >>>
- > (deleted some stuff here)
- >>>
- >>> In my makefile I use (among others) these flags: (yes, I've
- >>> used devguide)
- >>>
- >>> -lguidexv -lguide -lxview -lolgx -lXmu -lXt -lXext -lX11
- >>>
- >>> I'm using OpenWindows 3.0, X11R5 on a sun4.
- >> ^^^^^^^^^^^^^^^
- >>
- >>That seems to be the problem (OW 3.0). I tried to compile under
- >>OW 2.0 - no problem!
- >
- >OpenWindows 3 seems to have broken at least the Xmu shared lib.
- >Also, you have forgotten the math library.
- >
- >Compile the program statically for a workaround and put -lm on the end.
-
- Better workaround: compile the program with " ... -Bstatic -lXmu -Bdynamic ..."
- surrounding the libXmu inclusion.
-
- To solve the problem, please contact your local Sun office and request the
- following patches:
-
- Patch i.d. Bug i.d.'s O/S Description
- ---------- -------------------------------------------------------------
- 100512-02 1086793 1086912 1074766
- 4.1.x OpenWindows 3.0 libXt Jumbo patch
-
- 100573-03 1087332
- 4.1.x OpenWindows 3.0 undefined symbols when using
- shared libXmu
-
- While you're at it, if you are using OpenWindows 3.0 you may wish to get the
- latest version of the "xnews" server:
-
- 100444-24 1080976 1083312 1060204 1062740 1066878 1071237 1071322 1077556
- 1052712 1066767 1067026 1085004 1085475 1085609 1085529 1085467
- 1075858 1079600 1056492 1084761 1086134 1086122 1082750 1082200
- 1071098 1038783 1083142 1087211 1089056 1074935 1085444 1078226
- 1089311 1091966 1092113 1094100 1074749 1094114
- 4.1.x OpenWindows 3.0 xnews Jumbo patch
-
- --
- - Greg Earle
- Sun Microsystems
- earle@poseur.JPL.NASA.GOV
- earle@Sun.COM
-