aspell-user
[Top][All Lists]
Advanced

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

[Aspell-user] Win compile with mingw


From: Ryan Johnson
Subject: [Aspell-user] Win compile with mingw
Date: Tue, 11 May 2004 14:22:22 -0400
User-agent: Mozilla Thunderbird 0.5 (Windows/20040207)

Hello everyone,

I am having some compiltime errors when trying to compile aspell-0.50.2 and aspell-0.50.4.1
OS: winXP
Mingw: MinGW-3.1.0-1.exe <http://prdownloads.sf.net/mingw/MinGW-3.1.0-1.exe?download> mingw-make mingw32-make-3.80.0-3.exe <http://prdownloads.sf.net/mingw/mingw32-make-3.80.0-3.exe?download>

In the Makefile I have change the prefix to D:/aspell
I used the following Makefile and settings.h -> http://aspell.net/win32/files/win32/

######mingw32-make output aspell-0.50.2

D:\aspell\win32>mingw32-make
g++ ../common/mk-dirs_h.cpp -lstdc++  -o mk-dirs_h
echo '#define PREFIX "d:/aspell"'            >  dirs.h
.\mk-dirs_h d:/aspell DICT_DIR d:/aspell/dict  >> dirs.h
.\mk-dirs_h d:/aspell DATA_DIR d:/aspell/data >> dirs.h
.\mk-dirs_h d:/aspell CONF_DIR d:/aspell >> dirs.h
g++ -mms-bitfields -mno-cygwin -O3 -DENABLE_WIN32_RELOCATABLE -I. -I../common -I../interfaces/cc -I../modules/filter -I../modules/speller/default -I../modules
/tokenizer    -c -o config.o ../common/config.cpp
In file included from ../common/config.cpp:12:
dirs.h:1:1: warning: character constant too long
In file included from ../common/config.cpp:12:
dirs.h:1: parse error before '\x23646566'
In file included from ../common/asc_ctype.hpp:10,
                from ../common/config.cpp:15:
../common/parm_string.hpp:46: parse error before `&' token
../common/parm_string.hpp:47: parse error before `&' token
../common/parm_string.hpp:104: parse error before `}' token
In file included from ../common/posib_err.hpp:10,
                from ../common/asc_ctype.hpp:11,
                from ../common/config.cpp:15:
../common/string.hpp: In constructor `ParmString::ParmString(const String&)':
../common/string.hpp:68: invalid use of undefined type `struct String'
../common/parm_string.hpp:38: forward declaration of `struct String'
../common/string.hpp:68: invalid use of undefined type `struct String'
../common/parm_string.hpp:38: forward declaration of `struct String'
In file included from ../common/asc_ctype.hpp:11,
                from ../common/config.cpp:15:
../common/posib_err.hpp: At global scope:
../common/posib_err.hpp:217: parse error before `&' token
../common/posib_err.hpp:220: parse error before `&' token
../common/asc_ctype.hpp:13: confused by earlier errors, bailing out
mingw32-make: *** [config.o] Error 1

D:\aspell\win32>

####End

########aspell-0.50.4.1 mingw32-make output

D:\aspell-0.50.4.1\win32>mingw32-make
g++ ../common/mk-dirs_h.cpp -lstdc++  -o mk-dirs_h
echo '#define PREFIX "d:/aspell"'            >  dirs.h
.\mk-dirs_h d:/aspell DICT_DIR d:/aspell/dict  >> dirs.h
.\mk-dirs_h d:/aspell DATA_DIR d:/aspell/data >> dirs.h
.\mk-dirs_h d:/aspell CONF_DIR d:/aspell >> dirs.h
g++ -mms-bitfields -mno-cygwin -O3 -DENABLE_WIN32_RELOCATABLE -I. -I../common -I../interfaces/cc -I../modules/filter -I../modules/speller/default -I../modules
/tokenizer    -c -o string.o ../common/string.cpp
g++ -mms-bitfields -mno-cygwin -O3 -DENABLE_WIN32_RELOCATABLE -I. -I../common -I../interfaces/cc -I../modules/filter -I../modules/speller/default -I../modules
/tokenizer    -c -o getdata.o ../common/getdata.cpp
g++ -mms-bitfields -mno-cygwin -O3 -DENABLE_WIN32_RELOCATABLE -I. -I../common -I../interfaces/cc -I../modules/filter -I../modules/speller/default -I../modules
/tokenizer    -c -o itemize.o ../common/itemize.cpp
g++ -mms-bitfields -mno-cygwin -O3 -DENABLE_WIN32_RELOCATABLE -I. -I../common -I../interfaces/cc -I../modules/filter -I../modules/speller/default -I../modules
/tokenizer    -c -o file_util.o ../common/file_util.cpp
g++ -mms-bitfields -mno-cygwin -O3 -DENABLE_WIN32_RELOCATABLE -I. -I../common -I../interfaces/cc -I../modules/filter -I../modules/speller/default -I../modules
/tokenizer    -c -o string_buffer.o ../common/string_buffer.cpp
g++ -mms-bitfields -mno-cygwin -O3 -DENABLE_WIN32_RELOCATABLE -I. -I../common -I../interfaces/cc -I../modules/filter -I../modules/speller/default -I../modules
/tokenizer    -c -o string_map.o ../common/string_map.cpp
g++ -mms-bitfields -mno-cygwin -O3 -DENABLE_WIN32_RELOCATABLE -I. -I../common -I../interfaces/cc -I../modules/filter -I../modules/speller/default -I../modules
/tokenizer    -c -o string_list.o ../common/string_list.cpp
g++ -mms-bitfields -mno-cygwin -O3 -DENABLE_WIN32_RELOCATABLE -I. -I../common -I../interfaces/cc -I../modules/filter -I../modules/speller/default -I../modules
/tokenizer    -c -o config.o ../common/config.cpp
In file included from ../common/config.cpp:12:
dirs.h:1:1: warning: character constant too long
In file included from ../common/config.cpp:12:
dirs.h:1: parse error before '\x23646566'
In file included from ../common/asc_ctype.hpp:10,
                from ../common/config.cpp:15:
../common/parm_string.hpp:46: parse error before `&' token
../common/parm_string.hpp:47: parse error before `&' token
../common/parm_string.hpp:104: parse error before `}' token
In file included from ../common/posib_err.hpp:10,
                from ../common/asc_ctype.hpp:11,
                from ../common/config.cpp:15:
../common/string.hpp: In constructor `ParmString::ParmString(const String&)':
../common/string.hpp:69: invalid use of undefined type `struct String'
../common/parm_string.hpp:38: forward declaration of `struct String'
../common/string.hpp:69: invalid use of undefined type `struct String'
../common/parm_string.hpp:38: forward declaration of `struct String'
In file included from ../common/asc_ctype.hpp:11,
                from ../common/config.cpp:15:
../common/posib_err.hpp: At global scope:
../common/posib_err.hpp:220: parse error before `&' token
../common/posib_err.hpp:223: parse error before `&' token
../common/asc_ctype.hpp:13: confused by earlier errors, bailing out
mingw32-make: *** [config.o] Error 1

D:\aspell-0.50.4.1\win32>

####### end


I originally tried  aspell-0.50.4.1-vc++

http://ftp.gnu.org/gnu/aspell/w32/aspell-0.50.4.1-vc++-src.zip

but nmake had issues with the Makefile.

I must be missing something.

Thanks in advance.

Ryan





reply via email to

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