home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / windows / openloo / 4958 < prev    next >
Encoding:
Internet Message Format  |  1993-01-05  |  2.0 KB

  1. Xref: sparky comp.windows.open-look:4958 comp.windows.x:20758
  2. Path: sparky!uunet!think.com!rpi!bu.edu!buast7.bu.edu!zhang
  3. From: zhang@buast7.bu.edu (Zhang Yun Fei)
  4. Newsgroups: comp.windows.open-look,comp.windows.x
  5. Subject: Athena widgets applications gets complier's warning
  6. Message-ID: <106187@bu.edu>
  7. Date: 5 Jan 93 15:46:52 GMT
  8. Sender: news@bu.edu
  9. Followup-To: zhang@orion.harvard.edu
  10. Organization: Astronomy Department, Boston University, Boston, MA, USA
  11. Lines: 40
  12.  
  13. I am using a SUN SPARC STATION IPX with SunOS Release 4.1.3 (GENERIC_SMALL) #).
  14. It seems that the X-window Athena widget kit is having some problem with this 
  15. platform. Simple try to compile the famous HelloWorld program xhw3 yield the 
  16. following:
  17.  
  18. % make -f makefile xhw3
  19. cc -o xhw3  xhw3.o -O  -lXaw -lXmu -lXt -lX11 -lm   
  20. ld: Undefined symbol
  21.    _XShapeQueryExtension
  22.    _XShapeCombineMask
  23.    _get_wmShellWidgetClass
  24.    _get_applicationShellWidgetClass
  25. *** Error code 2
  26. make: Fatal error: Command failed for target `xhw3'
  27.  
  28. Actually, the executable code of xhw3 was generated and runnable. But what the 
  29. above errors are telling us. an identical compile session running on IPC or ELC
  30. do not have problem at all. Anyone has experience with this problem? What 
  31. I should do about it? Any suggestion/comments will be appreciated. E-mail
  32. to zhang@buast7.bu.edu is preferred.
  33.  
  34. Following the suggestion on this newsgroup on a similar thread, I tried to 
  35. use -Bstatic option for the linker, it gave even more undefined symbols:-(
  36.  
  37. A quick look at th include/X11 area found that the content/directory-structure
  38. are different b/w SUN IPX and SUN ELC
  39.  
  40. Yun Fei Zhang
  41. ===============
  42.  
  43. for your information, a ls command in /usr/openwin/lib gives the following
  44.  
  45. % ls libX*
  46. libX.sa.1.0@    libX11.so@      libXmu.sa@      libXol.so@      libXt.so@
  47. libX.so.1.0@    libX11.so.4.3   libXmu.sa.4.0   libXol.so.3.1   libXt.so.4.1
  48. libX11.sa@      libXaw.so@      libXmu.so@      libXt.sa@
  49. libX11.sa.4.3   libXaw.so.4.0   libXmu.so.4.0   libXt.sa.4.1
  50.  
  51.  
  52.  
  53.