home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / windows / x / 20788 < prev    next >
Encoding:
Text File  |  1993-01-06  |  2.4 KB  |  69 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!spool.mu.edu!enterpoop.mit.edu!bloom-beacon!INTERNET!dont-send-mail-to-path-lines
  3. From: brianc@Aus.Sun.COM (Brian Cunningham)
  4. Subject: linker errors under OpenWindows
  5. Message-ID: <9301060002.AA00856@fingon.Aus.Sun.COM>
  6. Sender: daemon@athena.mit.edu (Mr Background)
  7. Organization: The Internet
  8. Date: Wed, 6 Jan 1993 16:02:04 GMT
  9. Lines: 58
  10.  
  11.  
  12. > I am using a SUN SPARC STATION IPX with SunOS Release 4.1.3 (GENERIC_SMALL) #).
  13. > It seems that the X-window Athena widget kit is having some problem with this 
  14. > platform. Simple try to compile the famous HelloWorld program xhw3 yield the 
  15. > following:
  16. > % make -f makefile xhw3
  17. > cc -o xhw3  xhw3.o -O  -lXaw -lXmu -lXt -lX11 -lm   
  18. > ld: Undefined symbol
  19. >    _XShapeQueryExtension
  20. >    _XShapeCombineMask
  21. >    _get_wmShellWidgetClass
  22. >    _get_applicationShellWidgetClass
  23. > *** Error code 2
  24. > make: Fatal error: Command failed for target `xhw3'
  25. > Actually, the executable code of xhw3 was generated and runnable. But what the 
  26. > above errors are telling us. an identical compile session running on IPC or ELC
  27. > do not have problem at all. Anyone has experience with this problem? What 
  28. > I should do about it? Any suggestion/comments will be appreciated. E-mail
  29. > to zhang@buast7.bu.edu is preferred.
  30. > Following the suggestion on this newsgroup on a similar thread, I tried to 
  31. > use -Bstatic option for the linker, it gave even more undefined symbols:-(
  32. > A quick look at th include/X11 area found that the content/directory-structure
  33. > are different b/w SUN IPX and SUN ELC
  34. > Yun Fei Zhang
  35. > ===============
  36. > for your information, a ls command in /usr/openwin/lib gives the following
  37. > % ls libX*
  38. > libX.sa.1.0@    libX11.so@      libXmu.sa@      libXol.so@      libXt.so@
  39. > libX.so.1.0@    libX11.so.4.3   libXmu.sa.4.0   libXol.so.3.1   libXt.so.4.1
  40. > libX11.sa@      libXaw.so@      libXmu.so@      libXt.sa@
  41. > libX11.sa.4.3   libXaw.so.4.0   libXmu.so.4.0   libXt.sa.4.1
  42. >
  43.  
  44. I have the Same problem Yun. I am running SunOS 4.1.3, OW 3.0. All fully 
  45. installed and always find that the following two errors occur when compiling
  46. most X programs;
  47.  
  48.    _get_wmShellWidgetClass
  49.    _get_applicationShellWidgetClass
  50.  
  51. I too tried the -Bstatic compile option, to no effect. Does anyone out there
  52. have a solution?
  53.  
  54. Thanks in advance,
  55.  
  56.     Brian Cunningham ...
  57.  
  58. ---
  59. Sun Microsystems Australia. Systems Administrator.
  60.