From xemacs-m  Wed Jan  8 06:28:38 1997
Received: from sundancer.tng.oche.de (sundancer.tng.oche.de [194.94.252.29])
          by xemacs.cs.uiuc.edu (8.8.4/8.8.4) with ESMTP
	  id GAA09477 for <xemacs-beta@xemacs.org>; Wed, 8 Jan 1997 06:28:31 -0600 (CST)
Received: by sundancer.tng.oche.de
	id m0vhy8Z-0001ayC
	(Debian Smail-3.2 1996-Jul-4 #2); Wed, 8 Jan 1997 14:33:47 +0100 (MET)
Received: (qmail 9205 invoked by uid 500); 8 Jan 1997 12:22:41 -0000
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)
References: <m3sp4eh2a6.fsf@arioch.tng.oche.de> <rys6818bsxx.fsf@metaph.jsys.co.jp>
Mime-Version: 1.0 (generated by tm-edit 7.100)
Content-Type: multipart/mixed;
 boundary="Multipart_Wed_Jan__8_13:22:40_1997-1"
Content-Transfer-Encoding: 7bit
From: Carsten Leonhardt <leo@arioch.tng.oche.de>
Date: 08 Jan 1997 13:22:40 +0100
In-Reply-To: Kazuyuki IENAGA's message of 08 Jan 1997 15:07:54 +0900
Message-ID: <m3iv58cq5r.fsf@arioch.tng.oche.de>
Lines: 53
X-Mailer: Red Gnus v0.79/XEmacs 20.0

--Multipart_Wed_Jan__8_13:22:40_1997-1
Content-Type: text/plain; charset=US-ASCII

>>>>> "Kazuyuki" == Kazuyuki IENAGA <ienaga@jsys.co.jp> writes:

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

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

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


Kazuyuki> The version of Canna?

That's it; I have v3.2.

Maybe some test would be appropriate.

How about:

% gcc -I/usr/local/canna/include -lcanna -o test test.c
/tmp/cca091791.o: In function `main':
/tmp/cca091791.o(.text+0xb): undefined reference to `RkGoTo'
%  gcc -I/usr/local/canna/include -lcanna -lRKC -o test test.c
%

If the test fails, you need to link with RKC.


--Multipart_Wed_Jan__8_13:22:40_1997-1
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="test.c"
Content-Transfer-Encoding: 7bit

#include "canna/RK.h"

void main(void)
{
  int foo;
  foo = RkGoTo(0,0);
}

--Multipart_Wed_Jan__8_13:22:40_1997-1--

