Re: [Snowball-discuss] Compiling Snowball as part of a shared library (for Python)/Undefined symbol SN_set_current

From: Andreas Jung (lists@andreas-jung.com)
Date: Sun May 29 2005 - 10:08:00 BST


--On 29. Mai 2005 10:49:33 +0200 Andreas Jung <lists@andreas-jung.com>
wrote:

> Hi,
>
> I tried compile Snowball as part of a Python extension module. Bascially
> I included only the headerfile into the C code of the Python extension
> module
> and linked the code against libstemmer.o. When importing the module from
> Python
> I get an undefined symbol: SN_set_current error although this code is
> only used
> with api.c but I have absolutely no Snowball API method call currently in
> my C code.
> Is there any thing else I must link or include?
>
> Andreas

Ups. sorry for the noise. I was linking against libstemmer/libstemmer.o
instead of
using the same file on level higher :-(

Andreas





This archive was generated by hypermail 2.1.3 : Thu Sep 20 2007 - 12:02:47 BST