[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems compiling glibc 2.2.* with kernel headers
From: |
Justin Palmer |
Subject: |
Problems compiling glibc 2.2.* with kernel headers |
Date: |
Fri, 1 Nov 2002 11:51:34 -0600 (CST) |
Hi,
I have had no success compiling version 2.2.4 or 2.2.5 of glibc with
either version 2.4.19 or 2.5.45 of the linux kernel headers. What are the
latest kernel headers known to work with these versions of glibc? Or what
am I doing wrong?
Configure line:
> ./configure --prefix=/tmp/install \
--with-headers=/tmp/linux-2.*.*/include \
--enable-add-ons=linuxthreads \
--enable-kernel=2.4.2 \
--with-binutils=/tmp/install/bin
Platform: i686-pc-linux-gnu
OS: Red Hat 7.1 [2.4.2-2]
GNU Make 3.80
GNU binutils 2.13 (in /tmp/install/bin)
GNU GCC 2.95.3
For glibc with 2.4.19 linux headers, I get:
make[1]: Entering directory `/tmp/glibc-2.2.*/malloc'
...
memusagestat.c:36: gd.h: No such file or directory
memusagestat.c:37: gdfontl.h: No such file or directory
memusagestat.c:38: gdfonts.h: No such file or directory
For glibc with 2.5.45 linux headers, I get:
make[1]: Entering directory `/tmp/glibc-2.2.*/posix'
...
gcc ... pread.c ...
../sysdeps/unix/sysv/linux/pread.c: In function `__libc_pread':
../sysdeps/unix/sysv/linux/pread.c:52: `__NR_pread' undeclared (first use
in this function)
../sysdeps/unix/sysv/linux/pread.c:52: (Each undeclared identifier is
reported only once
../sysdeps/unix/sysv/linux/pread.c:52: for each function it appears in.)
../sysdeps/unix/sysv/linux/pread.c:52: warning: `resultvar' might be used
uninitialized in this function
Thanks for any assistance,
Justin
address@hidden
- Problems compiling glibc 2.2.* with kernel headers,
Justin Palmer <=