qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] qemu CVS not compilable
@ 2005-08-04  9:15 Nardmann, Heiko
  2005-08-04  9:38 ` malc
  0 siblings, 1 reply; 5+ messages in thread
From: Nardmann, Heiko @ 2005-08-04  9:15 UTC (permalink / raw)
  To: QEMU Development Mailing List

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

-- 
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] qemu CVS not compilable
  2005-08-04  9:15 [Qemu-devel] qemu CVS not compilable Nardmann, Heiko
@ 2005-08-04  9:38 ` malc
  2005-08-04 10:01   ` Nardmann, Heiko
  0 siblings, 1 reply; 5+ messages in thread
From: malc @ 2005-08-04  9:38 UTC (permalink / raw)
  To: Nardmann, Heiko, QEMU Development Mailing List

On Thu, 4 Aug 2005, Nardmann, Heiko wrote:

> 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.

-- 
mailto:malc@pulsesoft.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] qemu CVS not compilable
  2005-08-04  9:38 ` malc
@ 2005-08-04 10:01   ` Nardmann, Heiko
  2005-08-04 10:25     ` malc
  0 siblings, 1 reply; 5+ messages in thread
From: Nardmann, Heiko @ 2005-08-04 10:01 UTC (permalink / raw)
  To: malc; +Cc: QEMU Development Mailing List

[-- Attachment #1: Type: text/plain, Size: 1078 bytes --]

Am Donnerstag, 4. August 2005 11:38 schrieb malc:
> On Thu, 4 Aug 2005, Nardmann, Heiko wrote:
> > 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=...)

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 ...

>
> <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.

-- 
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

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] qemu CVS not compilable
  2005-08-04 10:01   ` Nardmann, Heiko
@ 2005-08-04 10:25     ` malc
  2005-08-04 15:55       ` Jim C. Brown
  0 siblings, 1 reply; 5+ messages in thread
From: malc @ 2005-08-04 10:25 UTC (permalink / raw)
  To: Nardmann, Heiko; +Cc: QEMU Development Mailing List

On Thu, 4 Aug 2005, Nardmann, Heiko wrote:

> Am Donnerstag, 4. August 2005 11:38 schrieb malc:
>> On Thu, 4 Aug 2005, Nardmann, Heiko wrote:
>>> 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=...)
>
> 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.
>
> FMOD is installed with prefix /usr/local at my site which normally is a
> candidate for include/library files 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.

-- 
mailto:malc@pulsesoft.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] qemu CVS not compilable
  2005-08-04 10:25     ` malc
@ 2005-08-04 15:55       ` Jim C. Brown
  0 siblings, 0 replies; 5+ messages in thread
From: Jim C. Brown @ 2005-08-04 15:55 UTC (permalink / raw)
  To: qemu-devel

On Thu, Aug 04, 2005 at 02:25:05PM +0400, malc_ wrote:
> 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.

-- 
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-08-04 16:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-04  9:15 [Qemu-devel] qemu CVS not compilable Nardmann, Heiko
2005-08-04  9:38 ` malc
2005-08-04 10:01   ` Nardmann, Heiko
2005-08-04 10:25     ` malc
2005-08-04 15:55       ` Jim C. Brown

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).