This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
confused with compiling latest libc and latest kernel
- From: Justin Mattock <justinmattock at gmail dot com>
- To: libc-help at sourceware dot org
- Date: Wed, 4 Mar 2009 12:30:42 -0800
- Subject: confused with compiling latest libc and latest kernel
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