[Gambas-devel] gambas-0.80 doesn't compile on NetBSD 1.5

Benoit Minisini gambas at ...1...
Wed Jan 7 23:40:02 CET 2004


On Wednesday 07 January 2004 15:17, Adrian Bunk wrote:
> Hi,
>
> I got the following compile error when trying to compile gambas-0.80 on
> NetBSD/sparc-1.5:
>
> <--  snip  -->
>
> ...
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/share
> -I/usr/local/include/ -I/usr/local/include/ -I../../libltdl -O2 -mcpu=v8
> -pipe -Wall -g -Os -c local.c  -fPIC -DPIC -o local.lo
> local.c: In function `LOCAL_init':
> local.c:355: warning: `%x' yields only last 2 digits of year in some
> locales local.c:434: `CODESET' undeclared (first use in this function)
> local.c:434: (Each undeclared identifier is reported only once
> local.c:434: for each function it appears in.)
> make[3]: *** [local.lo] Error 1
> make[3]: Leaving directory `/aux/adrian/build/gambas-0.80/src/exec'
>
> <--  snip  -->
>
>
> NetBSD 1.5 has nl_langinfo() but without CODESET.
>
> gettext ships a AM_LANGINFO_CODESET autoconf macro that checks for
> nl_langinfo(CODESET), but I haven't checked how the alternative code
> should look like.
>
>
> cu
> Adrian

Is there a replacement for nl_langinfo(CODESET) in NetBSD ?
Elsewhere, is there a way to find the charset used by the system ?

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...





More information about the Devel mailing list