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