Compiling on Windows 7

Daagar
Posts: 89
Joined: Fri Feb 19, 2010 2:42 am

Re: Compiling on Windows 7

Post by Daagar »

Update: Rebuilding Qt5 from source seems to do the trick. Tedious, but doable. The downside is that I went ahead and did it all with a 64bit toolchain. Which is all well and good up until the luarocks libs - guess what, all the generated .dlls end up incompatible. Grr. Since I hate myself, I may try again with a full 32bit toolchain instead.

Code: Select all

[ ERROR ] cannot find Lua module rex_pcre. Some functions may not be available.Lua error:error 
loading module 'rex_pcre' from file '.\rex_pcre.dll':
	%1 is not a valid Win32 application.

User avatar
Vadi
Posts: 5035
Joined: Sat Mar 14, 2009 3:13 pm

Re: Compiling on Windows 7

Post by Vadi »

*applauds*

User avatar
chris
Posts: 493
Joined: Fri Jun 17, 2011 5:39 am

Re: Compiling on Windows 7

Post by chris »

Did you build lrexlib pcre with luarocks?

Daagar
Posts: 89
Joined: Fri Feb 19, 2010 2:42 am

Re: Compiling on Windows 7

Post by Daagar »

Update 8/17/13:
* Instructions below are based on Chris' "master" branch
* Added new libzip dependency instructions
* Removed mention of quazip, and the use of -lz instead of -llibzip1
* Mentioned how to build QT 5.1.0 instead of the 'stable' branch (which is pre-5.1.2)
* Removed use of Lua4Windows. Using the /LUA flag when installing luarocks fixes lib compatibility issues
* Clarified minor typos in wiki page

==============
As mentioned above, the current 5.1.0 version of QT is compiled against mingw32 4.8.0, which has a known conflict with libstdc++-6.dll. The workaround until a newer QT5 is release is to compile it yourself. Note that this doesn't include qt-creator. WebKit is skipped because it is huge, and thankfully mudlet doesn't currently depend on it. The current 'stable' branch will report itself as QT 5.1.2, so slightly newer. If this is an issue, you can use the "5.1.0" branch instead.

Install Prereqs:
[*]Python 2.7.5, 32bit, http://python.org/download
[*] Via installer: ming32 (x32, posix, dwarf, rev3), http://sourceforge.net/projects/mingwbu ... s-install/
[*] msys, http://sourceforge.net/projects/mingwbu ... -packages/
[*] strawberry perl 5.16.31 32bit, http://strawberryperl.com/
[*] OpenSSL-Win32 1.0.1e (full), http://slproweb.com/products/Win32OpenSSL.html
[*] Git, (Atlassian SourceTree, msysgit, etc.)

Add Python and mingw32 to your path (perl adds itself automatically)

Compile QT5:
NOTE: ensure there isn't a 'sh.exe' in your PATH!
* From a windows command prompt: Create a new working directory (ie., c:\work)
* Change to that directory (cd c:\work)
* git clone git://gitorious.org/qt/qt5.git qt5
* cd qt5
* git checkout stable (change this to '5.1.0' instead of 'stable' if you want to ensure you are on the 5.1.0 version)
* perl init-repository --no-webkit
* configure -release -opensource -nomake examples -nomake tests -confirm-license -opengl desktop -openssl -I <path>\OpenSSL-Win32\include -L <path>\OpenSSL-Win32\lib
* mingw32-make -j4 (set '4' to be the number of cores you have)

Once done, add c:\work\qt5\qtbase\bin to your PATH

Compile all the mudlet dependencies as per Chris' wiki docs (hunspell, yajl, lua, etc.)
NOTE: quazip has been replaced by libzip, no need to download or compile this

Compile the new libzip dependency (not yet on the wiki) from http://www.nih.at/libzip/
* From a CMD window: cmake -G "MinGW Makefiles" -D<path to zlib>
* mingw32-make
* Either copy the libs to your mingw32 folders, or add the libzip dirs to Mudlet's src.pro file under LIBS and INCLUDES

