[Pkg-uml-pkgs] Bug#494995: user-mode-linux: static build fails with multiple definition of `strrchr'
Graham Cobb
g+debian at cobb.uk.net
Wed Aug 13 17:51:25 UTC 2008
Package: user-mode-linux
Version: 2.6.24-1um-1
Severity: minor
I was attempting to rebuild user-mode-linux from source but choosing the
UML-specific kernel option to link the image statically.
The build failed at the link stage with the following messages:
LD init/built-in.o
LD .tmp_vmlinux1
/usr/lib/gcc/i486-linux-gnu/4.3.1/../../../../lib/libc.a(strrchr.o): In function `rindex':
(.text+0x0): multiple definition of `strrchr'
lib/lib.a(string.o):/home/cobb/share/qemu/my-uml-32/uml-maemo-2.6.25-1um/linux-source-2.6.25/lib/string.c:304: first defined here
arch/um/drivers/built-in.o: In function `vde_open_real':
(.text+0x5073): warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
arch/um/drivers/built-in.o: In function `vde_open_real':
(.text+0x4cff): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
collect2: ld returned 1 exit status
KSYM .tmp_kallsyms1.S
nm: '.tmp_vmlinux1': No such file
No valid symbol.
make[1]: *** [.tmp_kallsyms1.S] Error 1
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (900, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=en_IE at euro, LC_CTYPE=en_IE at euro (charmap=ISO-8859-15) (ignored: LC_ALL set to en_IE at euro)
Shell: /bin/sh linked to /bin/bash
Versions of packages user-mode-linux depends on:
ii uml-utilities 20070815-1.1 User-mode Linux (utility programs)
user-mode-linux recommends no packages.
Versions of packages user-mode-linux suggests:
ii konsole [x-terminal- 4:3.5.9.dfsg.1-2+b1 X terminal emulator for KDE
pn linux-patch-skas <none> (no description available)
pn rootstrap <none> (no description available)
ii rxvt [x-terminal-emu 1:2.6.4-14 VT102 terminal emulator for the X
pn slirp <none> (no description available)
pn user-mode-linux-doc <none> (no description available)
ii xterm [x-terminal-em 235-1 X terminal emulator
-- no debconf information
More information about the Pkg-uml-pkgs
mailing list