From xemacs-m  Wed Jan  8 19:42:33 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 TAA13970 for <xemacs-beta@xemacs.org>; Wed, 8 Jan 1997 19:42:31 -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 KAA07346; Thu, 9 Jan 1997 10:38:19 +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 KAA05178; Thu, 9 Jan 1997 10:38:17 +0900 (JST)
Received: by metaph.jsys.co.jp (SMI-8.6/SMI-SVR4)
	id KAA28958; Thu, 9 Jan 1997 10:38:10 +0900
Sender: ienaga@metaph.jsys.co.jp
To: Carsten Leonhardt <leo@arioch.tng.oche.de>
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: <m3sp4eh2a6.fsf@arioch.tng.oche.de> <rys6818bsxx.fsf@metaph.jsys.co.jp> <m3iv58cq5r.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: 09 Jan 1997 10:38:09 +0900
In-Reply-To: Carsten Leonhardt's message of 08 Jan 1997 13:22:40 +0100
Message-ID: <rysg20biq66.fsf@metaph.jsys.co.jp>
Lines: 51
X-Mailer: Red Gnus v0.76/XEmacs 20.0

Hmm, it's strange.

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

> 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.
> 
> [2 test.c <application/octet-stream>]
> #include "canna/RK.h"
> 
> void main(void)
> {
>   int foo;
>   foo = RkGoTo(0,0);
> }

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.

[SunOS4.1.3]
% gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3/2.7.1/specs
gcc version 2.7.1
% gcc -I/usr/local/canna/include -lcanna -o test test.c

[Solaris2.5]
% gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.1/specs
gcc version 2.7.2.1
% gcc -I/usr/local/canna/include -lcanna -lsocket -lnsl -o test /tmp/test.c


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.

-- 
Kazz

