home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / sgi / 12462 < prev    next >
Encoding:
Internet Message Format  |  1992-08-15  |  1.3 KB

  1. Path: sparky!uunet!cs.utexas.edu!ut-emx!shrike!flash
  2. From: flash@austin.lockheed.com (James W. Melton)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: compiling motif programs on the Indigo.
  5. Message-ID: <1148@shrike.com>
  6. Date: 14 Aug 92 02:23:05 GMT
  7. References: <1992Aug12.001522.998@newshost.unh.edu>
  8. Organization: "Lockheed Austin Division, 6800 Burleson Rd, Austin, TX 78744
  9. Lines: 21
  10.  
  11. In article <1992Aug12.001522.998@newshost.unh.edu> lah@escher.unh.edu (Lance Hartford) writes:
  12. >Sorry if this is an FAQ, but I am trying to compile a motif program on
  13. >the Indigo. If I link with Xm, Xt, and X11 (in that order) the program
  14. >compiles OK. But when I try to link with Xm_s, the linker complains
  15. >that it can't find regcmp and regex. If I include Xm_s, do I need to
  16. >include another library also? 
  17.  
  18. Try -lPW at the end. Also, don't forget that if you are using NIS
  19. (formerly yellow pages) at your site to include -lsun.
  20.  
  21. If these two libraries don't fall into the FAQ list, they should.
  22. In fact, they should be written in big bold letters in the release
  23. notes of every release.
  24.  
  25. Once you get used to including them, it won't be so bad.
  26.  
  27. -- 
  28. Jim Melton, novice guru
  29. email:      flash@austin.lockheed.com | "So far as we know, our
  30. voice mail: (512) 386-4486            |  computer has never had
  31. fax:        (512) 386-4223            |  an undetected error"
  32.