[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
error building gettext 0.17 on Interix/sfu/sua (strdup/_ALL_SOURCE)
From: |
Jay |
Subject: |
error building gettext 0.17 on Interix/sfu/sua (strdup/_ALL_SOURCE) |
Date: |
Tue, 16 Jun 2009 07:53:54 +0000 |
/src/gettext-0.17/gettext-runtime/libasprintf/autosprintf.cc: In copy
constructor `gnu::autosprintf::autosprintf(const gnu::autosprintf&)':
/src/gettext-0.17/gettext-runtime/libasprintf/autosprintf.cc:51: error: `strdup
' undeclared (first use this function)
/src/gettext-0.17/gettext-runtime/libasprintf/autosprintf.cc:51: error: (Each
undeclared identifier is reported only once for each function it appears
in.)
make[4]: *** [autosprintf.lo] Error 1
make[4]: Leaving directory `/dev/fs/C/obj/getttext/gettext-runtime/libasprintf'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/dev/fs/C/obj/getttext/gettext-runtime/libasprintf'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/dev/fs/C/obj/getttext/gettext-runtime'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/dev/fs/C/obj/getttext/gettext-runtime'
make: *** [all-recursive] Error 1
$
It appears very likely that CFLAGS=-D_ALL_SOURCE configure..
will fix this.
maybe #define _ALL_SOURCE in autosprinf.cc?
Or make the autoconfigury #define it if it reveals strdup?
- Jay
- error building gettext 0.17 on Interix/sfu/sua (strdup/_ALL_SOURCE),
Jay <=