WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Xen tools ioemu tool build failure

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Xen tools ioemu tool build failure
From: Srinivas Maturi <srinivas.maturi@xxxxxxxxxx>
Date: Mon, 28 Jan 2008 12:09:49 -0800
Delivery-date: Mon, 28 Jan 2008 12:10:27 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C3C37573.1B7A3%Keir.Fraser@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C3C37573.1B7A3%Keir.Fraser@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.13pre) Gecko/20070719 Oracle/1.0.9-4.el4.0.1 SeaMonkey/1.0.9

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

<Prev in Thread] Current Thread [Next in Thread>