bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: widec build error on old Linux libc5


From: Thomas E. Dickey
Subject: Re: widec build error on old Linux libc5
Date: Sun, 3 Aug 2003 09:22:03 -0400 (EDT)

On Fri, 1 Aug 2003, 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, no gettext) during --enable-widec build of ncurses-5.3 with
> 20030719 cumulative patch, make fails:
>
> | $ ./configure --enable-widec ; make

I don't believe you can make this work.  I spent some time last year
looking at it with my Slackware 3.6 (also libc5), and installed libiconv
and libutf8 - but found that the system headers declared some things
such as wchar_t incompatibly.  (wcwidth would be provided by libutf8,
but the conflicting definition of wchar_t meant that what I built wouldn't
work consistently).

> | [...]
> | make[1]: Entering directory `/tmp/ncurses-5.3/test'
> | cd ../objects;  gcc -I../test -I. -DHAVE_CONFIG_H -I. -I../include  
> -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED -DNDEBUG -O2 -c ../test/blue.c
> | gcc -O2 -o blue ../objects/blue.o -L../lib -lformw -lmenuw -lpanelw 
> -lncursesw      -I../test -I. -DHAVE_CONFIG_H -I. -I../include  
> -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED -DNDEBUG -O2
> | ../lib/libncursesw.a(lib_addch.o): In function `waddch_literal':
> | lib_addch.o(.text+0x2db): undefined reference to `wcwidth'
> | lib_addch.o(.text+0x384): undefined reference to `wcwidth'
> | ../lib/libncursesw.a(lib_addstr.o): In function `wadd_wchnstr':
> | lib_addstr.o(.text+0x319): undefined reference to `wcwidth'
> | ../lib/libncursesw.a(tty_update.o): In function `PutCharLR':
> | tty_update.o(.text+0x95): undefined reference to `wcwidth'
> | tty_update.o(.text+0x2ed): undefined reference to `wcwidth'
> | ../lib/libncursesw.a(tty_update.o)(.text+0x59e): more undefined references 
> to `wcwidth' follow
> | make[1]: *** [blue] Error 1
> | make[1]: Leaving directory `/tmp/ncurses-5.3/test'
> | make: *** [all] Error 2
>
>
> I'm not a build process expert (really not), so I don't know what to do
> next as test... Same problem on another box with clean same system. More
> or less same problem with unpatched 5.3. No problem to build without
> widec.
>
>
> Please CC me, I'm not subscribed. Alain.
>
>
> _______________________________________________
> Bug-ncurses mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-ncurses
>

-- 
T.E.Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]