yes, 64-bit , i later try it.

On Mon, Aug 9, 2010 at 2:32 PM, Gilles Espinasse <[email protected]> wrote:

> 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
>
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to