ratpoison-devel
[Top][All Lists]
Advanced

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

Re: [RP] ratpoison 1.4.5 build failure log


From: Bernhard R. Link
Subject: Re: [RP] ratpoison 1.4.5 build failure log
Date: Fri, 28 Jan 2011 17:01:32 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

* PILCH Hartmut <address@hidden> [110128 16:34]:
>    gcc -DHAVE_CONFIG_H -I.   -I/usr/include/freetype2     -g -O2 -Wall -O2 
> -MT history.o -MD -MP -MF .deps/history.Tpo -c -o history.o history.c
>    history.c:78:1: error: static declaration of 'getline' follows non-static 
> declaration
>    /usr/include/stdio.h:653:20: note: previous declaration of 'getline' was 
> here
> Is this known?
> 
> Should I stay with 1.4.3 or try a current development version?

That was fixed in 4ad0b38fb53506d613c4b4f7268dadfcedae9b8e.
Or you can just remove the deklaration of getline (i.e. replace
"#ifndef HAVE_GETLINE" with "#if 0") if you know you are working on
a glibc system and prefer to patch the source over the build system.

        Bernhard R. Link



reply via email to

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