home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sources / d / 1122 < prev    next >
Encoding:
Internet Message Format  |  1992-07-21  |  1.4 KB

  1. Path: sparky!uunet!usc!wupost!uwm.edu!linac!att!rutgers!uwvax!astroatc!vidiot!ftms!brown
  2. From: brown@ftms.UUCP (Vidiot)
  3. Newsgroups: comp.sources.d
  4. Subject: OW 3.0 X compiling problem found
  5. Message-ID: <250@ftms.UUCP>
  6. Date: 21 Jul 92 21:50:02 GMT
  7. References: <240@ftms.UUCP>
  8. Reply-To: brown@ftms.UUCP (Vidiot)
  9. Organization: Vidiot's Other Hangout
  10. Lines: 32
  11.  
  12.  
  13. A few people have been having problems compiling some X applications with
  14. the 4.1.2 OW 3.0 MIT libraries.  The following aren't found when linking:
  15.  
  16.         _get_wmShellWidgetClass();
  17.         _get_applicationShellWidgetClass();
  18.  
  19. It turns out that those two are in the static libXmu.a and missing from the
  20. libXmu.so.4.0, but in the libXmu.sa.4.0 portion of the dynamic libraries.
  21.  
  22. By adding a -Bstatic before the -l list of libraries, the program compiles
  23. without errors.
  24.  
  25. Or, according to e-mail from Bill Jones, add the following to your main program.
  26.  
  27.      if (0) {
  28.         get_wmShellWidgetClass();
  29.         get_applicationShellWidgetClass();
  30.      }
  31.  
  32.  
  33. The error will go away.
  34.  
  35. The question that is still lingering is what is wrong with the Sun OW 3.0,
  36. SunOS 4.1.2 environment that causes this to fail?
  37.  
  38. The example program that has the problem is xcdplayer, available on uunet.
  39. -- 
  40. harvard\
  41.   ucbvax!uwvax!astroatc!ftms!brown  or  uu2.psi.com!ftms!brown
  42. rutgers/
  43. INTERNET: brown@wi.extrel.com  or  ftms!brown%astroatc.UUCP@cs.wisc.edu
  44.