[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Xen tools ioemu tool build failure


  • To: Srinivas Maturi <srinivas.maturi@xxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
  • Date: Mon, 28 Jan 2008 21:52:03 +0000
  • Delivery-date: Mon, 28 Jan 2008 13:52:28 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Achh+AQuQpxcqc3rEdy39QAWy6hiGQ==
  • Thread-topic: [Xen-devel] Xen tools ioemu tool build failure

Building anything other than the qemu-dm target is untested. Looks like this
one would be easy to fix, however.

 -- Keir

On 28/1/08 20:09, "Srinivas Maturi" <srinivas.maturi@xxxxxxxxxx> wrote:

> 
> We are seeing the following error while trying to build the ioemu tool
> (qemu-img).
> xenctrl.h is in tools/libxc/ and xs.h is in tools/xenstore and the
> compile doesnot seem
> to add these include header paths.
> 
> [xen-unstable]$ make -C tools/ioemu qemu-img
> make: Entering directory `/home/build/xen-unstable/tools/ioemu'
> gcc -DQEMU_TOOL -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack- protector --param=ssp-buffer-size=4 -m64 -mtune=generic -m64
> -fno-strict-aliasin g -std=gnu99 -Wall -Wstrict-prototypes
> -Wno-unused-value -Wdeclaration-after-sta tement -m64
> -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unus
> ed-value -Wdeclaration-after-statement -m64 -fno-strict-aliasing
> -std=gnu99 -Wa ll -Wstrict-prototypes -Wno-unused-value
> -Wdeclaration-after-statement -D__XEN_ TOOLS__ -D_LARGEFILE_SOURCE
> -D_LARGEFILE64_SOURCE -m64 -fno-strict-aliasing -s td=gnu99 -Wall
> -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-stateme nt
> -D__XEN_TOOLS__ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -O2 -g
> -fn o-strict-aliasing -I. -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE_SOURCE -g -o qemu-img qemu-img.c cutils.c block.c
> block-raw.c block-cow.c block-qcow. c aes.c block-vmdk.c block-cloop.c
> block-dmg.c block-bochs.c block-vpc.c block-v vfat.c block-qcow2.c -lz -lrt
> In file included from qemu-img.c:24:
> vl.h:40:21: error: xenctrl.h: No such file or directory
> vl.h:41:16: error: xs.h: No such file or directory
> In file included from qemu-img.c:24:
> vl.h:164: error: expected ?)¹ before ?phys_addr¹
> vl.h:1469: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1469: warning: its scope is only this definition or declaration,
> which is p robably not what you want
> vl.h:1471: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1473: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1476: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1480: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1484: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1494: error: expected ?)¹ before ?*¹ token
> In file included from cutils.c:24:
> vl.h:40:21: error: xenctrl.h: No such file or directory
> vl.h:41:16: error: xs.h: No such file or directory
> In file included from cutils.c:24:
> vl.h:164: error: expected ?)¹ before ?phys_addr¹
> vl.h:1469: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1469: warning: its scope is only this definition or declaration,
> which is p robably not what you want
> vl.h:1471: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1473: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1476: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1480: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1484: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1494: error: expected ?)¹ before ?*¹ token
> In file included from block.c:24:
> vl.h:40:21: error: xenctrl.h: No such file or directory
> vl.h:41:16: error: xs.h: No such file or directory
> In file included from block.c:24:
> vl.h:164: error: expected ?)¹ before ?phys_addr¹
> vl.h:1469: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1469: warning: its scope is only this definition or declaration,
> which is p robably not what you want
> vl.h:1471: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1473: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1476: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1480: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1484: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1494: error: expected ?)¹ before ?*¹ token
> block.c: In function ?bdrv_open2¹:
> block.c:352: warning: ignoring return value of ?realpath¹, declared with
> attribu te warn_unused_result
> In file included from block-raw.c:24:
> vl.h:40:21: error: xenctrl.h: No such file or directory
> vl.h:41:16: error: xs.h: No such file or directory
> In file included from block-raw.c:24:
> vl.h:164: error: expected ?)¹ before ?phys_addr¹
> vl.h:1469: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1469: warning: its scope is only this definition or declaration,
> which is p robably not what you want
> vl.h:1471: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1473: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1476: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1480: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1484: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1494: error: expected ?)¹ before ?*¹ token
> block-raw.c: In function ?raw_create¹:
> block-raw.c:581: warning: ignoring return value of ?ftruncate¹, declared
> with at tribute warn_unused_result
> In file included from block-cow.c:25:
> vl.h:40:21: error: xenctrl.h: No such file or directory
> vl.h:41:16: error: xs.h: No such file or directory
> In file included from block-cow.c:25:
> vl.h:164: error: expected ?)¹ before ?phys_addr¹
> vl.h:1469: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1469: warning: its scope is only this definition or declaration,
> which is p robably not what you want
> vl.h:1471: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1473: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1476: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1480: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1484: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1494: error: expected ?)¹ before ?*¹ token
> block-cow.c: In function ?cow_create¹:
> block-cow.c:242: warning: ignoring return value of ?write¹, declared
> with attrib ute warn_unused_result
> block-cow.c:244: warning: ignoring return value of ?ftruncate¹, declared
> with at tribute warn_unused_result
> In file included from block-qcow.c:24:
> vl.h:40:21: error: xenctrl.h: No such file or directory
> vl.h:41:16: error: xs.h: No such file or directory
> In file included from block-qcow.c:24:
> vl.h:164: error: expected ?)¹ before ?phys_addr¹
> vl.h:1469: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1469: warning: its scope is only this definition or declaration,
> which is p robably not what you want
> vl.h:1471: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1473: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1476: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1480: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1484: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1494: error: expected ?)¹ before ?*¹ token
> block-qcow.c: In function ?qcow_create¹:
> block-qcow.c:779: warning: ignoring return value of ?write¹, declared
> with attri bute warn_unused_result
> block-qcow.c:781: warning: ignoring return value of ?write¹, declared
> with attri bute warn_unused_result
> block-qcow.c:786: warning: ignoring return value of ?write¹, declared
> with attri bute warn_unused_result
> In file included from aes.c:30:
> vl.h:40:21: error: xenctrl.h: No such file or directory
> vl.h:41:16: error: xs.h: No such file or directory
> In file included from aes.c:30:
> vl.h:164: error: expected ?)¹ before ?phys_addr¹
> vl.h:1469: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1469: warning: its scope is only this definition or declaration,
> which is p robably not what you want
> vl.h:1471: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1473: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1476: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1480: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1484: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1494: error: expected ?)¹ before ?*¹ token
> In file included from block-vmdk.c:26:
> vl.h:40:21: error: xenctrl.h: No such file or directory
> vl.h:41:16: error: xs.h: No such file or directory
> In file included from block-vmdk.c:26:
> vl.h:164: error: expected ?)¹ before ?phys_addr¹
> vl.h:1469: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1469: warning: its scope is only this definition or declaration,
> which is p robably not what you want
> vl.h:1471: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1473: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1476: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1480: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1484: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1494: error: expected ?)¹ before ?*¹ token
> block-vmdk.c: In function ?vmdk_snapshot_create¹:
> block-vmdk.c:218: warning: ignoring return value of ?ftruncate¹,
> declared with a ttribute warn_unused_result
> block-vmdk.c: In function ?vmdk_create¹:
> block-vmdk.c:690: warning: ignoring return value of ?write¹, declared
> with attri bute warn_unused_result
> block-vmdk.c:691: warning: ignoring return value of ?write¹, declared
> with attri bute warn_unused_result
> block-vmdk.c:693: warning: ignoring return value of ?ftruncate¹,
> declared with a ttribute warn_unused_result
> block-vmdk.c:699: warning: ignoring return value of ?write¹, declared
> with attri bute warn_unused_result
> block-vmdk.c:705: warning: ignoring return value of ?write¹, declared
> with attri bute warn_unused_result
> block-vmdk.c:720: warning: ignoring return value of ?write¹, declared
> with attri bute warn_unused_result
> In file included from block-cloop.c:24:
> vl.h:40:21: error: xenctrl.h: No such file or directory
> vl.h:41:16: error: xs.h: No such file or directory
> In file included from block-cloop.c:24:
> vl.h:164: error: expected ?)¹ before ?phys_addr¹
> vl.h:1469: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1469: warning: its scope is only this definition or declaration,
> which is p robably not what you want
> vl.h:1471: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1473: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1476: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1480: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1484: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1494: error: expected ?)¹ before ?*¹ token
> In file included from block-dmg.c:24:
> vl.h:40:21: error: xenctrl.h: No such file or directory
> vl.h:41:16: error: xs.h: No such file or directory
> In file included from block-dmg.c:24:
> vl.h:164: error: expected ?)¹ before ?phys_addr¹
> vl.h:1469: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1469: warning: its scope is only this definition or declaration,
> which is p robably not what you want
> vl.h:1471: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1473: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1476: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1480: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1484: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1494: error: expected ?)¹ before ?*¹ token
> In file included from block-bochs.c:25:
> vl.h:40:21: error: xenctrl.h: No such file or directory
> vl.h:41:16: error: xs.h: No such file or directory
> In file included from block-bochs.c:25:
> vl.h:164: error: expected ?)¹ before ?phys_addr¹
> vl.h:1469: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1469: warning: its scope is only this definition or declaration,
> which is p robably not what you want
> vl.h:1471: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1473: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1476: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1480: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1484: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1494: error: expected ?)¹ before ?*¹ token
> block-bochs.c: In function ?seek_to_sector¹:
> block-bochs.c:203: warning: ignoring return value of ?read¹, declared
> with attri bute warn_unused_result
> In file included from block-vpc.c:24:
> vl.h:40:21: error: xenctrl.h: No such file or directory
> vl.h:41:16: error: xs.h: No such file or directory
> In file included from block-vpc.c:24:
> vl.h:164: error: expected ?)¹ before ?phys_addr¹
> vl.h:1469: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1469: warning: its scope is only this definition or declaration,
> which is p robably not what you want
> vl.h:1471: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1473: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1476: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1480: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1484: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1494: error: expected ?)¹ before ?*¹ token
> block-vpc.c: In function ?vpc_probe¹:
> block-vpc.c:84: warning: pointer targets in passing argument 1 of
> ?strlen¹ diffe r in signedness
> block-vpc.c:84: warning: pointer targets in passing argument 1 of
> ?strlen¹ diffe r in signedness
> block-vpc.c:84: warning: pointer targets in passing argument 1 of
> ?__builtin_str cmp¹ differ in signedness
> block-vpc.c:84: warning: pointer targets in passing argument 1 of
> ?strlen¹ diffe r in signedness
> block-vpc.c:84: warning: pointer targets in passing argument 1 of
> ?__builtin_str cmp¹ differ in signedness
> block-vpc.c:84: warning: pointer targets in passing argument 1 of
> ?__builtin_str cmp¹ differ in signedness
> block-vpc.c:84: warning: pointer targets in passing argument 1 of
> ?__builtin_str cmp¹ differ in signedness
> block-vpc.c:84: warning: pointer targets in passing argument 1 of
> ?strncmp¹ diff er in signedness
> In file included from block-vvfat.c:28:
> vl.h:40:21: error: xenctrl.h: No such file or directory
> vl.h:41:16: error: xs.h: No such file or directory
> In file included from block-vvfat.c:28:
> vl.h:164: error: expected ?)¹ before ?phys_addr¹
> vl.h:1469: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1469: warning: its scope is only this definition or declaration,
> which is p robably not what you want
> vl.h:1471: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1473: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1476: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1480: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1484: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1494: error: expected ?)¹ before ?*¹ token
> block-vvfat.c: In function ?create_long_filename¹:
> block-vvfat.c:396: warning: pointer targets in passing argument 1 of
> ?short2long _name¹ differ in signedness
> block-vvfat.c: In function ?fat_get¹:
> block-vvfat.c:533: warning: pointer targets in initialization differ in
> signedne ss
> block-vvfat.c: In function ?create_short_and_long_name¹:
> block-vvfat.c:594: warning: pointer targets in passing argument 1 of
> ?__builtin_ __strncpy_chk¹ differ in signedness
> block-vvfat.c:594: warning: pointer targets in passing argument 1 of
> ?__strncpy_ ichk¹ differ in signedness
> block-vvfat.c: In function ?init_directories¹:
> block-vvfat.c:836: warning: pointer targets in passing argument 1 of
> ?__builtin_ __snprintf_chk¹ differ in signedness
> block-vvfat.c: In function ?read_cluster¹:
> block-vvfat.c:1154: warning: pointer targets in assignment differ in
> signedness
> block-vvfat.c: In function ?parse_long_name¹:
> block-vvfat.c:1423: warning: pointer targets in passing argument 1 of
> ?strlen¹ d iffer in signedness
> block-vvfat.c: In function ?parse_short_name¹:
> block-vvfat.c:1462: warning: pointer targets in passing argument 1 of
> ?strlen¹ d iffer in signedness
> block-vvfat.c: In function ?check_directory_consistency¹:
> block-vvfat.c:1758: warning: pointer targets in passing argument 1 of
> ?strlen¹ d iffer in signedness
> block-vvfat.c:1758: warning: pointer targets in passing argument 1 of
> ?__builtin _strcmp¹ differ in signedness
> block-vvfat.c:1758: warning: pointer targets in passing argument 1 of
> ?strlen¹ d iffer in signedness
> block-vvfat.c:1758: warning: pointer targets in passing argument 1 of
> ?__builtin _strcmp¹ differ in signedness
> block-vvfat.c:1758: warning: pointer targets in passing argument 1 of
> ?__builtin _strcmp¹ differ in signedness
> block-vvfat.c:1758: warning: pointer targets in passing argument 1 of
> ?__builtin _strcmp¹ differ in signedness
> block-vvfat.c:1759: warning: pointer targets in passing argument 1 of
> ?strlen¹ d iffer in signedness
> block-vvfat.c:1759: warning: pointer targets in passing argument 1 of
> ?__builtin _strcmp¹ differ in signedness
> block-vvfat.c:1759: warning: pointer targets in passing argument 1 of
> ?strlen¹ d iffer in signedness
> block-vvfat.c:1759: warning: pointer targets in passing argument 1 of
> ?__builtin _strcmp¹ differ in signedness
> block-vvfat.c:1759: warning: pointer targets in passing argument 1 of
> ?__builtin _strcmp¹ differ in signedness
> block-vvfat.c:1759: warning: pointer targets in passing argument 1 of
> ?__builtin _strcmp¹ differ in signedness
> block-vvfat.c:1768: warning: pointer targets in passing argument 2 of
> ?__builtin ___strcpy_chk¹ differ in signedness
> block-vvfat.c:1768: warning: pointer targets in passing argument 2 of
> ?__strcpy_ ichk¹ differ in signedness
> block-vvfat.c: In function ?commit_one_file¹:
> block-vvfat.c:2200: warning: pointer targets in passing argument 3 of
> ?vvfat_rea d¹ differ in signedness
> block-vvfat.c:2212: warning: ignoring return value of ?ftruncate¹,
> declared with attribute warn_unused_result
> In file included from block-qcow2.c:24:
> vl.h:40:21: error: xenctrl.h: No such file or directory
> vl.h:41:16: error: xs.h: No such file or directory
> In file included from block-qcow2.c:24:
> vl.h:164: error: expected ?)¹ before ?phys_addr¹
> vl.h:1469: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1469: warning: its scope is only this definition or declaration,
> which is p robably not what you want
> vl.h:1471: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1473: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1476: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1480: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1484: warning: ?struct xs_handle¹ declared inside parameter list
> vl.h:1494: error: expected ?)¹ before ?*¹ token
> block-qcow2.c: In function ?qcow_create¹:
> block-qcow2.c:1116: warning: ignoring return value of ?write¹, declared
> with att ribute warn_unused_result
> block-qcow2.c:1118: warning: ignoring return value of ?write¹, declared
> with att ribute warn_unused_result
> block-qcow2.c:1123: warning: ignoring return value of ?write¹, declared
> with att ribute warn_unused_result
> block-qcow2.c:1126: warning: ignoring return value of ?write¹, declared
> with att ribute warn_unused_result
> block-qcow2.c:1129: warning: ignoring return value of ?write¹, declared
> with att ribute warn_unused_result
> make: *** [qemu-img] Error 1
> make: Leaving directory `/home/build/xen-unstable/tools/ioemu'
> [xen-unstable]$
> 
> Thanks,
> Maturi
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.