Selon Bruce Dubbs <[email protected]>: > é·æº wrote: > > Hi, > > make all-recursive > > make[1]: Entering directory `/blfs-sources/cvs-1.11.23' > > Making all in lib > > make[2]: Entering directory `/blfs-sources/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: > > getline.h:15: error: conflicting types for âgetlineâ > > /usr/include/stdio.h:651: note: previous declaration of âgetlineâ was > here > > getline.c:158: error: conflicting types for âgetlineâ > > /usr/include/stdio.h:651: note: previous declaration of âgetlineâ was > here > > make[2]: *** [getline.o] Error 1 > > make[2]: Leaving directory `/blfs-sources/cvs-1.11.23/lib' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/blfs-sources/cvs-1.11.23' > > make: *** [all] Error 2 > > I don't have time to do it, but edit lib/getline.h and change getline to > get_line (one place). > > Then find all the .c programs that call getline and change those to > get_line. > > The real fix would be to use glibc's getline, but I don't know if that > would work. The last change to cvs was in May 2008. You really don't > want to use it unless you have to. > > -- Bruce > > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-dev > FAQ: http://www.linuxfromscratch.org/faq/ > Unsubscribe: See the above information page > I look at fedora and they have a getline64 patch http://cvs.fedoraproject.org/viewvc/F-13/cvs/
Is this a 64-bit host/compilation? Gilles -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
