bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: can't compile gettext-0.17 on Mingw on Windows XP (using gcc-3.4.5)


From: Bruno Haible
Subject: Re: can't compile gettext-0.17 on Mingw on Windows XP (using gcc-3.4.5)
Date: Sun, 17 Jan 2010 18:22:12 +0100
User-agent: KMail/1.9.9

Hello,

haibin zhang wrote:
> When I compile gettext-0.17 on Mingw on Windows XP (using gcc-3.4.5),
> I got the following error, but I have installed pthread in /mingw
> 
> make[3]: Entering directory `/d/d/cdev/gettext-0.17/gettext-runtime/tests'
> gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I./../intl -I/mingw/include  -O2 
> -Id:/msys/mingw/include/glib-2.0 -Id:/msys/mingw/lib/glib-2.0/include -c 
> test-lock.c
> test-lock.c: In function `gl_thread_self':
> test-lock.c:109: error: cannot convert to a pointer type
> make[3]: *** [test-lock.o] Error 1
> make[3]: Leaving directory `/d/d/cdev/gettext-0.17/gettext-runtime/tests'

It looks like the macro USE_POSIX_THREADS is defined in your build. This should
be the case on mingw. On mingw, only USE_WIN32_THREADS should be defined, not
USE_POSIX_THREADS.

This may come from the options you passed to configure, or other details that
you did not show.

Bruno




reply via email to

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