lizt
2013-03-26 13:02:09 UTC
dear guys:
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
make[2]: *** [getline.o] Error 1
make[2]: Leaving directory `/home/myPrograms/cvs/cvs-1.11.23/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/myPrograms/cvs/cvs-1.11.23'
make: *** [all] Error 2
I fixed it by rename the function "int getline()" in source file
lib/getline.c .
Please check and confirm the bug. Thank you.
Yours faithfully
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
make[2]: *** [getline.o] Error 1
make[2]: Leaving directory `/home/myPrograms/cvs/cvs-1.11.23/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/myPrograms/cvs/cvs-1.11.23'
make: *** [all] Error 2
I fixed it by rename the function "int getline()" in source file
lib/getline.c .
Please check and confirm the bug. Thank you.
Yours faithfully