home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!concert!duke!news.duke.edu!bal1!ndd
- From: ndd@sunbar.mc.duke.edu (Ned Danieley)
- Newsgroups: comp.windows.x
- Subject: X11R5 and gcc 2.1 on a sun3
- Message-ID: <5045@news.duke.edu>
- Date: 2 Sep 92 14:44:42 GMT
- Sender: news@news.duke.edu
- Organization: Basic Arrhythmia Laboratory, Duke Univ. Med. Center, Durham, N.C.
- Lines: 36
- Nntp-Posting-Host: bal1.mc.duke.edu
- Originator: ndd@bal1
-
- I finally got around to trying X11R5 on a sun3 with gcc 2.1, and
- I've run into the same problem that someone else had back in May:
- when trying to run applications that use Xmu and don't link in
- Xt, I get
-
- ld.so: Undefined symbol: _XtMalloc
-
- errors. a couple of solutions were offered: applying some SunOS
- patches
-
- ld.jumbo.100170-06
- libc.100266-06
- ld.so.100257-03
-
- and using the SunPost411FCSLd flag in Project.tmpl, or just linking
- against Xt everywhere:
-
- Change one line in config/sunLib.tmpl:
-
- 51c51
- < XMULIB = _Use(-lXmu,-L$(XMUSRC) -lXmu -L$(TOOLKITSRC))
- ---
- > XMULIB = _Use(-lXmu,-L$(XMUSRC) -lXmu -L$(TOOLKITSRC) -lXt)
-
-
-
- so is there any preference as to which to do? as far as I can tell,
- I don't have any problems that need those patches, but I'm not sure
- if I want to link in (even dynamically) Xt if it's not necessary.
- suggestions?
-
- --
- Ned Danieley (ndd@sunbar.mc.duke.edu)
- Basic Arrhythmia Laboratory
- Box 3140, Duke University Medical Center
- Durham, NC 27710 (919) 660-5111 or 660-5100
-