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

Mattia Dongili malattia at linux.it
Thu Aug 14 11:36:19 UTC 2008


On Thu, Aug 14, 2008 at 09:36:49AM +0100, Graham Cobb wrote:
> 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

Sorry I didn't ask for this before, but can you attach your .config?
Also, are you using make-kpkg, or are you rebuilding the binary package
from the source (i.e.: using dpkg-buildpackage)? Or are you just using
plain make?

thanks
-- 
mattia
:wq!





More information about the Pkg-uml-pkgs mailing list