From xemacs-m  Wed Jan  8 00:08:37 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 AAA08125 for <xemacs-beta@xemacs.org>; Wed, 8 Jan 1997 00:08:35 -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 PAA11594; Wed, 8 Jan 1997 15:08:17 +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 PAA01559; Wed, 8 Jan 1997 15:08:17 +0900 (JST)
Received: by metaph.jsys.co.jp (SMI-8.6/SMI-SVR4)
	id PAA15338; Wed, 8 Jan 1997 15:07:55 +0900
Sender: ienaga@metaph.jsys.co.jp
To: Carsten Leonhardt <leo@arioch.tng.oche.de>
Cc: xemacs-beta@xemacs.org
Subject: Canna for 20.0b34 (was: Re: Build report: 20.0b34 on Linux 2.0.27)
References: <m3sp4eh2a6.fsf@arioch.tng.oche.de>
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: 08 Jan 1997 15:07:54 +0900
In-Reply-To: Carsten Leonhardt's message of 06 Jan 1997 23:22:41 +0100
Message-ID: <rys6818bsxx.fsf@metaph.jsys.co.jp>
Lines: 60
X-Mailer: Red Gnus v0.76/XEmacs 20.0

As Hajime wrote, 20.0b34 with Canna can be built without RKC
library.
The version of Canna for 20.0b34 can be 3.2 or 3.5  I think.
(I'm using Canna35b2 from ftp.nec.co.jp)

At least libcanna (Canna35b2) has entries for those functions:

(on Solaris2.5)
% nm /usr/local/lib/libcanna.so.1.0 | less
	:	:	:
[1946]  |    292456|     112|FUNC |GLOB |0    |7      |RkBgnBun
                                                       ^^^^^^^^
[1910]  |    295328|      12|FUNC |GLOB |0    |7      |RkChmodDic
[1576]  |    292004|      12|FUNC |GLOB |0    |7      |RkCloseContext
	:	:	:


The version of Canna?
or the ld missed /usr/local/lib/libcanna.so?


Carsten Leonhardt <leo@arioch.tng.oche.de> writes:

> Linux 2.0.27, gcc 2.7.2.1, XFree86 3.2
> 
> When I first tried to compile with support for Canna, I got errors
> while linking temacs (see below). The solution was to also
> link with the "RKC" library which also comes with Canna (I patched
> src/Makefile.in.in to achieve this, diff below).
> 
> I ran configure like this:
> 
> configure \
> i586-leo-linux \
> --extra-verbose \
> --cflags "-g -O4 -m486" \
> --dynamic \
> --with-toolbars=no \
> --with-sound=native \
> --with-png=yes \
> --with-mule \
> --with-canna \
> --site-includes=/usr/local/canna/include \


> Error messages:
> 
> mule-canna.o: In function `Fcanna_henkan_begin':
> /mnt/adisk/src/xemacs-20.0-b34/src/./mule-canna.c:732: undefined reference to `RkBgnBun'
> mule-canna.o: In function `kanjiYomiList':
> /mnt/adisk/src/xemacs-20.0-b34/src/./mule-canna.c:749: undefined reference to `RkGoTo'
> /mnt/adisk/src/xemacs-20.0-b34/src/./mule-canna.c:750: undefined reference to `RkGetKanji'
> /mnt/adisk/src/xemacs-20.0-b34/src/./mule-canna.c:752: undefined reference to `RkGetYomi'
> mule-canna.o: In function `Fcanna_henkan_next':

    [snip]

-- 
Kazz

