All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] Issue with compiling qemu-0.13.0.-rc1
@ 2010-09-10 23:59 Adhyas Avasthi
  2010-09-11 17:37 ` Anthony Liguori
  2010-09-12 22:31 ` malc
  0 siblings, 2 replies; 17+ messages in thread
From: Adhyas Avasthi @ 2010-09-10 23:59 UTC (permalink / raw)
  To: qemu-devel

When I try to run the following commands on rc1 or fresh git (synced 5
minutes back), I get the following error:

bash-3.2$ ./configure --disable-kvm --disable-xen
bash-3.2$ make
Makefile:24: no file name for `-include'
make-3.79.1-p7[1]: *** No rule to make target `loader.o', needed by
`all'.  Stop.
make-3.79.1-p7: *** [subdir-libhw32] Error 2

Any pointers as to what might be causing it?

--
Adhyas
********************************************************************
Two types have compatible type if their types are the same.
    — ANSI C Standard, 3.1.2.6.
********************************************************************

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

* Re: [Qemu-devel] Issue with compiling qemu-0.13.0.-rc1
  2010-09-10 23:59 [Qemu-devel] Issue with compiling qemu-0.13.0.-rc1 Adhyas Avasthi
@ 2010-09-11 17:37 ` Anthony Liguori
  2010-09-12 18:06   ` Adhyas Avasthi
  2010-09-12 22:31 ` malc
  1 sibling, 1 reply; 17+ messages in thread
From: Anthony Liguori @ 2010-09-11 17:37 UTC (permalink / raw)
  To: Adhyas Avasthi; +Cc: qemu-devel

On 09/10/2010 06:59 PM, Adhyas Avasthi wrote:
> When I try to run the following commands on rc1 or fresh git (synced 5
> minutes back), I get the following error:
>
> bash-3.2$ ./configure --disable-kvm --disable-xen
> bash-3.2$ make
>    

Please  include the full output of configure.

Why are you explicitly using --disable-kvm and --disable-xen?

Regards,

Anthony Liguori

> Makefile:24: no file name for `-include'
> make-3.79.1-p7[1]: *** No rule to make target `loader.o', needed by
> `all'.  Stop.
> make-3.79.1-p7: *** [subdir-libhw32] Error 2
>
> Any pointers as to what might be causing it?
>
> --
> Adhyas
> ********************************************************************
> Two types have compatible type if their types are the same.
>      — ANSI C Standard, 3.1.2.6.
> ********************************************************************
>
>    

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

* Re: [Qemu-devel] Issue with compiling qemu-0.13.0.-rc1
  2010-09-11 17:37 ` Anthony Liguori
@ 2010-09-12 18:06   ` Adhyas Avasthi
  2010-09-12 19:26     ` Anthony Liguori
  0 siblings, 1 reply; 17+ messages in thread
From: Adhyas Avasthi @ 2010-09-12 18:06 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: qemu-devel

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

Thanks for the response. I tried './configure' without any arguments
and still the same issue.
Find the output from ./configure and make attached.

Thanks,
Adhyas

On Sat, Sep 11, 2010 at 10:37 AM, Anthony Liguori <anthony@codemonkey.ws> wrote:
> Please  include the full output of configure.
>
> Why are you explicitly using --disable-kvm and --disable-xen?
>
> Regards,
>
> Anthony Liguori

