#2401: Glibc-2.10.1
------------------------------------------+---------------------------------
 Reporter:  matt...@…                     |       Owner:  lfs-b...@…            
       
     Type:  task                          |      Status:  new                   
       
 Priority:  normal                        |   Milestone:  7.0                   
       
Component:  Book                          |     Version:  SVN                   
       
 Severity:  normal                        |    Keywords:                        
       
------------------------------------------+---------------------------------

Comment(by matt...@…):

 {{{
 gcc -DHAVE_CONFIG_H -g -02 -I..
 -I../../../binutils-2.19.1/libiberty/./../include  -o test-demangle \
   ../../../binutils-2.19.1/libiberty/testsuite/test-demangle.c
 ../libiberty.a
 ../../../binutils-2.19.1/libiberty/testsuite/test-demangle.c::49: error:
 conflicting types for 'getline'
 /usr/include/stdio.h:651: note: previous declaration of 'getline' was here
 }}}

 Can be fixed with the following sed, inspired by a similar issue in the
 kernel reported at
 http://lkml.indiana.edu/hypermail/linux/kernel/0903.0/01708.html:

 {{{
 sed -i -e 's/getline/get_line/' libiberty/testsuite/test-demangle.c
 }}}

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2401#comment:2>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to