[Pkg-uml-pkgs] Bug#494995: user-mode-linux: static build fails with multiple definition of `strrchr'

Graham Cobb graham at cobb.uk.net
Thu Aug 14 08:36:49 UTC 2008


On Wednesday 13 August 2008 23:19:05 Mattia Dongili wrote:
> can you try building 2.6.26 from unstable?

Exactly the same problem:

  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/user-mode-linux-2.6.26-1um/linux-source-2.6.26/lib/string.c:304: 
first defined here
arch/um/drivers/built-in.o: In function `vde_open_real':
(.text+0x5023): 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+0x4caf): 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






More information about the Pkg-uml-pkgs mailing list