[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Problem compiling qemu on Mandrake 9.2
From: |
Gabriel Ebner |
Subject: |
Re: [Qemu-devel] Problem compiling qemu on Mandrake 9.2 |
Date: |
Fri, 12 Mar 2004 21:00:35 +0100 |
User-agent: |
KMail/1.6 |
Hello,
Am Freitag, 5. März 2004 23:35 schrieb Stealth Dave:
> gcc -static
> -Wl,-T,/home/stealthdave/download/emulators/qemu/i386-vl.ld -o
> qemu-fast vl.o block.o ide.o vga.o sb16.o dma.o oss.o fdc.o osdep.o
> sdl.o libqemu.a -lm -L/usr/lib -lSDL -lpthread -lm -ldl -lasound
> -laudio -lXt -L/usr/X11R6/lib -lX11 -lXext
> /usr//bin/ld: cannot find -lm
> collect2: ld returned 1 exit status
> make[1]: *** [qemu-fast] Error 1
> make[1]: Leaving directory `/mnt/data/download/emulators/qemu/i386'
> make: *** [all] Error 1
Since we're talking about compilation errors I think I should post my errors:
gcc -static -Wl,-T,/home/gebner/tmp/qemu/i386-vl.ld -o qemu-fast vl.o
block.o ide.o vga.o sb16.o dma.o oss.o fdc.o osdep.o sdl.o libqemu.a -lm
-L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lm -ldl -lasound
-L/usr/X11R6/lib -lX11 -lXext -laa -L/usr/lib -Wl,-rpath,/usr/lib -laa -lm
-L/usr/X11R6/lib -lX11 -lslang
/usr/lib/libSDL.a(SDL_x11gl.lo)(.text+0x8d6): In function
`X11_GL_LoadLibrary':
: warning: Using 'dlopen' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking
/usr/X11R6/lib/libX11.a(x11trans.o)(.text+0xfe0): In function
`_X11TransSocketINETConnect':
: warning: Using 'getaddrinfo' in statically linked applications requires at
runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld:
BFD 2.14.90.0.7 20031029 assertion fail elf.c:3460
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld:
BFD 2.14.90.0.7 20031029 assertion fail elf.c:3460
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld:
BFD 2.14.90.0.7 20031029 assertion fail elf.c:3460
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld:
BFD 2.14.90.0.7 20031029 assertion fail elf.c:3460
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld:
qemu-fast: Not enough room for program headers (allocated 5, need 7)
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld:
final link failed: Bad value
collect2: ld returned 1 exit status
make[1]: *** [qemu-fast] Fehler 1
make[1]: Leaving directory `/home/gebner/data/tmp/qemu/i386'
make: *** [all] Fehler 1
I'm running up-to-date x86 gentoo.
Gabriel.