aspell-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pspell-devel] Can't compile example on Cygwin


From: Russell Black
Subject: [pspell-devel] Can't compile example on Cygwin
Date: Mon Jan 21 16:01:01 2002

The Makefile for both pspell examples appears to fail because the compile/link command line it generates doesn't include any of the pspell libraries (-laspell -lpspell-impl -lpspell-modules -lpspell -lpspell_aspell).
 
If I include those, and try to build without the makefile, like so:
 
g++ -O2 example-cxx.cc -laspell -lpspell-impl -lpspell-modules -lpspell -lpspell_aspell -o example-cxx
 
I get
 
/usr/local/lib/libpspell.a(manager_impl.o): In function `new_pspell_manager_class(PspellConfig *)':
/cygdrive/e/pspell-.12.2/interface/manager_impl.cc:42: undefined reference to `pspell_manager_funs'
/cygdrive/e/pspell-.12.2/interface/manager_impl.cc:45: undefined reference to `pspell_manager_funs_size'
/cygdrive/e/pspell-.12.2/interface/manager_impl.cc:43: undefined reference to `pspell_manager_funs'
collect2: ld returned 1 exit status
 
Any suggestions?
 
The pspell libraries were configured with the --disable-shared and --disable-ltdl, since the README says the shared libraries won't work on Win32.
The aspell libraries were configured with the --disable-shared option, again at the recommendation of the aspell README
 
Has anyone been able to get this working on the cygwin platform?
 
Thanks,
 
Russell

reply via email to

[Prev in Thread] Current Thread [Next in Thread]