Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cu55R-0006yw-C8 for qemu-devel@nongnu.org; Thu, 27 Jan 2005 03:33:09 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Cu55H-0006uC-JF for qemu-devel@nongnu.org; Thu, 27 Jan 2005 03:33:07 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cu55G-0006p5-DG for qemu-devel@nongnu.org; Thu, 27 Jan 2005 03:32:58 -0500 Received: from [213.150.46.130] (helo=mail.liga.dk) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1Cu4Wm-00033Z-FZ for qemu-devel@nongnu.org; Thu, 27 Jan 2005 02:57:20 -0500 Received: from [192.168.10.44] (helo=slox.liga.dk) by astaro.liga.dk with esmtp (Exim 4.43) id 1Cu4WX-000194-Up for qemu-devel@nongnu.org; Thu, 27 Jan 2005 08:57:17 +0100 Received: from martin.liga.dk (pc15.liga.dk [192.168.1.15]) by slox.liga.dk (Postfix) with ESMTP id AFDF021168 for ; Thu, 27 Jan 2005 08:57:05 +0100 (CET) From: Martin Moeller Date: Thu, 27 Jan 2005 08:57:04 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200501270857.04924.martin@liga.dk> Subject: [Qemu-devel] Trouble compiling on SuSE 9.2 Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi there. I'm trying to compile the latest Qemu version on SUSE LINUX 9.2, but it barfs out with the following message at the end: ar rcs libqemu.a exec.o translate-all.o cpu-exec.o translate.o op.o helper.o helper2.o translate-copy.o disas.o i386-dis.o gcc -static -Wl,-T,/tmp/qemu/i386-vl.ld -o qemu-fast vl.o osdep.o block.o readline.o monitor.o pci.o console.o block-cow.o block-qcow.o aes.o block-vmdk.o block-cloop.o block-dmg.o ide.o ne2000.o pckbd.o vga.o sb16.o dma.o audio.o noaudio.o wavaudio.o sdlaudio.o ossaudio.o fmodaudio.o fdc.o mc146818rtc.o serial.o i8259.o i8254.o pc.o cirrus_vga.o mixeng.o apic.o parallel.o gdbstub.o sdl.o slirp/cksum.o slirp/if.o slirp/ip_icmp.o slirp/ip_input.o slirp/ip_output.o slirp/slirp.o slirp/mbuf.o slirp/misc.o slirp/sbuf.o slirp/socket.o slirp/tcp_input.o slirp/tcp_output.o slirp/tcp_subr.o slirp/tcp_timer.o slirp/udp.o slirp/bootp.o slirp/debug.o slirp/tftp.o libqemu.a -lm -lz /usr/local/lib/libfmod-3.74.so -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 -lgpm -lslang -lutil /usr/lib/libSDL.a(SDL_x11gl.o)(.text+0x337): 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+0x43b): In function `_X11TransSocketOpen': : warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking slirp/misc.o(.text+0xca2): In function `getouraddr': /tmp/qemu/slirp/misc.c:96: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc versionused for linking /usr/X11R6/lib/libX11.a(x11trans.o)(.text+0xc8f): In function `_X11TransSocketINETConnect': : warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x54e): In function `ALSA_OpenAudio': : undefined reference to `snd_pcm_hw_params_set_rate_near@ALSA_0.9' /usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x58a): In function `ALSA_OpenAudio': : undefined reference to `snd_pcm_hw_params_set_period_size_near@ALSA_0.9' /usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x5b5): In function `ALSA_OpenAudio': : undefined reference to `snd_pcm_hw_params_set_periods_near@ALSA_0.9' /usr/lib/libSDL.a(SDL_alsa_audio.o)(.text+0x717): In function `ALSA_OpenAudio': : undefined reference to `snd_pcm_hw_params_get_channels@ALSA_0.9' collect2: ld returned 1 exit status make[1]: *** [qemu-fast] Fejl 1 make[1]: Leaving directory `/tmp/qemu/i386' make: *** [all] Fejl 1 I have all the SDL devel and ALSA devel packages installed. libsdl.a has these unresolved symbols. libasound.a has symbols that almost match, save the @ALSA_0.9 part. Would recompiling SDL from source get rid of this non-existing dependency? /Martin.