[Top][All Lists]

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

Re: [Nano-devel] problems compiling

From: David Lawrence Ramsey
Subject: Re: [Nano-devel] problems compiling
Date: Sat, 19 Oct 2002 15:45:25 -0700 (PDT)

--- Ken Tyler <address@hidden> wrote:
>The most recent commit (in the the last 24 hrs.) has caused nano not to
>files.c: In function `read_file':
>files.c:306: warning: passing arg 1 of `statusbar' makes pointer from integer 
>without a cast
>repeated for lines 310 314 1650
>files.c:308: undefined reference to `ngettext'
>/root/nano/files.c:308: relocation truncated to fit: R_PPC_REL24 ngettext
>repeated for lines 313 1649
>./configure with --disable-nls compiles.

I've looked into this.  Are you using glibc < 2.2?  To quote from the glibc 
changelog for 2.2,

* Plural handling in gettext implemented by Ulrich Drepper.

That most likely means ngettext() was added then.  I've
put together a patch (attached) which I believe fixes the
compilation problem, and removes a stray space elsewhere
in  I tested it by manually defining
NO_NGETTEXT in config.h, and nano compiled perfectly and still did plural 
handling properly.  Does it work for you?

Sluggy.Net: The Sluggy Freelance Community!

Select your own custom email address for FREE! Get address@hidden w/No Ads, 
6MB, POP & more!

Attachment: nanongettext.patch
Description: Binary data

reply via email to

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