home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!wupost!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!math.ksu.edu!deadend
- From: tar@math.ksu.edu (Tim Ramsey)
- Newsgroups: comp.windows.x
- Subject: Problems with X11R5p14 clients using gcc 2.2.2
- Date: 30 Jul 1992 06:15:52 -0500
- Organization: Dept. of Mathematics, Kansas State University
- Lines: 37
- Message-ID: <158j18INN6qv@hilbert.math.ksu.edu>
- NNTP-Posting-Host: hilbert.math.ksu.edu
-
- I've built X11R5 fix 14 on a Sun3/80 running SunOS 4.1.1 using gcc 2.2.2.
- I've defined the following in my site.def:
-
- #define HasGcc YES
- #define HasGcc2 YES
- #define Gcc2BuildLibs YES
-
- My only change to sun.cf was:
-
- #define OSName SunOS 4.1.1
- XCOMM operating system: OSName
- #define OSMajorVersion 4
- #define OSMinorVersion 1
- #define OSTeenyVersion 1
-
- #define SunPost411FCSLd NO
-
- I haven't applied the 100170-6 patch.
-
- Everything built fine. However, programs that aren't linked with
- libXt.so.4.10 fail when executed with the message
-
- ld.so: Undefined symbol: _XtMalloc
-
- This includes xset, twm, and xrdb. When I add "-lXt" to the ld option
- list the resulting executable works fine.
-
- What's going on here? Yes, _XtMalloc is defined in libXt, but why isn't
- this a problem when I compile using cc and not gcc? Is there a better fix
- than relinking everything that dies to include -lXt?
-
- Thanks in advance for any wisdom.
-
- --
- Tim Ramsey, 913.532.6750
- Department of Mathematics
- Kansas State University
-