qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Gentoo compile problem of qemu-fast


From: Eric van Riet Paap
Subject: [Qemu-devel] Gentoo compile problem of qemu-fast
Date: Thu, 13 May 2004 10:34:20 +0200 (CEST)
User-agent: SquirrelMail/1.4.2

Hi,

I'm trying to modify the Gentoo ebuild to also build qemu-fast but not
with a lot of luck.

I added the word "static" to my USE flags in /etc/make.conf and recompiled
alsa-lib.

In file /usr/portage/app-emulation/qemu/qemu-0.5.5.ebuild I changed line
IUSE="softmmu" into IUSE="softmmu,static"

And after:
use softmmu && TARGET_LIST="${TARGET_LIST} i386-softmmu ppc-softmmu"
I have added:
use static  && TARGET_LIST="${TARGET_LIST} i386"

Now when recompiling qemu (emerge qemu) I got rid of the -lasound error
(static/dynamic library problem) but the following error message I have
now:

What could be wrong? (libsdl flags below)

gcc  -static -Wl,-T,/var/tmp/portage/qemu-0.5.5/work/qemu-0.5.5/i386-vl.ld
 -o qemu-fast vl.o osdep.o block.o mo            o ne2000.o pckbd.o vga.o
sb16.o dma.o oss.o fdc.o mc146818rtc.o serial.o i8259.o i8254.o pc.o
gdbstub.o sdl.o li             -L/usr/lib -Wl,-rpath,/usr/lib -lSDL
-lpthread -lm -ldl -lasound -L/usr/X11R6/lib -lX11 -lXext -lvga -lutil
/usr/lib/libSDL.a(SDL_loadso.o)(.text+0x1c): In function `SDL_LoadObject':
: warning: Using 'dlopen' in statically linked applications requires at
runtime the shared libraries from the gl            used for linking
/usr/lib/libSDL.a(pcm_shm.o)(.text+0x8fb): In function `_snd_pcm_shm_open':
: warning: Using 'gethostbyname' in statically linked applications
requires at runtime the shared libraries from            ersion used for
linking
/usr/X11R6/lib/libX11.a(x11trans.o)(.text+0x75a): In function
`_X11TransSocketINETConnect':
: warning: Using 'getservbyname' in statically linked applications
requires at runtime the shared libraries from            ersion used for
linking
/usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x26b): In function
`ALSA_OpenAudio':
: undefined reference to address@hidden'
/usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x2a0): In function
`ALSA_OpenAudio':
: undefined reference to address@hidden'
/usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x2d0): In function
`ALSA_OpenAudio':
: undefined reference to address@hidden'
/usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x418): In function
`ALSA_OpenAudio':
: undefined reference to address@hidden'
collect2: ld returned 1 exit status
make[1]: *** [qemu-fast] Error 1
make[1]: Leaving directory `/var/tmp/portage/qemu-0.5.5/work/qemu-0.5.5/i386'
make: *** [all] Error 1

!!! ERROR: app-emulation/qemu-0.5.5 failed.
!!! Function src_compile, Line 37, Exitcode 2
!!! make failed

eric qemu # emerge -pv libsdl

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] media-libs/libsdl-1.2.7-r1  +X -aalib +alsa +arts -dga
-directfb +esd -fbcon -ggi -libcaca -nas -noaudio -nojoystick -novideo
+opengl +oss +svga -xinerama +xv  0 kB





reply via email to

[Prev in Thread] Current Thread [Next in Thread]