|
From: | Dmitry Dneprov |
Subject: | [pspell] Cannot compile pspell examples |
Date: | Wed, 16 Aug 2000 17:41:44 +0400 |
Hi Gurus !
I've been successfully installed and compiled
pspell-11.1 with aspell-32.1 module
on Win32 (NT4.0SP5) using cygwin environment
and gcc-2-95-2-2.
pspell and aspell have been compiled and
installed without noticable errors,
but examples don't compile.
Try #1:
$ make example-cxx
c++ -g -O2 example-cxx.cc -o example-cxx /cygdrive/c/TEMP/ccI3rKuF.o: In function `main': /home/500/pspell-.11.1/examples/example-cxx.cc:34: undefined reference to `new_p spell_config' /home/500/pspell-.11.1/examples/example-cxx.cc:47: undefined reference to `new_p spell_manager' /home/500/pspell-.11.1/examples/example-cxx.cc:49: undefined reference to `delet e_pspell_config' /home/500/pspell-.11.1/examples/example-cxx.cc:53: undefined reference to `delet e_pspell_can_have_error' /home/500/pspell-.11.1/examples/example-cxx.cc:160: undefined reference to `dele te_pspell_manager' collect2: ld returned 1 exit status make: *** [example-cxx] Error 1 Try #2:
$ make example-cxx.exe
/bin/sh ../libtool --mode=link c++ -g -O2 -o example-cxx.exe example-cxx.o -L /usr/local/lib -lpspell -lpspell-impl -lpspell-modules -lpspell_aspell -laspell -L/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2 -lstdc++ c++ -g -O2 -o example-cxx.exe example-cxx.o -L/usr/local/lib -L/usr/lib/gcc-lib /i686-pc-cygwin/2.95.2 /usr/local/lib/libpspell_aspell.a /usr/local/lib/libaspel l.a /usr/local/lib/libpspell-impl.a /usr/local/lib/libpspell.a /usr/local/lib/li bpspell-modules.a -lstdc++ /usr/local/lib/libpspell-modules.a(preload.o.b)(.text+0x4):/home/500/pspell-.11. 1/modules/preload.c: undefined reference to `libpspell_aspell_LTX_new_pspell_man ager_class' collect2: ld returned 1 exit status make: *** [example-cxx.exe] Error 1 Please help.
Dmitry Dneprov,
programmer,
Tatco Co., Ltd.,
Moscow, Russia
|
[Prev in Thread] | Current Thread | [Next in Thread] |