Hi Friends,
We need a little help. We are trying to install CVS 1.11.22 from source. We resolved all the dependencies. We can run ./configure successfully but getting following error when we use MAKE command.
Here is the error. can anyone help us out resolving this.
# make
make all-recursive
make[1]: Entering directory `/home/admin/Downloads/cvs-1.11.22-cvsacl-1.2.5-patched'
Making all in lib
make[2]: Entering directory `/home/admin/Downloads/cvs-1.11.22-cvsacl-1.2.5-patched/lib'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -g -O2 -MT getline.o -MD -MP -MF ".deps/getline.Tpo" -c -o getline.o getline.c; \
then mv -f ".deps/getline.Tpo" ".deps/getline.Po"; else rm -f ".deps/getline.Tpo"; exit 1; fi
In file included from getline.c:25:0:
getline.h:15:3: error: conflicting types for ‘getline’
/usr/include/stdio.h:673:18: note: previous declaration of ‘getline’ was here
getline.c:158:1: error: conflicting types for ‘getline’
/usr/include/stdio.h:673:18: note: previous declaration of ‘getline’ was here
make[2]: *** [getline.o] Error 1
make[2]: Leaving directory `/home/admin/Downloads/cvs-1.11.22-cvsacl-1.2.5-patched/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/admin/Downloads/cvs-1.11.22-cvsacl-1.2.5-patched'
make: *** [all] Error 2
--
Regards,
Hardik. Nagarkar
Messenger ID's
Skype Name: sp.hardik Yahoo:hardiknagarkar@yahoo.co.in
GTalk: hardiknagarkar@gmail.com MSN: hardiknagarkar@hotmail.com

CVS installation on Fedora 14 64 Bit Machine
Alok Thaker |It's a kind of cvs bug why don't you try installing rpm for the distro you are using instead or building it from source.
Thanks,
Alok Thaker
Linux/Networking/Voip/Security Consultant !
Inferno Solutions !
Go with the best !
www.inferno.co.in !
All Linux-Java-Voip-Web Solutions-Training under one Roof 1
M:-9925519798/9898710678