[pocket-linux] Compiling glibc
Bettes
bettes at freegates.be
Mon Jul 26 13:38:54 CDT 2004
Hi,
I was able to compile the glibc sources. However, the compiled libraries are
not working on my P I 75 Mhz. ( I am Building it on a Athlon 1Hhz using a
SuSE 8.2 distro)
When I try
$ ldd libc.so.6
I got the message
$ /usr/bin/ldd: line 1: ./libc.so.6: No such file or directory
which I find very strange.
I do not have this message on precompiled libraries from David Hortons site
When I use these libraries for pocket linux in chapter 8 I get
> Freeing unused kernel memory: 248k freed
> /sbin/ini: error while loading shared libraries: libc.so.6: cannot open
> shared object file: No such file or directory
> Kernel panic: Attempted to kill init!
I have compiled glibc with the line
$ export CC="gcc -mcpu=i386"
$
$ ./glibc-2.3.2/configure --enable-add-ons --host=i386-pc-linux-gnu
$ --prefix=/home/bettes/Documents/
I checked this with the way David Horton compiles using the architect scripts.
....
# Configure the package for FHS compliance and i386 processor.
export CC="gcc -mcpu=i386"
cd $BUILD_DIR
$SRC_DIR/configure \
--enable-add-ons \
--host=i386-pc-linux-gnu \
--infodir=/usr/share/info \
--libexec=/usr/lib/glibc \
--prefix=/usr \
...
ANy idea what I am doing wrong?
More information about the Pocket-Linux
mailing list