Ben Pfaff wrote:
> This fixes the build in the case where both libintl and PSPP's
> Gnulib define __printf__. But it broke the build in the
> previously working case where libintl did not define __printf__
> but PSPP's Gnulib did and no longer does. This is the case on,
> for example, FreeBSD 7.3
Bruno Haible writes, some time ago:
>> +#if !DEPENDS_ON_LIBINTL /* avoid collision with intl/printf.c */
>
> Also, your configure.ac should define DEPENDS_ON_LIBINTL if LIBINTL
> (determined by AM_GNU_GETTEXT) evaluates to non-empty.
This fixes the build in the case where both libintl and PSPP's
> +#if !DEPENDS_ON_LIBINTL /* avoid collision with intl/printf.c */
Also, your configure.ac should define DEPENDS_ON_LIBINTL if LIBINTL
(determined by AM_GNU_GETTEXT) evaluates to non-empty.
Bruno
Hello,
Michel Boaventura wrote:
> I'm trying to compile a project which uses both gettext and gnulib. I'm
> using mingw, and getting the above error:
>
> /home/michel/prof/pspp/sources/mingw/usr/i686-pc-mingw32/lib/libintl.a(printf.o):
> In function `__printf__':
> /home/arquivos/prof/pspp/sourc
This really only happens when I compile gettext with --disable-shared. I
_think_ that gettext-0.17 doesn't have the gnulib version with this fix,
since it is dated from 2007. The reason why I'm compiling it using
--disable-shared is to avoid dll hell
(http://en.wikipedia.org/wiki/DLL_hell) and to m
The project is pspp, and I'm using the latest git version of gnulib
Could be other problem?
On 03/24/2010 04:21 PM, Michel Boaventura wrote:
> Hello,
>
> I'm trying to compile a project which uses both gettext and gnulib. I'm
> using mingw, and getting the above error:
Could the project just be using a stale snapshot of gnulib?
> Looking at the archive of this list, this error should b
Hello,
I'm trying to compile a project which uses both gettext and gnulib. I'm
using mingw, and getting the above error:
/home/michel/prof/pspp/sources/mingw/usr/i686-pc-mingw32/lib/libintl.a(printf.o):
In function `__printf__':
/home/arquivos/prof/pspp/sources/mingw/tmp-gettext/gettext-0.17/get