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

Adrian Bunk bunk at ...96...
Wed Jan 7 15:17:39 CET 2004


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 not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed





More information about the Devel mailing list