home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / x / 14200 < prev    next >
Encoding:
Internet Message Format  |  1992-07-22  |  1.6 KB

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