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

Andreas Jung lists at andreas-jung.com
Sun May 29 10:08:00 BST 2005

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

> 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 :-(


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://lists.tartarus.org/mailman/private/snowball-discuss/attachments/20050529/5ef15c89/attachment.bin

More information about the Snowball-discuss mailing list