[-- Attachment #2: out_configure --]
[-- Type: application/octet-stream, Size: 2262 bytes --]

Install prefix    /usr/local
BIOS directory    /usr/local/share/qemu
binary directory  /usr/local/bin
config directory  /usr/local/etc
Manual directory  /usr/local/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path       /auto/cats5/adavasth/svn/qemu
C compiler        gcc
Host C compiler   gcc
CFLAGS            -O2 -g 
QEMU_CFLAGS       -Werror -m64 -fstack-protector-all -Wold-style-definition -I. -I$(SRC_PATH) -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing 
LDFLAGS           -Wl,--warn-common -m64 -g 
make              make
install           install
host CPU          x86_64
host big endian   no
target list       i386-softmmu x86_64-softmmu arm-softmmu cris-softmmu m68k-softmmu microblaze-softmmu mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu ppc-softmmu ppcemb-softmmu ppc64-softmmu sh4-softmmu sh4eb-softmmu sparc-softmmu sparc64-softmmu i386-linux-user x86_64-linux-user alpha-linux-user arm-linux-user armeb-linux-user cris-linux-user m68k-linux-user microblaze-linux-user mips-linux-user mipsel-linux-user ppc-linux-user ppc64-linux-user ppc64abi32-linux-user sh4-linux-user sh4eb-linux-user sparc-linux-user sparc64-linux-user sparc32plus-linux-user 
tcg debug enabled no
Mon debug enabled no
gprof enabled     no
sparse enabled    no
strip binaries    yes
profiler          no
static build      no
-Werror enabled   yes
SDL support       yes
curses support    yes
curl support      yes
check support     no
mingw32 support   no
Audio drivers     oss
Extra audio cards ac97 es1370 sb16
Block whitelist   
Mixer emulation   no
VNC TLS support   no
VNC SASL support  yes
VNC JPEG support  no
VNC PNG support   no
VNC thread        no
xen support       no
brlapi support    no
bluez  support    no
Documentation     yes
NPTL support      no
GUEST_BASE        yes
PIE user targets  no
vde support       no
IO thread         no
Linux AIO support no
ATTR/XATTR support yes
Install blobs     yes
KVM support       no
fdt support       no
preadv support    no
fdatasync         yes
uuid support      yes
vhost-net support no
Trace backend     nop
Trace output file trace-<pid>

[-- Attachment #3: out_make --]
[-- Type: application/octet-stream, Size: 1355 bytes --]

bash-3.2$ make
Makefile:331: no file name for `-include'
  GEN   trace.h
  CC    qemu-nbd.o
  CC    qemu-tool.o
  CC    qemu-error.o
  GEN   trace.c
  CC    trace.o
  CC    cutils.o
  CC    cache-utils.o
  CC    qemu-malloc.o
  CC    qemu-option.o
  CC    module.o
  CC    nbd.o
  CC    block.o
  CC    aio.o
  CC    aes.o
  CC    osdep.o
  CC    qemu-config.o
  CC    posix-aio-compat.o
  CC    block/raw.o
  CC    block/cow.o
  CC    block/qcow.o
  CC    block/vdi.o
  CC    block/vmdk.o
  CC    block/cloop.o
  CC    block/dmg.o
  CC    block/bochs.o
  CC    block/vpc.o
  CC    block/vvfat.o
  CC    block/qcow2.o
  CC    block/qcow2-refcount.o
  CC    block/qcow2-cluster.o
  CC    block/qcow2-snapshot.o
  CC    block/parallels.o
  CC    block/nbd.o
  CC    block/blkdebug.o
  CC    block/sheepdog.o
  CC    block/raw-posix.o
  CC    block/curl.o
  CC    qint.o
  CC    qstring.o
  CC    qdict.o
  CC    qlist.o
  CC    qfloat.o
  CC    qbool.o
  CC    qjson.o
  CC    json-lexer.o
  CC    json-streamer.o
  CC    json-parser.o
  CC    qerror.o
  LINK  qemu-nbd
  GEN   qemu-img-cmds.h
  CC    qemu-img.o
  LINK  qemu-img
  CC    qemu-io.o
  CC    cmd.o
  LINK  qemu-io
Makefile:24: no file name for `-include'
make-3.79.1-p7[1]: *** No rule to make target `loader.o', needed by `all'.  Stop.
make-3.79.1-p7: *** [subdir-libhw32] Error 2
bash-3.2$ 

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

* Re: [Qemu-devel] Issue with compiling qemu-0.13.0.-rc1
  2010-09-12 18:06   ` Adhyas Avasthi
@ 2010-09-12 19:26     ` Anthony Liguori
  2010-09-12 21:16       ` Andreas Färber
  2010-09-12 22:08       ` Adhyas Avasthi
  0 siblings, 2 replies; 17+ messages in thread
From: Anthony Liguori @ 2010-09-12 19:26 UTC (permalink / raw)
  To: Adhyas Avasthi; +Cc: qemu-devel

On 09/12/2010 01:06 PM, Adhyas Avasthi wrote:
> Thanks for the response. I tried './configure' without any arguments
> and still the same issue.
> Find the output from ./configure and make attached.
>    

You've got a weird version of make installed.

It's throwing an error when no file is specified for -include but the 
point of -include vs. include is that -include is supposed to be silent 
on error.

What's the output of 'make --version'?

Regards,

Anthony Liguori

> Thanks,
> Adhyas
>
> On Sat, Sep 11, 2010 at 10:37 AM, Anthony Liguori<anthony@codemonkey.ws>  wrote:
>    
>> Please  include the full output of configure.
>>
>> Why are you explicitly using --disable-kvm and --disable-xen?
>>
>> Regards,
>>
>> Anthony Liguori
>>      

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

* Re: [Qemu-devel] Issue with compiling qemu-0.13.0.-rc1
  2010-09-12 19:26     ` Anthony Liguori
@ 2010-09-12 21:16       ` Andreas Färber
  2010-09-12 22:24         ` Anthony Liguori
  2010-09-12 22:08       ` Adhyas Avasthi
  1 sibling, 1 reply; 17+ messages in thread
From: Andreas Färber @ 2010-09-12 21:16 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: Adhyas Avasthi, qemu-devel

Am 12.09.2010 um 21:26 schrieb Anthony Liguori:

> On 09/12/2010 01:06 PM, Adhyas Avasthi wrote:
>> Thanks for the response. I tried './configure' without any arguments
>> and still the same issue.
>> Find the output from ./configure and make attached.
>>
>
> You've got a weird version of make installed.
>
> It's throwing an error when no file is specified for -include

A warning, not an error. I reported a similar issue here:
https://bugs.launchpad.net/bugs/636315

> but the point of -include vs. include is that -include is supposed  
> to be silent on error.

The manual is very brief and doesn't touch on advanced -include use  
cases like filters that might result in an empty set of files:
> If you want make to simply ignore a makefile which does not exist or  
> cannot be remade, with no error message, use the -include directive  
> instead of include, like this:
>
>      -include filenames...
> This acts like include in every way except that there is no error  
> (not even a warning) if any of the filenames (or any prerequisites  
> of any of the filenames) do not exist or cannot be remade.
>
http://www.gnu.org/software/make/manual/html_node/Include.html#Include


Makefile:331 will be the include for *.d files, and so is Makefile.hw: 
24.


> What's the output of 'make --version'?

bash-3.00$ gmake --version
GNU Make 3.80
Copyright (C) 2002  Free Software Foundation, Inc.
This is free software; see the sources for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Adhyas' looked like a 3.79.1 preview, judging by the command name  
make-3.79.1-p7. ;)

Regards,

Andreas

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

* Re: [Qemu-devel] Issue with compiling qemu-0.13.0.-rc1
  2010-09-12 19:26     ` Anthony Liguori
  2010-09-12 21:16       ` Andreas Färber
@ 2010-09-12 22:08       ` Adhyas Avasthi
  2010-09-12 22:21         ` Andreas Färber
  1 sibling, 1 reply; 17+ messages in thread
From: Adhyas Avasthi @ 2010-09-12 22:08 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: qemu-devel

bash-3.2$ make --version
GNU Make version 3.79.1-p7, by Richard Stallman and Roland McGrath.
Built for i686-pc-linux-gnu
Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
        Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This is really blocking my work at this point as I cannot even
compile. Is there a workaround that can unblock me for the time being
?

Thanks,
Adhyas

On Sun, Sep 12, 2010 at 12:26 PM, Anthony Liguori <anthony@codemonkey.ws> wrote:
> What's the output of 'make --version'?

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

* Re: [Qemu-devel] Issue with compiling qemu-0.13.0.-rc1
  2010-09-12 22:08       ` Adhyas Avasthi
@ 2010-09-12 22:21         ` Andreas Färber
  2010-09-12 23:44           ` Adhyas Avasthi
  0 siblings, 1 reply; 17+ messages in thread
From: Andreas Färber @ 2010-09-12 22:21 UTC (permalink / raw)
  To: Adhyas Avasthi; +Cc: qemu-devel

Am 13.09.2010 um 00:08 schrieb Adhyas Avasthi:

> Is there a workaround that can unblock me for the time being
> ?

Try giving an explicit --target-list= to configure, to narrow down  
what build step causes this. There may be subtle dependency issues,  
cf. my recent patch "trace: Fix user emulator dependency on trace  
objects" which fixes a similar issue.

As for blocking your work, just try the last stable version.

Cheers,
Andreas

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

* Re: [Qemu-devel] Issue with compiling qemu-0.13.0.-rc1
  2010-09-12 21:16       ` Andreas Färber
@ 2010-09-12 22:24         ` Anthony Liguori
  2010-09-13 17:47           ` Adhyas Avasthi
  0 siblings, 1 reply; 17+ messages in thread
From: Anthony Liguori @ 2010-09-12 22:24 UTC (permalink / raw)
  To: Andreas Färber; +Cc: Adhyas Avasthi, qemu-devel

On 09/12/2010 04:16 PM, Andreas Färber wrote:
> Am 12.09.2010 um 21:26 schrieb Anthony Liguori:
>
>> On 09/12/2010 01:06 PM, Adhyas Avasthi wrote:
>>> Thanks for the response. I tried './configure' without any arguments
>>> and still the same issue.
>>> Find the output from ./configure and make attached.
>>>
>>
>> You've got a weird version of make installed.
>>
>> It's throwing an error when no file is specified for -include
>
> A warning, not an error. I reported a similar issue here:
> https://bugs.launchpad.net/bugs/636315
>
>> but the point of -include vs. include is that -include is supposed to 
>> be silent on error.
>
> The manual is very brief and doesn't touch on advanced -include use 
> cases like filters that might result in an empty set of files:
>> If you want make to simply ignore a makefile which does not exist or 
>> cannot be remade, with no error message, use the -include directive 
>> instead of include, like this:
>>
>>      -include filenames...
>> This acts like include in every way except that there is no error 
>> (not even a warning) if any of the filenames (or any prerequisites of 
>> any of the filenames) do not exist or cannot be remade.
>>
> http://www.gnu.org/software/make/manual/html_node/Include.html#Include
>
>
> Makefile:331 will be the include for *.d files, and so is Makefile.hw:24.
>
>
>> What's the output of 'make --version'?
>
> bash-3.00$ gmake --version
> GNU Make 3.80
> Copyright (C) 2002  Free Software Foundation, Inc.
> This is free software; see the sources for copying conditions.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
>
> Adhyas' looked like a 3.79.1 preview, judging by the command name 
> make-3.79.1-p7. ;)