Compile mudlet as per Chris' wiki docs

Luarocks Dependencies:
* Install Luarocks as per the wiki, but specify the LUA dir!
example: install.bat /P d:\dev\sdk\luarocks /LUA d:\dev\mudlet_dev\src\lua-5.1.5\src /MW
In this example, I'm specifically setting where I have the source for the Lua dependency compiled above. This is necessary to prevent luarocks from using its own internal copy of Lua, which is built against msvcr80.dll instead of msvcrt.dll.
* Install the luarocks as per the wiki (LuaFileSystem, etc.)
NOTE: I had to rename libpcre-1.dll to libpcre.dll
NOTE: There is a typo with pcre. Use "luarocks install lrexlib-pcre" instead of "luarocks install lrexlib-sqlite"

Copy all other .dlls are necessary per Chris' docs. Note that there won't be any icu*.dll files to copy (we didn't build them with QT5, and they currently don't seem required).
Last edited by Daagar on Sat Aug 17, 2013 7:59 pm, edited 1 time in total.

User avatar
Heiko
Site Admin
Posts: 1548
Joined: Wed Mar 11, 2009 6:26 pm

Re: Compiling on Windows 7

Post by Heiko »

The library quazip is no longer needed.

Daagar
Posts: 89
Joined: Fri Feb 19, 2010 2:42 am

Re: Compiling on Windows 7

Post by Daagar »

That appears to be true on Chris' 'libzip' branch, but I was planted on his 'master' branch where it is still used for the moment.

Daagar
Posts: 89
Joined: Fri Feb 19, 2010 2:42 am

Re: Compiling on Windows 7

Post by Daagar »

Chris recently merged in the removal of quazip for libzip on his 'master' branch. I've updated my wiki addendum post above to match. It now differs only minimally from the wiki page, basically showing how to compile QT5. I could eventually merge this info with the existing page if desired.

Filion
Posts: 93
Joined: Sat Mar 26, 2011 4:21 pm

Re: Compiling on Windows 7

Post by Filion »

I had the following error:



Fanis@Fanis-PC ~/src/hunspell-1.3.2
$ ./configure --prefix=/c/mingw32
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether the C++ compiler works... no
configure: error: in `/home/Fanis/src/hunspell-1.3.2':
configure: error: C++ compiler cannot create executables
See `config.log' for more details.

Fanis@Fanis-PC ~/src/hunspell-1.3.2
$

Daagar
Posts: 89
Joined: Fri Feb 19, 2010 2:42 am

Re: Compiling on Windows 7

Post by Daagar »

The compiler isn't on your PATH (as evidenced by 'Checking for g++ .... no').

Filion
Posts: 93
Joined: Sat Mar 26, 2011 4:21 pm

Re: Compiling on Windows 7

Post by Filion »

Another error:

