bug-ncurses
[Top][All Lists]
Advanced

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

Re: Problems with ncurses-5.2-20010603.patch.gz


From: Sven Verdoolaege
Subject: Re: Problems with ncurses-5.2-20010603.patch.gz
Date: Tue, 5 Jun 2001 13:18:27 +0200
User-agent: Mutt/1.3.17i

On Tue, Jun 05, 2001 at 07:10:07AM -0400, Larry W. Virden wrote:
> The good news is that with your patch, everything compiled.
> 
> The bad news is this:
> 
> cc ../obj_s/tic.o ../obj_s/dump_entry.o -R 
> /volws/lwv26/ldatae/gnu/ncurses-5.2/lib:/projects/gnu/sparc-sun-solaris2.6/lib
>  -L../lib -L/projects/gnu/sparc-sun-solaris2.6/lib -lncursesw       -o tic
> Undefined                       first referenced
>  symbol                             in file
> wctob                               ../lib/libncursesw.so

Hmm... some configure test will be required, try adding this somewhere:
(untested)

int wctob (wint_t c)
{
    char s[MB_LEN_MAX];
    wctomb(s, c)
    return (s[1] == '\0' && s[0] == (char)c) ? s[0] : EOF;
}

skimo



reply via email to

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