home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!wupost!uwm.edu!daffy!uwvax!astroatc!vidiot!ftms!brown
- From: brown@ftms.UUCP (Vidiot)
- Newsgroups: comp.windows.x
- Subject: Re: Still Have Problem on Sun
- Message-ID: <253@ftms.UUCP>
- Date: 22 Jul 92 16:44:24 GMT
- References: <1992Jul21.184211.10537@ennews.eas.asu.edu>
- Reply-To: brown@ftms.UUCP (Vidiot)
- Organization: Vidiot's Other Hangout
- Lines: 29
-
- In article <1992Jul21.184211.10537@ennews.eas.asu.edu> elder@enuxha.eas.asu.edu (Greg Elder) writes:
- <I'm still having problems getting an X program to link on a Sun workstation.
- <Again, this is a program which links and runs fine on a DEC ULTRIX
- <workstation, which I would like to have run on a Sun as well. Below is
- <the command line I use to link everything, with the resulting error
- <message:
- <
- <cc -o map -O -I/usr/openwin/include -L/usr/openwin/lib map.o initapp.o
- <xwinutil.o xbutton.o -lXm -lX11 -lXt
- <
- <ld: undefined symbol
- < __XtInherit
- < _XtToolkitInitialize
- <
- <I haven't been able to figure out why this error pops up. Aren't these
- <two routines in libXt.a? I'm new to using Suns, so please let me know if
- <I'm missing something that is obvious. Any help is appreciated. Thanks.
-
- You didn't say which version of OW you are running? I'd guess 3.0. If this
- is the case, this error may be related to the Xmu error that I have been
- getting. Sun appears to have broken the shared libraries. Try entering:
-
- cc -o map -O -I/usr/openwin/include -L/usr/openwin/lib map.o initapp.o
- xwinutil.o xbutton.o -Bstatic -lXm -lX11 -lXt
- --
- harvard\
- ucbvax!uwvax!astroatc!ftms!brown or uu2.psi.com!ftms!brown
- rutgers/
- INTERNET: brown@wi.extrel.com or ftms!brown%astroatc.UUCP@cs.wisc.edu
-