Re: ratpoison 1.4.5 build failure log

"Bernhard R. Link" <[email protected]>
Newsgroups gmane.comp.window-managers.ratpoison.devel
Message-ID <[email protected]>
* PILCH Hartmut <[email protected]> [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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.