Skip to contentSkip to conversation

Error compiling on gentoo

Qemu-devel Natalia Portillo 2 participants 3 messages Jul 31, 2004

lore
Share & tools
lore
#0 lore raw

Hi!

Just checked out the CVS, ./configure, make, and then:

"/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/
ld: cannot find -lasound
Collect2: ld returned 1 exit status
Make[1]: *** [qemu-fast] Error 1
Make[1]: Leaving directory '/home/claunia/qemu/i386'
Make: *** [all] Error 1"

Why?
There is ALSA installed, and there is libasound.so in /usr/lib.

#1 lore raw
Quoted 11 lines · Natalia Portillo

Hi!

Just checked out the CVS, ./configure, make, and then:

"/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gnu/bin/
ld: cannot find -lasound
Collect2: ld returned 1 exit status
Make[1]: *** [qemu-fast] Error 1
Make[1]: Leaving directory '/home/claunia/qemu/i386'
Make: *** [all] Error 1"

Quoted 2 lines

Why?
There is ALSA installed, and there is libasound.so in /usr/lib.

seems you're missing libasound.a, as qemu-fast is static. It's missing for me too on Gentoo x86_64 (but I never use qemu-fast). May fill a bug report on Gentoo web-site.

Signature · 2 lines
J. Mayer <[email protected]>
Never organized
#2 lore raw

Jum, ok so there is no problem when compiling the softmmu or user versions without --static.
Thanks

Quoted 40 lines

-----Mensaje original-----
De: [email protected] [mailto:[email protected]] En nombre de J. Mayer
Enviado el: sábado, 31 de julio de 2004 16:37
Para: [email protected]
CC: Natalia Portillo
Asunto: Re: [Qemu-devel] Error compiling on gentoo

Quoted 5 lines · Natalia Portillo

Hi!

Just checked out the CVS, ./configure, make, and then:

"/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../../i686-pc-linux-gn

Quoted 9 lines

u/bin/
ld: cannot find -lasound
Collect2: ld returned 1 exit status
Make[1]: *** [qemu-fast] Error 1
Make[1]: Leaving directory '/home/claunia/qemu/i386'
Make: *** [all] Error 1"

Why?
There is ALSA installed, and there is libasound.so in /usr/lib.

seems you're missing libasound.a, as qemu-fast is static. It's missing for me too on Gentoo x86_64 (but I never use qemu-fast). May fill a bug report on Gentoo web-site.

--
J. Mayer <[email protected]>
Never organized

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel