On Tue, Mar 26, 2013 at 09:02:09PM +0800, lizt wrote: > I found a bug when I installed the cvs using source package > cvs-1.11.23.tar.gz . > Detail: > make all-recursive > make[1]: Entering directory `/home/myPrograms/cvs/cvs-1.11.23' > Making all in lib > make[2]: Entering directory `/home/myPrograms/cvs/cvs-1.11.23/lib' > gcc -DHAVE_CONFIG_H -I. -I.. -I../src -g -O2 -MT > getline.o -MD -MP -MF .deps/getline.Tpo -c -o getline.o getline.c > In file included from getline.c:25:0: > getline.h:15:3: error: conflicting types for 'getline' > /usr/include/stdio.h:675:20: note: previous declaration of > 'getline' was here > getline.c:158:1: error: conflicting types for 'getline' > /usr/include/stdio.h:675:20: note: previous declaration of > 'getline' was here Use patch <http://pkgs.fedoraproject.org/cgit/cvs.git/plain/cvs-1.11.23-getline64.patch>. The sources bundles old implemetation from gnulib which is not compatible with current glibc.
-- Petr
pgpwj4hs9DyVm.pgp
Description: PGP signature
_______________________________________________ Bug-cvs mailing list Bug-cvs@nongnu.org https://lists.nongnu.org/mailman/listinfo/bug-cvs