confused with compiling latest libc and latest kernel

Justin Mattock justinmattock@gmail.com
Wed Mar 4 20:30:00 GMT 2009


I seem to have done something wrong.
when compiling glibc-20090202.tar.bz2
with  /home/name/Desktop/glibc-20090302/configure --prefix=/usr
--disable-profile --enable-add-ons --enable-kernel=2.6.29
--libexecdir=/usr/lib/glibc --with-selinux
CC=/usr/bin/i686-pc-linux-gnu-gcc-4.4.0 CFLAGS="-march=core2
-mtune=core2 -O2 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j3"

I have no problems compiling the kernel.
now with the latest-glibc
I get this:

scripts/unifdef.c:209: error: conflicting types for 'getline'
/usr/include/stdio.h:651: note: previous declaration of 'getline' was here
make[1]: *** [scripts/unifdef] Error 1
make: *** [__headers] Error 2

looking at stdio.h I notice it seems to be
different than the one located in:
glibc-20090302/include/stdio.h

is there a new option that I'm missing, or
do I have the wrong CFLAGS set?
any info would be appreciated.

regards;

-- 
Justin P. Mattock



More information about the Libc-help mailing list