[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CODESET undeclared on old Linux libc5
From: |
Thomas Dickey |
Subject: |
Re: CODESET undeclared on old Linux libc5 |
Date: |
Sat, 8 May 2004 10:28:29 -0400 (EDT) |
On Sat, 1 May 2004, Alain Guibert wrote:
> Hello,
>
> On my old Linux box (Intel Debian bo: kernel 2.0.39, gcc 2.7.2.1,
> libc 5.4.33, gettext 0.12.1) during normal (no widec) build of
> ncurses-5.4 with 20040424 cumulative patch, make fails:
>
> | $ ./configure ; make
> | [...]
> | checking for nl_langinfo and CODESET... no
> | [...]
> | gcc -DHAVE_CONFIG_H -I../ncurses -I. -I. -I../include -DNDEBUG -O2 -c
> ../ncurses/./tinfo/lib_setup.c -o ../objects/lib_setup.o
> | ../ncurses/./tinfo/lib_setup.c: In function `_nc_unicode_locale':
> | ../ncurses/./tinfo/lib_setup.c:360: `CODESET' undeclared (first use this
> function)
> | ../ncurses/./tinfo/lib_setup.c:360: (Each undeclared identifier is reported
> only once
> | ../ncurses/./tinfo/lib_setup.c:360: for each function it appears in.)
> | make[1]: *** [../objects/lib_setup.o] Error 1
> | make[1]: Leaving directory `/tmp/ncurses-5.4/ncurses'
> | make: *** [all] Error 2
>
> Pure 5.4 without ncurses-5.4-20040424-patch.sh.bz2 builds and works OK.
thanks - I didn't notice this. (I have a Slackware 3.6 with libc5 that
I compile on occasionally, but probably wouldn't visit it for a couple
of months). I'll put a fix in today's patch.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net