[uClibc]uClibc
Andreas Neuhaus
andy at fasta.fh-dortmund.de
Sat May 26 19:43:36 UTC 2001
> This ldd shows something to be badly broken. You should _never_ see
> libc.so.6 and ld-uclibc.so.0 linked to the same executable.
ok, i went back to the roots and compiled a plain uClibc on my build system
(a SuSE 7.1 system, kernel 2.4.2) against my running kernel:
~ > uname -a
Linux sandy 2.4.2-64GB-SMP #1 SMP Fri Mar 2 12:10:19 GMT 2001 i686 unknown
~ > rpm -q binutils
binutils-2.10.0.33-13
~ > gcc -v
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.2/specs
gcc version 2.95.2 19991024 (release)
~ > ld -v
GNU ld version 2.10.91 (with BFD 2.10.0.33)
~ > rm -rf uClibc
~ > cvs -d:pserver:anonymous at cvs.uclinux.org:/var/cvs co uClibc
...
~ > touch uClibc/Config
When i don't touch Config here, make does "cat Config.sh >Config", which
would overwrite my i386 Config. Config now contains
KERNEL_SOURCE=/usr/src/linux and INSTALL_PATH=/usr/i386-linux-uclibc
~ > make -C uClibc all
...
~ > ldd uClibc/lib/libuClibc-0.9.5.so
ldd: warning: you do not have execution permission for
`uClibc/lib/libuClibc-0.9.5.so'
/lib/libNoVersion.so.1 => /lib/libNoVersion.so.1 (0x4002a000)
ld-uclibc.so.0 => not found
libc.so.6 => /lib/libc.so.6 (0x40037000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)
~ > su -
...
~ # make -C /home/andy/uClibc install
...
~ # ldd /usr/i386-linux-uclibc/lib/libuClibc-0.9.5.so
ldd: warning: you do not have execution permission for
`/usr/i386-linux-uclibc/lib/libuCli
bc-0.9.5.so'
/lib/libNoVersion.so.1 => /lib/libNoVersion.so.1 (0x4002a000)
ld-uclibc.so.0 => /lib/ld-uclibc.so.0 (0x40037000)
libc.so.6 => /lib/libc.so.6 (0x4003e000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)
strange thing !?
regards,
andreas neuhaus
--
Life could be so much easier if we could just look at the source code...
.~.
/V\ Andreas Neuhaus, FaStA Informatik FH-Dortmund
// \\ Sonnenstr. 96, D-44139 Dortmund, Tel 0231/9112-734
/( )\ System-Administration FaStA FH-Dortmund
^^-^^
LINUX - Don't fear the penguin
More information about the uClibc
mailing list