From xemacs-m  Thu Jan  9 06:12:32 1997
Received: from ns.jsys.co.jp (root@ns.jsys.co.jp [202.33.240.82])
          by xemacs.cs.uiuc.edu (8.8.4/8.8.4) with ESMTP
	  id GAA16595 for <xemacs-beta@xemacs.org>; Thu, 9 Jan 1997 06:12:30 -0600 (CST)
Received: from cosmos.jsys.co.jp (root@cosmos.jsys.co.jp [172.31.80.5])
          by ns.jsys.co.jp (8.8.4/8.8.4) with ESMTP
	  id VAA21828; Thu, 9 Jan 1997 21:12:26 +0900 (JST)
Received: from metaph.jsys.co.jp (metaph.jsys.co.jp [172.31.49.177])
          by cosmos.jsys.co.jp (8.8.4/8.8.4) with SMTP
	  id VAA23620; Thu, 9 Jan 1997 21:12:24 +0900 (JST)
Received: by metaph.jsys.co.jp (SMI-8.6/SMI-SVR4)
	id VAA05850; Thu, 9 Jan 1997 21:12:22 +0900
Sender: ienaga@metaph.jsys.co.jp
To: Hajime Saitou <hajime@jsk.t.u-tokyo.ac.jp>
Cc: Kazuyuki IENAGA <ienaga@jsys.co.jp>, xemacs-beta@xemacs.org
Subject: Re: Canna for 20.0b34 (was: Re: Build report: 20.0b34 on Linux 2.0.27)
References: <199701090901.SAA05856@draco.jsk.t.u-tokyo.ac.jp>
Mime-Version: 1.0 (generated by tm-edit 7.99)
Content-Type: text/plain; charset=US-ASCII
From: Kazuyuki IENAGA <ienaga@jsys.co.jp>
Date: 09 Jan 1997 21:12:22 +0900
In-Reply-To: Hajime Saitou's message of Thu, 09 Jan 97 18:01:30 +0900
Message-ID: <rysohezyrmh.fsf@metaph.jsys.co.jp>
Lines: 74
X-Mailer: Red Gnus v0.76/XEmacs 20.0

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.


Hajime Saitou <hajime@jsk.t.u-tokyo.ac.jp> writes:

> > I tested the code above both on the v3.2 and v3.5beta.
> > The former is on SunOS4.1.3 and the later is on Solaris2.5.
> > 
> > No problem, no error messages there.
> > I donot have Linux env, but I think the result would be same.
> > So that, i think you'd better to re-compile Canna3.2.2 or Canna3.5b2.
> 
> On a linux with Canna-3.2.2 the test above fails.
> 
> p1:minerva<39> gcc -I/usr/local/canna/include test.c -lcanna
> /tmp/cca019301.o: In function `main':
> /tmp/cca019301.o(.text+0xb): undefined reference to `RkGoTo'
> p1:minerva<40> gcc -I/usr/local/canna/include test.c -lcanna -lRKC
> 
> gcc is version 2.7.2. But the strange thing is, it compiled fine the
> first time. I removed temacs and tried again. This time I got a lot of
> errors.
> 
> ------------
> mule-canna.o: In function `Fcanna_henkan_begin':
> mule-canna.o(.text+0xb77): undefined reference to `RkBgnBun'
> mule-canna.o: In function `kanjiYomiList':
> mule-canna.o(.text+0xbbf): undefined reference to `RkGoTo'
> mule-canna.o(.text+0xbd2): undefined reference to `RkGetKanji'
> mule-canna.o(.text+0xbf0): undefined reference to `RkGetYomi'
> mule-canna.o: In function `Fcanna_henkan_next':
> mule-canna.o(.text+0xcf8): undefined reference to `RkGoTo'
> mule-canna.o(.text+0xd0d): undefined reference to `RkGetKanjiList'
> mule-canna.o: In function `Fcanna_bunsetu_henkou':
> mule-canna.o(.text+0xe75): undefined reference to `RkGoTo'
> mule-canna.o(.text+0xedd): undefined reference to `RkResize'
> mule-canna.o(.text+0xf18): undefined reference to `RkGoTo'
> mule-canna.o(.text+0xf2c): undefined reference to `RkGetKanji'
> mule-canna.o(.text+0xf4f): undefined reference to `RkGetYomi'
> mule-canna.o: In function `Fcanna_henkan_kakutei':
> mule-canna.o(.text+0x100d): undefined reference to `RkGoTo'
> mule-canna.o(.text+0x1019): undefined reference to `RkXfer'
> mule-canna.o: In function `Fcanna_henkan_end':
> mule-canna.o(.text+0x105a): undefined reference to `RkEndBun'
> mule-canna.o: In function `Fcanna_henkan_quit':
> mule-canna.o(.text+0x109a): undefined reference to `RkEndBun'
> [1]  + 1971 exit 2     make >& make.log.1
> ------------
> 
> I'm at a loss. What happened?
> 
> Hajime Saito

