From xemacs-m  Thu Jan  9 09:42:11 1997
Received: from draco.jsk.t.u-tokyo.ac.jp (draco.jsk.t.u-tokyo.ac.jp [133.11.96.217])
          by xemacs.cs.uiuc.edu (8.8.4/8.8.4) with SMTP
	  id JAA17354 for <xemacs-beta@xemacs.org>; Thu, 9 Jan 1997 09:42:10 -0600 (CST)
Received: from localhost (hajime@localhost) by draco.jsk.t.u-tokyo.ac.jp (8.6.12+2.5Wb7/3.4Wbeta6-95083023) with SMTP id AAA06567; Fri, 10 Jan 1997 00:40:46 +0900
From: Hajime Saitou <hajime@jsk.t.u-tokyo.ac.jp>
Message-Id: <199701091540.AAA06567@draco.jsk.t.u-tokyo.ac.jp>
X-Authentication-Warning: draco.jsk.t.u-tokyo.ac.jp: Host localhost didn't use HELO protocol
To: Kazuyuki IENAGA <ienaga@jsys.co.jp>
Cc: xemacs-beta@xemacs.org
Subject: Re: Canna for 20.0b34 (was: Re: Build report: 20.0b34 on Linux 2.0.27) 
In-reply-to: Your message of "09 Jan 97 21:12:22 +0900."
             <rysohezyrmh.fsf@metaph.jsys.co.jp> 
Date: Fri, 10 Jan 97 00:40:45 +0900


I had a look.

p1:minerva<79> ar tv /usr/lib/libcanna.a                                             /usr/src/xemacs/xemacs-20.0-b34
rw-r--r-- 501/100   2612 Aug  9 20:10 1996 jrbind.o
rw-r--r-- 501/100   4140 Aug  9 20:10 1996 ebind.o
rw-r--r-- 501/100  77812 Aug  9 20:10 1996 lisp.o
rw-r--r-- 501/100   2412 Aug  9 20:10 1996 defaultmap.o
rw-r--r-- 501/100  11456 Aug  9 20:10 1996 bushu.o
rw-r--r-- 501/100  11288 Aug  9 20:11 1996 chikuji.o
rw-r--r-- 501/100   4848 Aug  9 20:11 1996 commondata.o
rw-r--r-- 501/100  10292 Aug  9 20:11 1996 empty.o
rw-r--r-- 501/100  22116 Aug  9 20:11 1996 henkan.o
rw-r--r-- 501/100   2300 Aug  9 20:11 1996 hex.o
rw-r--r-- 501/100  11916 Aug  9 20:11 1996 ichiran.o
rw-r--r-- 501/100   8672 Aug  9 20:11 1996 jishu.o
rw-r--r-- 501/100  16944 Aug  9 20:11 1996 kctrl.o
rw-r--r-- 501/100   8808 Aug  9 20:11 1996 keydef.o
rw-r--r-- 501/100   6584 Aug  9 20:11 1996 kigo.o
rw-r--r-- 501/100   4192 Aug  9 20:11 1996 mode.o
rw-r--r-- 501/100   4628 Aug  9 20:11 1996 multi.o
rw-r--r-- 501/100   4180 Aug  9 20:11 1996 onoff.o
rw-r--r-- 501/100   6828 Aug  9 20:11 1996 parse.o
rw-r--r-- 501/100  44592 Aug  9 20:12 1996 romaji.o
rw-r--r-- 501/100   5380 Aug  9 20:12 1996 uiutil.o
rw-r--r-- 501/100  11444 Aug  9 20:12 1996 uldefine.o
rw-r--r-- 501/100   9140 Aug  9 20:12 1996 uldelete.o
rw-r--r-- 501/100  12120 Aug  9 20:12 1996 ulhinshi.o
rw-r--r-- 501/100   6296 Aug  9 20:12 1996 ulkigo.o
rw-r--r-- 501/100   6300 Aug  9 20:12 1996 ulmount.o
rw-r--r-- 501/100   4260 Aug  9 20:12 1996 ulserver.o
rw-r--r-- 501/100  10352 Aug  9 20:12 1996 util.o
rw-r--r-- 501/100   2032 Aug  9 20:12 1996 yesno.o
rw-r--r-- 501/100   3696 Aug  9 20:12 1996 bunsetsu.o
rw-r--r-- 501/100    740 Aug  9 20:12 1996 engine.o
rw-r--r-- 501/100   6272 Aug  9 20:12 1996 RKroma.o
rw-r--r-- 501/100   8876 Aug  9 20:12 1996 RKkana.o
rw-r--r-- 501/100  26772 Aug  9 20:12 1996 rkc.o
rw-r--r-- 501/100   1352 Aug  9 20:12 1996 rkcConvert.o
rw-r--r-- 501/100  29276 Aug  9 20:12 1996 rkcwConv.o
rw-r--r-- 501/100   2272 Aug  9 20:12 1996 rkcwutil.o