I have:

anthony@titi:~/build/qemu$ make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for x86_64-pc-linux-gnu

Which exhibits none of this silliness.

Are ya'll using Gentoo?

Regards,

Anthony Liguori




> Regards,
>
> Andreas

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

* Re: [Qemu-devel] Issue with compiling qemu-0.13.0.-rc1
  2010-09-10 23:59 [Qemu-devel] Issue with compiling qemu-0.13.0.-rc1 Adhyas Avasthi
  2010-09-11 17:37 ` Anthony Liguori
@ 2010-09-12 22:31 ` malc
  1 sibling, 0 replies; 17+ messages in thread
From: malc @ 2010-09-12 22:31 UTC (permalink / raw)
  To: Adhyas Avasthi; +Cc: qemu-devel

[-- Attachment #1: Type: TEXT/PLAIN, Size: 787 bytes --]

On Fri, 10 Sep 2010, Adhyas Avasthi wrote:

> When I try to run the following commands on rc1 or fresh git (synced 5
> minutes back), I get the following error:
> 
> bash-3.2$ ./configure --disable-kvm --disable-xen
> bash-3.2$ make
> Makefile:24: no file name for `-include'
> make-3.79.1-p7[1]: *** No rule to make target `loader.o', needed by
> `all'.  Stop.
> make-3.79.1-p7: *** [subdir-libhw32] Error 2
> 
> Any pointers as to what might be causing it?
> 

Adding /dev/null to the list might work.

> --
> Adhyas
> ********************************************************************
> Two types have compatible type if their types are the same.
>     ? ANSI C Standard, 3.1.2.6.
> ********************************************************************
> 

-- 
mailto:av1474@comtv.ru

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

* Re: [Qemu-devel] Issue with compiling qemu-0.13.0.-rc1
  2010-09-12 22:21         ` Andreas Färber
@ 2010-09-12 23:44           ` Adhyas Avasthi
  0 siblings, 0 replies; 17+ messages in thread
From: Adhyas Avasthi @ 2010-09-12 23:44 UTC (permalink / raw)
  To: Andreas Färber; +Cc: qemu-devel

I tried qemu-0.13.0-rc1 and it has the same issues on this machine.
Let me try what you suggest.

Thanks,
Adhyas

On Sun, Sep 12, 2010 at 3:21 PM, Andreas Färber <andreas.faerber@web.de> wrote:
> Try giving an explicit --target-list= to configure, to narrow down what
> build step causes this. There may be subtle dependency issues, cf. my recent
> patch "trace: Fix user emulator dependency on trace objects" which fixes a
> similar issue.
>
> As for blocking your work, just try the last stable version.

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

* Re: [Qemu-devel] Issue with compiling qemu-0.13.0.-rc1
  2010-09-12 22:24         ` Anthony Liguori
@ 2010-09-13 17:47           ` Adhyas Avasthi
  2010-09-13 18:01             ` Anthony Liguori
  0 siblings, 1 reply; 17+ messages in thread
From: Adhyas Avasthi @ 2010-09-13 17:47 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: Andreas Färber, qemu-devel

Anthony

Are you sure that this error is because the make version is not
similar to yours?
As I said, I cannot even make the rc1 image. The last stable image I
can make is qemu-0.12.5
Even 0.12.5 also gives the make output initially that says "could not
find -include" but continues to build without any issues. Maybe we
decided to break build on this warning for 0.13 rc?

I guess I am still stuck at this error and cannot compile qemu on my box.

As for compiling with different targets, I am getting similar behavior
for the following targets specifically "i386-softmmu, x86_64-softmmu,
ppc-softmmu"

If I give the target as "x86_64-linux-user" I get a different error
(output reproduced below):
bash-3.2$ make
Makefile:331: no file name for `-include'
  GEN   config-host.h
  GEN   trace.h
Makefile:23: no file name for `-include'
make-3.79.1-p7[1]: *** No rule to make target `i386-dis.o', needed by
`all'.  Stop.
make-3.79.1-p7: *** [subdir-libdis-user] Error 2

Any pointers to unblock me will be very helpful.

Thanks,
Adhyas

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

* Re: [Qemu-devel] Issue with compiling qemu-0.13.0.-rc1
  2010-09-13 17:47           ` Adhyas Avasthi
@ 2010-09-13 18:01             ` Anthony Liguori
  2010-09-13 19:51               ` Adhyas Avasthi
  0 siblings, 1 reply; 17+ messages in thread
From: Anthony Liguori @ 2010-09-13 18:01 UTC (permalink / raw)
  To: Adhyas Avasthi; +Cc: Andreas Färber, qemu-devel

On 09/13/2010 12:47 PM, Adhyas Avasthi wrote:
> Anthony
>
> Are you sure that this error is because the make version is not
> similar to yours?
> As I said, I cannot even make the rc1 image. The last stable image I
> can make is qemu-0.12.5
> Even 0.12.5 also gives the make output initially that says "could not
> find -include" but continues to build without any issues. Maybe we
> decided to break build on this warning for 0.13 rc?
>    

What OS are you running?  Is this Solaris 10?

Yes, I'm very sure that this is your version of make.

Regards,

Anthony Liguori

> I guess I am still stuck at this error and cannot compile qemu on my box.
>
> As for compiling with different targets, I am getting similar behavior
> for the following targets specifically "i386-softmmu, x86_64-softmmu,
> ppc-softmmu"
>
> If I give the target as "x86_64-linux-user" I get a different error
> (output reproduced below):
> bash-3.2$ make
> Makefile:331: no file name for `-include'
>    GEN   config-host.h
>    GEN   trace.h
> Makefile:23: no file name for `-include'
> make-3.79.1-p7[1]: *** No rule to make target `i386-dis.o', needed by
> `all'.  Stop.
> make-3.79.1-p7: *** [subdir-libdis-user] Error 2
>
> Any pointers to unblock me will be very helpful.
>
> Thanks,
> Adhyas
>    

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

* Re: [Qemu-devel] Issue with compiling qemu-0.13.0.-rc1
  2010-09-13 18:01             ` Anthony Liguori
@ 2010-09-13 19:51               ` Adhyas Avasthi
  2010-09-13 19:53                 ` Anthony Liguori
  0 siblings, 1 reply; 17+ messages in thread
From: Adhyas Avasthi @ 2010-09-13 19:51 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: Andreas Färber, qemu-devel

Alright, so I updated the version of make to what you have(3.81 GNU
Make built for x86_64-redhat-linux-gnu)
When I build the RC1 image now, I get a bunch of compile time errors
(different than what I saw before). Reproduced below. Not sure if this
is because RC1 code has issues or something to do with my environment.

  GEN   libhw64/qemu-options.def
  CC    libhw64/vl.o
  CC    libhw64/loader.o
/auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.c:45:16: error: hw.h:
No such file or directory
In file included from /auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.c:46:
/auto/cats5/adavasth/svn/qemu-0.13.0-rc1/disas.h:28: error: expected
declaration specifiers or '...' before 'target_phys_addr_t'
In file included from /auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.c:50:
/auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.h:7: error: expected
declaration specifiers or '...' before 'target_phys_addr_t'
/auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.h:12: error: expected
declaration specifiers or '...' before 'target_phys_addr_t'
/auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.h:13: error: expected
declaration specifiers or '...' before 'target_phys_addr_t'
/auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.h:14: error: expected
declaration specifiers or '...' before 'target_phys_addr_t'
/auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.h:15: error: expected
declaration specifiers or '...' before 'target_phys_addr_t'
/auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.h:18: error: expected
declaration specifiers or '...' before 'target_phys_addr_t'
/auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.h:20: error: expected
declaration specifiers or '...' before 'target_phys_addr_t'
/auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.h:25: error: expected
declaration specifiers or '...' before 'target_phys_addr_t'
/auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.h:27: error: expected
declaration specifiers or '...' before 'target_phys_addr_t'
/auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.h:30: error: expected
declaration specifiers or '...' before 'target_phys_addr_t'
/auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.h:31: error: expected
')' before 'addr'
/auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.c:51:20: error:
fw_cfg.h: No such file or directory
/auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.c:53: error: stray
'##' in program
/auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.c:53: error: expected
'=', ',', ';', 'asm' or '__attribute__' before '<' token

(and the errors follow).

Thanks,
Adhyas

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

* Re: [Qemu-devel] Issue with compiling qemu-0.13.0.-rc1
  2010-09-13 19:51               ` Adhyas Avasthi
@ 2010-09-13 19:53                 ` Anthony Liguori
  2010-09-13 19:57                   ` Adhyas Avasthi
  0 siblings, 1 reply; 17+ messages in thread
From: Anthony Liguori @ 2010-09-13 19:53 UTC (permalink / raw)
  To: Adhyas Avasthi; +Cc: Andreas Färber, qemu-devel

On 09/13/2010 02:51 PM, Adhyas Avasthi wrote:
> Alright, so I updated the version of make to what you have(3.81 GNU
> Make built for x86_64-redhat-linux-gnu)
>    

What OS are you running?

> When I build the RC1 image now, I get a bunch of compile time errors
> (different than what I saw before). Reproduced below. Not sure if this
> is because RC1 code has issues or something to do with my environment.
>
>    GEN   libhw64/qemu-options.def
>    CC    libhw64/vl.o
>    CC    libhw64/loader.o
> /auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.c:45:16: error: hw.h:
> No such file or directory
>    

Your build environment is fubar.

Regards,

Anthony Liguori

> In file included from /auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.c:46:
> /auto/cats5/adavasth/svn/qemu-0.13.0-rc1/disas.h:28: error: expected
> declaration specifiers or '...' before 'target_phys_addr_t'
> In file included from /auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.c:50:
> /auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.h:7: error: expected
> declaration specifiers or '...' before 'target_phys_addr_t'
> /auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.h:12: error: expected
> declaration specifiers or '...' before 'target_phys_addr_t'
> /auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.h:13: error: expected
> declaration specifiers or '...' before 'target_phys_addr_t'
> /auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.h:14: error: expected
> declaration specifiers or '...' before 'target_phys_addr_t'
> /auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.h:15: error: expected
> declaration specifiers or '...' before 'target_phys_addr_t'
> /auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.h:18: error: expected
> declaration specifiers or '...' before 'target_phys_addr_t'
> /auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.h:20: error: expected
> declaration specifiers or '...' before 'target_phys_addr_t'
> /auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.h:25: error: expected
> declaration specifiers or '...' before 'target_phys_addr_t'
> /auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.h:27: error: expected
> declaration specifiers or '...' before 'target_phys_addr_t'
> /auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.h:30: error: expected
> declaration specifiers or '...' before 'target_phys_addr_t'
> /auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.h:31: error: expected
> ')' before 'addr'
> /auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.c:51:20: error:
> fw_cfg.h: No such file or directory
> /auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.c:53: error: stray
> '##' in program
> /auto/cats5/adavasth/svn/qemu-0.13.0-rc1/loader.c:53: error: expected
> '=', ',', ';', 'asm' or '__attribute__' before'<' token
>
> (and the errors follow).
>
> Thanks,
> Adhyas
>
>    

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

* Re: [Qemu-devel] Issue with compiling qemu-0.13.0.-rc1
  2010-09-13 19:53                 ` Anthony Liguori
@ 2010-09-13 19:57                   ` Adhyas Avasthi
  2010-09-13 20:01                     ` Anthony Liguori
  0 siblings, 1 reply; 17+ messages in thread
From: Adhyas Avasthi @ 2010-09-13 19:57 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: Andreas Färber, qemu-devel

The OS is RedHat

Thanks,
Adhyas

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

* Re: [Qemu-devel] Issue with compiling qemu-0.13.0.-rc1
  2010-09-13 19:57                   ` Adhyas Avasthi
@ 2010-09-13 20:01                     ` Anthony Liguori
  2010-09-13 20:12                       ` Adhyas Avasthi
  0 siblings, 1 reply; 17+ messages in thread
From: Anthony Liguori @ 2010-09-13 20:01 UTC (permalink / raw)
  To: Adhyas Avasthi; +Cc: =?ISO-8859-1?Q?Andreas_F=E4?=, rber, qemu-devel

On 09/13/2010 02:57 PM, Adhyas Avasthi wrote:
> The OS is RedHat
>    

What version?

Regards,

Anthony Liguori

> Thanks,
> Adhyas
>
>    

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

* Re: [Qemu-devel] Issue with compiling qemu-0.13.0.-rc1
  2010-09-13 20:01                     ` Anthony Liguori
@ 2010-09-13 20:12                       ` Adhyas Avasthi
  0 siblings, 0 replies; 17+ messages in thread
From: Adhyas Avasthi @ 2010-09-13 20:12 UTC (permalink / raw)
  To: Anthony Liguori; +Cc: Andreas Färber, qemu-devel

Seems like my toolchain set up was not proper. Resolved the build
environment and it seems to build RC1 (target x86_64-softmmu) for me
now. Will let you know if I can repro the issue again. I will try to
build the other targets now.

- Adhyas

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

end of thread, other threads:[~2010-09-13 20:13 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-10 23:59 [Qemu-devel] Issue with compiling qemu-0.13.0.-rc1 Adhyas Avasthi
2010-09-11 17:37 ` Anthony Liguori
2010-09-12 18:06   ` Adhyas Avasthi
2010-09-12 19:26     ` Anthony Liguori
2010-09-12 21:16       ` Andreas Färber
2010-09-12 22:24         ` Anthony Liguori
2010-09-13 17:47           ` Adhyas Avasthi
2010-09-13 18:01             ` Anthony Liguori
2010-09-13 19:51               ` Adhyas Avasthi
2010-09-13 19:53                 ` Anthony Liguori
2010-09-13 19:57                   ` Adhyas Avasthi
2010-09-13 20:01                     ` Anthony Liguori
2010-09-13 20:12                       ` Adhyas Avasthi
2010-09-12 22:08       ` Adhyas Avasthi
2010-09-12 22:21         ` Andreas Färber
2010-09-12 23:44           ` Adhyas Avasthi
2010-09-12 22:31 ` malc

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.