qemu CVS not compilable
Problem:
the current CVS is not compilable with audio enabled.
configure call:
./configure --prefix=/opt/qemu-20050804 --enable-adlib --enable-fmod
configure output:
Install prefix /opt/qemu-20050804 BIOS directory /opt/qemu-20050804/share/qemu binary directory /opt/qemu-20050804/bin Manual directory /opt/qemu-20050804/share/man ELF interp prefix /usr/gnemul/qemu-%M Source path /root/Source/qemu/qemu-20050804 C compiler gcc Host C compiler gcc make make host CPU i386 host big endian no target list i386-user arm-user armeb-user sparc-user ppc-user i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu mips-softmmu gprof enabled no static build no SDL support yes SDL static link yes mingw32 support no Adlib support yes FMOD support yes (lib='' include='') kqemu support yes
KQEMU Linux module configuration:
kernel sources /lib/modules/2.6.11.4-21.7-smp/build
kbuild type 2.6
End of make output with error message:
gcc -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I -I. -I/root/Source/qemu/qemu-20050804/target-i386 -I/root/Source/qemu/qemu-20050804 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/root/Source/qemu/qemu-20050804/fpu -c -o audio.o /root/Source/qemu/qemu-20050804/audio/audio.c
In file included from /root/Source/qemu/qemu-20050804/vl.h:73,
from /root/Source/qemu/qemu-20050804/audio/audio.c:25:
/root/Source/qemu/qemu-20050804/target-i386/cpu.h:23:20: config.h: No such
file or directory
In file included from /root/Source/qemu/qemu-20050804/target-i386/cpu.h:39,
from /root/Source/qemu/qemu-20050804/vl.h:73,
from /root/Source/qemu/qemu-20050804/audio/audio.c:25:
/root/Source/qemu/qemu-20050804/cpu-defs.h:23:20: config.h: No such file or
directory
In file included from /root/Source/qemu/qemu-20050804/target-i386/cpu.h:41,
from /root/Source/qemu/qemu-20050804/vl.h:73,
from /root/Source/qemu/qemu-20050804/audio/audio.c:25:
/root/Source/qemu/qemu-20050804/fpu/softfloat.h:36:20: config.h: No such file
or directory
In file included from /root/Source/qemu/qemu-20050804/target-i386/cpu.h:655,
from /root/Source/qemu/qemu-20050804/vl.h:73,
from /root/Source/qemu/qemu-20050804/audio/audio.c:25:
/root/Source/qemu/qemu-20050804/cpu-all.h:629:2: #error unsupported target CPU
In file included from /root/Source/qemu/qemu-20050804/target-i386/cpu.h:655,
from /root/Source/qemu/qemu-20050804/vl.h:73,
from /root/Source/qemu/qemu-20050804/audio/audio.c:25:/root/Source/qemu/qemu-20050804/cpu-all.h:635: error: syntax error before '*' token/root/Source/qemu/qemu-20050804/cpu-all.h:636: error: `cpu_dump_state' declared as function returning a function /root/Source/qemu/qemu-20050804/cpu-all.h:637: error: syntax error before "int"/root/Source/qemu/qemu-20050804/cpu-all.h:639: error: syntax error before '*' token/root/Source/qemu/qemu-20050804/cpu-all.h:640: error: syntax error before '*' token/root/Source/qemu/qemu-20050804/cpu-all.h:640: warning: type defaults to int' in declaration of cpu_single_env' /root/Source/qemu/qemu-20050804/cpu-all.h:640: warning: data definition has no type or storage class /root/Source/qemu/qemu-20050804/cpu-all.h:647: error: syntax error before '*' token/root/Source/qemu/qemu-20050804/cpu-all.h:648: error: syntax error before '*' token/root/Source/qemu/qemu-20050804/cpu-all.h:650: error: syntax error before '*' token/root/Source/qemu/qemu-20050804/cpu-all.h:651: error: syntax error before '*' token/root/Source/qemu/qemu-20050804/cpu-all.h:652: error: syntax error before '*' token/root/Source/qemu/qemu-20050804/cpu-all.h:653: error: syntax error before '*' token/root/Source/qemu/qemu-20050804/cpu-all.h:658: error: syntax error before '*' token/root/Source/qemu/qemu-20050804/cpu-all.h:688: error: syntax error before '*' token/root/Source/qemu/qemu-20050804/cpu-all.h:689: error: syntax error before '*' token/root/Source/qemu/qemu-20050804/cpu-all.h:690: error: syntax error before '*' token/root/Source/qemu/qemu-20050804/cpu-all.h:691: error: syntax error before '*' token/root/Source/qemu/qemu-20050804/cpu-all.h:692: error: syntax error before '*' token/root/Source/qemu/qemu-20050804/cpu-all.h:693: error: syntax error before '*' token/root/Source/qemu/qemu-20050804/cpu-all.h:743: error: syntax error before '*' token
In file included from /root/Source/qemu/qemu-20050804/audio/audio.c:25:/root/Source/qemu/qemu-20050804/vl.h:709: error: syntax error before '*' token /root/Source/qemu/qemu-20050804/vl.h:710: error: syntax error before '*' token make[1]: *** [audio.o] Error 1
make[1]: Leaving directory `/root/Source/qemu/qemu-20050804/i386-softmmu'
make: *** [all] Error 1
Signature · 4 lines
Heiko Nardmann (Dipl.-Ing. Technische Informatik) secunet Security Networks AG - Sicherheit in Netzwerken (www.secunet.de), Weidenauer Str. 223-225, D-57076 Siegen Tel. : +49 271 48950-13, Fax : +49 271 48950-50
Quoted 5 lines · Heiko
Problem:
the current CVS is not compilable with audio enabled.configure call:
./configure --prefix=/opt/qemu-20050804 --enable-adlib --enable-fmod
You can not build with FMOD unless you specify paths to FMODs include and library paths (--fmod-inc=... --fmod-lib=...)
<snip>
P.S. FMOD must be of version 3.xx. FMOD Ex (4.xx) was released 2 days ago and i have no idea weather it's ABI compatible with 3.xx.
Signature · 1 line
mailto:[email protected]
Am Donnerstag, 4. August 2005 11:38 schrieb malc:
Quoted 9 lines · Heiko
Quoted 5 lines
Problem:
the current CVS is not compilable with audio enabled.configure call:
./configure --prefix=/opt/qemu-20050804 --enable-adlib --enable-fmodYou can not build with FMOD unless you specify paths to FMODs include and library paths (--fmod-inc=... --fmod-lib=...)
Then configure is not doing its work correctly. It should check for fmod and disable fmod support if it cannot be found or is missing functionality needed for qemu.
FMOD is installed with prefix /usr/local at my site which normally is a candidate for include/library files searching ...
Quoted 5 lines
<snip>
P.S. FMOD must be of version 3.xx. FMOD Ex (4.xx) was released 2 days ago and i have no idea weather it's ABI compatible with 3.xx.
Signature · 4 lines
Heiko Nardmann (Dipl.-Ing. Technische Informatik) secunet Security Networks AG - Sicherheit in Netzwerken (www.secunet.de), Weidenauer Str. 223-225, D-57076 Siegen Tel. : +49 271 48950-13, Fax : +49 271 48950-50
Quoted 8 lines · Heiko
Am Donnerstag, 4. August 2005 11:38 schrieb malc:
Quoted 7 lines · Heiko
Quoted 5 lines
Problem:
the current CVS is not compilable with audio enabled.configure call:
./configure --prefix=/opt/qemu-20050804 --enable-adlib --enable-fmod
Quoted 6 lines
Quoted 2 lines
You can not build with FMOD unless you specify paths to FMODs include and library paths (--fmod-inc=... --fmod-lib=...)
Then configure is not doing its work correctly. It should check for fmod and disable fmod support if it cannot be found or is missing functionality needed for qemu.
Since there is no default way to install FMOD on *nixes there is no default way to check for it's presence either.
Quoted 3 lines
FMOD is installed with prefix
/usr/localat my site which normally is a candidate forinclude/libraryfiles searching ...
So? FMODs dll does not follow any standard naming convention over here .so is called libfmod-3.74.so, how do you propose configure to check for that? All in all configure does all it can do w.r.t. FMOD, i.e. nothing.
Signature · 1 line
mailto:[email protected]
Quoted 2 lines · malc_
Since there is no default way to install FMOD on *nixes there is no default way to check for it's presence either.
Sounds like configure should be cowardly aborting if one attempts to enable fmod without specifying the path to the include files or the librarys. An error message of "FMOD library/include path not specified" should be enough.
Signature · 2 lines
Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.