So actually it does include rkc.o. But come to think of it. I relinked 
libcanna.so.1.0.0 to libcanna.so. A look at the binary of xemacs I am
running now shows that it has the libraries statically linked. The
error happens when you link it with the shared libraries. But 'nm'
gives you

p1:minerva<108> nm /usr/lib/libcanna.so
....
0003926c b Rk
0002cce0 T RkCloseRoma
0002e53c T RkCvtEuc
0002df4c T RkCvtHan
0002e320 T RkCvtHira
0002e1c0 T RkCvtKana
0002e458 T RkCvtNone
0002da3c T RkCvtRoma
0002e64c T RkCvtSuuji
0002dc84 T RkCvtZen
0002c144 T RkGetProtocolVersion
0002c17c T RkGetServerName
0002c1a8 T RkGetServerVersion
0002d374 T RkMapPhonogram
0002cf10 T RkMapRoma
0002cabc T RkOpenRoma
0002c770 T RkwBgnBun
0002c2a0 T RkwCloseContext
0002f098 T RkwCloseRoma
0002c23c T RkwCreateContext
0002c30c T RkwCreateDic
0002ec1c T RkwCvtHan
0002ec8c T RkwCvtHira
0002ecfc T RkwCvtKana
0002eddc T RkwCvtNone
0002efec T RkwCvtRoma
0002ed6c T RkwCvtZen
0002c484 T RkwDefineDic
0002c4c4 T RkwDeleteDic
0002c26c T RkwDuplicateContext
0002c7b4 T RkwEndBun
0002c9a0 T RkwEnlarge
0002c214 T RkwFinalize
0002c67c T RkwFlushYomi
0002c34c T RkwGetDicList
0002c504 T RkwGetHinshi
0002c544 T RkwGetKanji
0002c63c T RkwGetKanjiList
0002c6b0 T RkwGetLastYomi
0002c5c4 T RkwGetLex
0002c38c T RkwGetMountList
0002c604 T RkwGetStat
0002c584 T RkwGetYomi
0002c7ec T RkwGoTo
00014768 t RkwInitError
0002c1e0 T RkwInitialize
0002c824 T RkwLeft
0002eeb0 T RkwMapPhonogram
0002ee18 T RkwMapRoma
0002c3cc T RkwMountDic
0002c88c T RkwNext
0002c8f4 T RkwNfer
0002f078 T RkwOpenRoma
0002c8c0 T RkwPrev
0002c40c T RkwRemountDic
0002c6f0 T RkwRemoveBun
0002c964 T RkwResize
0002c858 T RkwRight
0002ca48 T RkwSetAppName
0002c2d4 T RkwSetDicPath
0002c9d4 T RkwShorten
0002ca08 T RkwStoreYomi
0002c728 T RkwSubstYomi
0002ca84 T RkwSync
0002c44c T RkwUnmountDic
0002c928 T RkwXfer

Using the shared libraries may be the problem.
Could you tell me where you got Canna3.5b2? I'll try it with linux and 
see if I get the same result.


Hajime Saito
----

> I checked canna libraries both on Canna3.2.2 and Canna3.5b2.
> 
> 1.  Canna3.2.2 has libRKC, libRKC16, libcanna, libcanna16.
> 2.  Canna3.5b2 has libcanna, libcanna16.  libRK* is used internally.
> 
> 3.  Canna3.2.2's libcanna has All Rk* entries and also Canna3.5b2 is.
> 4.  I compiled Canna3.5b2 and installed it again. That did not produce
>     /usr/local/lib/libRK*.* because libcanna already has Rk* entries.
> 5.  As same as Canna3.5b2, Canna3.2.2 has all Rk* entries.
> 
> I guess the problem you mentioned here is derived from you have or
> have not rkc.o in libcanna.[a|so].
> Please check your libcanna.a using
> 	ar tv /usr/local/lib/libcanna.a
> whether it contains rkc.o or not.
> 
> Hope this help.
> 
> If the XEmacs will support Mule extention, we have to think about
> the next version of Canna (3.5) as same as Wnn6.
> Because users tend to use the version up to date (it's me :-).
> 
> BTW, i want to know the ratio of --with-mule or --with-mule=no.
> 
> 

