aspell-user
[Top][All Lists]
Advanced

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

[Aspell-user] Building Aspell 5.0 on win32


From: François Boudreau
Subject: [Aspell-user] Building Aspell 5.0 on win32
Date: Mon, 26 Aug 2002 11:48:53 -0400

Hello ! I'm trying to build Aspell 5.0 using Cygwin on WinXP.

I got an error when compiling.

g++ -shared -nostdlib   .libs/string.o .libs/getdata.o .libs/itemize.o
.libs/fil
e_util.o .libs/string_buffer.o .libs/string_map.o .libs/string_list.o
.libs/conf
ig.o .libs/posib_err.o .libs/errors.o .libs/error.o .libs/fstream.o
.libs/iostre
am.o .libs/info.o .libs/can_have_error.o .libs/convert.o .libs/tokenizer.o
.libs
/speller.o .libs/document_checker.o .libs/filter.o
libs/strtonum.o  -L/usr/loca
l/lib -L/usr/lib -L/usr/lib/w32api -L/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-
5 -l
stdc++ -lgcc -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc   -o
.libs/
cygaspell-common-0-50.dll -Wl,--image-base=0x10000000 -Wl,--out-implib,.libs
/lib
aspell-common.dll.a
Creating library file: .libs/libaspell-common.dll.a
.libs/speller.o: In function `_Q27acommon7SpellerPv':
/cygdrive/c/aspell-0.50/common/speller.cpp:14: undefined reference to
`acommon::
CopyPtr<acommon::Config>::Parms::del(acommon::Config *)'
collect2: ld returned 1 exit status
make[2]: *** [libaspell-common.la] Error 1
make[2]: Leaving directory `/cygdrive/c/aspell-0.50/common'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/cygdrive/c/aspell-0.50/common'
make: *** [all-recursive] Error 1

I "fixed" that by adding these lines to speller.cpp
#include "Config.hpp"
#include "copy_ptr-t.hpp"


I get another error a bit later.

g++ -g -O2 -o .libs/aspell.exe aspell.o check_funs.o checker_string.o
../lib/.l
ibs/libaspell.dll.a
/cygdrive/c/aspell-0.50/common/.libs/libaspell-common.dll.a
-L/usr/local/lib -L/usr/lib -L/usr/lib/w32api -L/usr/lib/gcc-lib/i686-pc-cyg
win/
2.95.3-5 -lgcc -lgcc -lgcc -lgcc -lgcc -lgcc -lgcc -lgcc -lstdc++ -lgcc -lcy
gwin
 -luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc -lcurses -L/usr/local/lib
aspell.o: In function `config(void)':
/cygdrive/c/aspell-0.50/prog/aspell.cpp:360: variable 'acommon::COUT' can't
be a
uto-imported. Please read the documentation for ld's --enable-auto-import
for de
tails.
aspell.o: In function `dump(aspeller::LocalWordSet)':
/cygdrive/c/aspell-0.50/prog/aspell.cpp:1022: variable 'acommon::COUT' can't
be
auto-imported. Please read the documentation for ld's --enable-auto-import
for d
etails.
aspell.o: In function `personal(void)':
/cygdrive/c/aspell-0.50/prog/aspell.cpp:1118: variable 'acommon::COUT' can't
be
auto-imported. Please read the documentation for ld's --enable-auto-import
for d
etails.
Info: resolving acommon::CERR   by linking to __imp___7acommon$CERR
(auto-import
)
Info: resolving acommon::COUT   by linking to __imp___7acommon$COUT
(auto-import
)
Info: resolving acommon::CIN   by linking to __imp___7acommon$CIN
(auto-import)
Info: resolving _aerror_other by linking to __imp__aerror_other
(auto-import)
(...)
Info: resolving _aerror_conflicting_flags by linking to
__imp__aerror_conflictin
g_flags (auto-import)
Info: resolving _COLS by linking to __imp__COLS (auto-import)
Info: resolving _stdscr by linking to __imp__stdscr (auto-import)
collect2: ld returned 1 exit status
make[1]: *** [aspell.exe] Error 1
make[1]: Leaving directory `/cygdrive/c/aspell-0.50/prog'
make: *** [all-recursive] Error 1


But all I want is the C interface and at this point all the dll I need
appear to be created. I tried the examples, they seem to work fine. So I
don't think I will investigate more. I'm just reporting the problem.


Thanks for writing Aspell ! Not that I tried it much yet, but it looks very
cool.


François Boudreau







reply via email to

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