Fanis@Fanis-PC ~/src/hunspell-1.3.2
$ make && make install
make all-recursive
make[1]: Entering directory `/home/Fanis/src/hunspell-1.3.2'
Making all in intl
make[2]: Entering directory `/home/Fanis/src/hunspell-1.3.2/intl'
sed -e '/IN_LIBGLOCALE/d' \
-e 's,@''HAVE_POSIX_PRINTF''@,0,g' \
-e 's,@''HAVE_ASPRINTF''@,0,g' \
-e 's,@''HAVE_SNPRINTF''@,0,g' \
-e 's,@''HAVE_WPRINTF''@,0,g' \
< ./libgnuintl.h.in \
| if test 'yes' = yes; then \
sed -e 's/extern \([^()]*\);/extern __declspec (dllimport) \1;/'; \
else \
cat; \
fi \
| sed -e 's/extern \([^"]\)/extern LIBINTL_DLL_EXPORTED \1/' \
-e "/#define _LIBINTL_H/r ./export.h" \
| sed -e 's,@''HAVE_VISIBILITY''@,0,g' \
> libgnuintl.h
gcc -c -DLOCALEDIR=\"/c/mingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/c/mingw32/
share/locale\" -DLIBDIR=\"/c/mingw32/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -D
IN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/c/mingw32/lib\"
-DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=
libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2
bindtextdom.c
gcc -c -DLOCALEDIR=\"/c/mingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/c/mingw32/
share/locale\" -DLIBDIR=\"/c/mingw32/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -D
IN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/c/mingw32/lib\"
-DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=
libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2
dcgettext.c
gcc -c -DLOCALEDIR=\"/c/mingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/c/mingw32/
share/locale\" -DLIBDIR=\"/c/mingw32/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -D
IN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/c/mingw32/lib\"
-DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=
libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2
dgettext.c
gcc -c -DLOCALEDIR=\"/c/mingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/c/mingw32/
share/locale\" -DLIBDIR=\"/c/mingw32/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -D
IN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/c/mingw32/lib\"
-DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=
libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2
gettext.c
gcc -c -DLOCALEDIR=\"/c/mingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/c/mingw32/
share/locale\" -DLIBDIR=\"/c/mingw32/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -D
IN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/c/mingw32/lib\"
-DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=
libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2
finddomain.c
gcc -c -DLOCALEDIR=\"/c/mingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/c/mingw32/
share/locale\" -DLIBDIR=\"/c/mingw32/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -D
IN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/c/mingw32/lib\"
-DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=
libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2
hash-string.c
gcc -c -DLOCALEDIR=\"/c/mingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/c/mingw32/
share/locale\" -DLIBDIR=\"/c/mingw32/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -D
IN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/c/mingw32/lib\"
-DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=
libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2
loadmsgcat.c
gcc -c -DLOCALEDIR=\"/c/mingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/c/mingw32/
share/locale\" -DLIBDIR=\"/c/mingw32/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -D
IN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/c/mingw32/lib\"
-DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=
libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2
localealias.c
gcc -c -DLOCALEDIR=\"/c/mingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/c/mingw32/
share/locale\" -DLIBDIR=\"/c/mingw32/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -D
IN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/c/mingw32/lib\"
-DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=
libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2
textdomain.c
gcc -c -DLOCALEDIR=\"/c/mingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/c/mingw32/
share/locale\" -DLIBDIR=\"/c/mingw32/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -D
IN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/c/mingw32/lib\"
-DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=
libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2
l10nflist.c
gcc -c -DLOCALEDIR=\"/c/mingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/c/mingw32/
share/locale\" -DLIBDIR=\"/c/mingw32/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -D
IN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/c/mingw32/lib\"
-DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=
libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2
explodename.c
gcc -c -DLOCALEDIR=\"/c/mingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/c/mingw32/
share/locale\" -DLIBDIR=\"/c/mingw32/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -D
IN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/c/mingw32/lib\"
-DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=
libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2
dcigettext.c
gcc -c -DLOCALEDIR=\"/c/mingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/c/mingw32/
share/locale\" -DLIBDIR=\"/c/mingw32/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -D
IN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/c/mingw32/lib\"
-DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=
libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2
dcngettext.c
gcc -c -DLOCALEDIR=\"/c/mingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/c/mingw32/
share/locale\" -DLIBDIR=\"/c/mingw32/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -D
IN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/c/mingw32/lib\"
-DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=
libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2
dngettext.c
gcc -c -DLOCALEDIR=\"/c/mingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/c/mingw32/
share/locale\" -DLIBDIR=\"/c/mingw32/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -D
IN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/c/mingw32/lib\"
-DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=
libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2
ngettext.c
sed -e '/IN_LIBGLOCALE/d' \
-e 's,@''HAVE_POSIX_PRINTF''@,0,g' \
-e 's,@''HAVE_ASPRINTF''@,0,g' \
-e 's,@''HAVE_SNPRINTF''@,0,g' \
-e 's,@''HAVE_WPRINTF''@,0,g' \
< ./libgnuintl.h.in > libintl.h
gcc -c -DLOCALEDIR=\"/c/mingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/c/mingw32/
share/locale\" -DLIBDIR=\"/c/mingw32/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -D
IN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/c/mingw32/lib\"
-DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=
libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2
plural.c
gcc -c -DLOCALEDIR=\"/c/mingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/c/mingw32/
share/locale\" -DLIBDIR=\"/c/mingw32/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -D
IN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/c/mingw32/lib\"
-DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=
libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2
plural-exp.c
gcc -c -DLOCALEDIR=\"/c/mingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/c/mingw32/
share/locale\" -DLIBDIR=\"/c/mingw32/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -D
IN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/c/mingw32/lib\"
-DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=
libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2
localcharset.c
gcc -c -DLOCALEDIR=\"/c/mingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/c/mingw32/
share/locale\" -DLIBDIR=\"/c/mingw32/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -D
IN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/c/mingw32/lib\"
-DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=
libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2
lock.c
lock.c: In function `libintl_lock_lock':
lock.c:534: warning: passing arg 1 of `InterlockedIncrement' discards `volatile'
from pointer target type
lock.c: In function `libintl_rwlock_rdlock':
lock.c:666: warning: passing arg 1 of `InterlockedIncrement' discards `volatile'
from pointer target type
lock.c: In function `libintl_rwlock_wrlock':
lock.c:719: warning: passing arg 1 of `InterlockedIncrement' discards `volatile'
from pointer target type
lock.c: In function `libintl_recursive_lock_lock':
lock.c:837: warning: passing arg 1 of `InterlockedIncrement' discards `volatile'
from pointer target type
lock.c: In function `libintl_once':
lock.c:888: warning: passing arg 1 of `InterlockedIncrement' discards `volatile'
from pointer target type
lock.c:901: warning: passing arg 1 of `InterlockedDecrement' discards `volatile'
from pointer target type
gcc -c -DLOCALEDIR=\"/c/mingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/c/mingw32/
share/locale\" -DLIBDIR=\"/c/mingw32/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -D
IN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/c/mingw32/lib\"
-DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=
libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2
relocatable.c
gcc -c -DLOCALEDIR=\"/c/mingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/c/mingw32/
share/locale\" -DLIBDIR=\"/c/mingw32/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -D
IN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/c/mingw32/lib\"
-DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=
libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2
langprefs.c
gcc -c -DLOCALEDIR=\"/c/mingw32/share/locale\" -DLOCALE_ALIAS_PATH=\"/c/mingw32/
share/locale\" -DLIBDIR=\"/c/mingw32/lib\" -DBUILDING_LIBINTL -DBUILDING_DLL -D
IN_LIBINTL -DENABLE_RELOCATABLE=1 -DIN_LIBRARY -DINSTALLDIR=\"/c/mingw32/lib\"
-DNO_XMALLOC -Dset_relocation_prefix=libintl_set_relocation_prefix -Drelocate=
libintl_relocate -DDEPENDS_ON_LIBICONV=1 -DHAVE_CONFIG_H -I. -I. -I.. -g -O2
localename.c
In file included from gettextP.h:23,
from localename.c:27:
\cygnus\cygwin-b20\H-i586-cygwin32\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\includ
e\stddef.h:118: syntax error before `typedef'
Makefile:215: recipe for target `localename.o' failed
make[2]: *** [localename.o] Error 1
make[2]: Leaving directory `/home/Fanis/src/hunspell-1.3.2/intl'
Makefile:425: recipe for target `all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Fanis/src/hunspell-1.3.2'
Makefile:330: recipe for target `all' failed
make: *** [all] Error 2

Fanis@Fanis-PC ~/src/hunspell-1.3.2
$

Post Reply