home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / alt / toolkits / xview / 1074 < prev    next >
Encoding:
Internet Message Format  |  1992-11-18  |  2.5 KB

  1. Xref: sparky alt.toolkits.xview:1074 comp.windows.open-look:4577 comp.windows.x:19329
  2. Path: sparky!uunet!pmcgw!ds5200.personal-media.co.jp
  3. From: ishikawa@ds5200.personal-media.co.jp (Chiaki Ishikawa)
  4. Newsgroups: alt.toolkits.xview,comp.windows.open-look,comp.windows.x
  5. Subject: Re: japanese compilation: undefined symbols
  6. Message-ID: <ISHIKAWA.92Nov19182720@ds5200.personal-media.co.jp>
  7. Date: 19 Nov 92 09:27:20 GMT
  8. References: <1992Nov18.172813.7096@mr.med.ge.com>
  9. Sender: news@pmcgw.personal-media.co.jp
  10. Reply-To: ishikawa@personal-media.co.jp
  11. Followup-To: alt.toolkits.xview
  12. Organization: Personal Media Corp., Tokyo Japan
  13. Lines: 45
  14. Nntp-Posting-Host: ds5200
  15. In-reply-to: carl@crazyman.med.ge.com's message of 18 Nov 92 17:27:59 GMT
  16.  
  17.  
  18. In article <1992Nov18.172813.7096@mr.med.ge.com> carl@crazyman.med.ge.com (Carl Crawford) writes:
  19.  
  20.    i have a xview program that runs correctly under openwindows v3 in 
  21.    the usa. when it is compiled on a machine in japan the 
  22.    following symbols are undefined:
  23.  
  24.        cc -02 -I/usr/openwin/include   -target sun4 main.o driver.o ......
  25.        Undefined
  26.        _cm_close
  27.        _cm_put
  28.        _cm_open
  29.        __des_crypt
  30.  
  31.    why won't the code load in japan?
  32.  
  33.  
  34. I suspect that your Japanese machine uses JLE (Japanese Language
  35. Environment) from  Nihon SunMicrosystems.
  36.  
  37. [] If that is the case, from what I have read in RTFM, I think you probably
  38. need to link the following libraries to make sure cm_close, cm_put,
  39. cm_open will be linked in.
  40.          -lpixrect  -lxview  -lolgx  -lX11  -lmle -lm
  41.  
  42. [] Now, as for __des_crypt, are your trying to link the program using
  43. -Bstatic (i.e., trying to link the program in static fashion)?  Some
  44. versions of the JLE have pretty fucked up static libraries (*.a) or so
  45. it seems.
  46.     When Dept. of Commerce (or some such agency) banned the
  47. exporting of software that works with DES encryption/decryption
  48. hardware (correct me if I am wrong on this matter), Sun tried to
  49. comply by reorganizing the EXPORT versions of library. Their shared
  50. libraries seem to be OK.  But the static version is fucked up beyond
  51. repair.  I believe this is unrelated to JLE, but EXPORT version in
  52. general. I remember seeing Canadian users posted similar problems long
  53. time ago. Maybe there is a patch or something.
  54.  
  55. If you don't need to use Japanese on your Japanese machine (which I
  56. gravely doubt), remove JLE or re-install SunOS with untouched
  57. libraries. Again, RTFM will help.
  58.  
  59.  Chiaki Ishikawa,  Personal Media Corp.,  MY Bldg, 1-7-7 Hiratsuka,
  60.  Shinagawa, Tokyo 142, JAPAN. FAX:+81-3-5702-0359, Phone:+81-3-5702-0351
  61.  UUNET: ishikawa@personal-media.co.jp
  62.