* [Qemu-devel] Trouble compiling on SuSE 9.2
@ 2005-01-27 7:57 Martin Moeller
2005-01-27 12:56 ` Ulrich Hecht
0 siblings, 1 reply; 3+ messages in thread
From: Martin Moeller @ 2005-01-27 7:57 UTC (permalink / raw)
To: qemu-devel
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Trouble compiling on SuSE 9.2
2005-01-27 7:57 [Qemu-devel] Trouble compiling on SuSE 9.2 Martin Moeller
@ 2005-01-27 12:56 ` Ulrich Hecht
2005-01-29 23:06 ` Martin Møller
0 siblings, 1 reply; 3+ messages in thread
From: Ulrich Hecht @ 2005-01-27 12:56 UTC (permalink / raw)
To: qemu-devel
Hi!
On Thursday 27 January 2005 08:57, Martin Moeller wrote:
> 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
[...]
> 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?
Yes, if you use SDL 1.2.8. SDL 1.2.7 as shipped with 9.2 was buggy in the
sense that it used the old ALSA PCM API which cannot be linked
statically because it uses versioned symbols. This is fixed in SDL
1.2.8.
CU
Uli
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Trouble compiling on SuSE 9.2
2005-01-27 12:56 ` Ulrich Hecht
@ 2005-01-29 23:06 ` Martin Møller
0 siblings, 0 replies; 3+ messages in thread
From: Martin Møller @ 2005-01-29 23:06 UTC (permalink / raw)
To: qemu-devel
Torsdag 27 januar 2005 13:56 skrev Ulrich Hecht:
> Hi!
>
[SDL 1.2.7 Compile trouble]
> [...]
>
> > 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?
>
> Yes, if you use SDL 1.2.8. SDL 1.2.7 as shipped with 9.2 was buggy in the
> sense that it used the old ALSA PCM API which cannot be linked
> statically because it uses versioned symbols. This is fixed in SDL
> 1.2.8.
>
I have rebuilt with the src.rpm from libsdl.org in version 1.2.8 and all is
now well. Thanks!
I tried to not make 1.2.7 use the old API, but apparently not well enough. No
matter. 1.2.8 works well...
/Martin.
> CU
> Uli
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-01-29 23:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-27 7:57 [Qemu-devel] Trouble compiling on SuSE 9.2 Martin Moeller
2005-01-27 12:56 ` Ulrich Hecht
2005-01-29 23:06 ` Martin Møller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).