* Xen tools build failure on c/s 16919
@ 2008-01-28 11:47 Li, Haicheng
2008-01-28 12:05 ` Keir Fraser
0 siblings, 1 reply; 4+ messages in thread
From: Li, Haicheng @ 2008-01-28 11:47 UTC (permalink / raw)
To: xen-devel
Hi all,
We met one build error on c/s 16919, which blocked our testing; seems
since c/s 16897, this issue existed in xen-unstable tree.
Here is the error info:
make[4]: Entering directory
`/home/build/nightly/builds_xen_unstable_pae/xen-3.0-hg-xen_unstable_pae
-16919-20080128/tools/firmware/vmxassist'
gcc -m32 -march=i686 -fno-strict-aliasing -std=gnu99 -Wall
-Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement
-DDEBUG -DTEXTADDR=0x000D0000 -I. -I../../../tools/libxc -fno-builtin
-O2 -msoft-float -D__ASSEMBLY__ -DDEBUG -DTEXTADDR=0x000D0000 -c head.S
In file included from head.S:20:
vm86.h:27:32: xen/hvm/vmx_assist.h: No such file or directory
make[4]: *** [head.o] Error 1
make[4]: Leaving directory
`/home/build/nightly/builds_xen_unstable_pae/xen-3.0-hg-xen_unstable_pae
-16919-20080128/tools/firmware/vmxassist'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/home/build/nightly/builds_xen_unstable_pae/xen-3.0-hg-xen_unstable_pae
-16919-20080128/tools/firmware'
make[2]: *** [subdir-install-firmware] Error 2
make[2]: Leaving directory
`/home/build/nightly/builds_xen_unstable_pae/xen-3.0-hg-xen_unstable_pae
-16919-20080128/tools'
make[1]: *** [install] Error 2
make[1]: Leaving directory
`/home/build/nightly/builds_xen_unstable_pae/xen-3.0-hg-xen_unstable_pae
-16919-20080128/tools'
make: *** [install-tools] Error 2
-- haicheng
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Xen tools build failure on c/s 16919
2008-01-28 11:47 Xen tools build failure on c/s 16919 Li, Haicheng
@ 2008-01-28 12:05 ` Keir Fraser
2008-01-28 20:09 ` Xen tools ioemu tool build failure Srinivas Maturi
0 siblings, 1 reply; 4+ messages in thread
From: Keir Fraser @ 2008-01-28 12:05 UTC (permalink / raw)
To: Li, Haicheng, xen-devel
Thanks. Fixed by c/s 16923.
-- Keir
On 28/1/08 11:47, "Li, Haicheng" <haicheng.li@intel.com> wrote:
> Hi all,
> We met one build error on c/s 16919, which blocked our testing; seems
> since c/s 16897, this issue existed in xen-unstable tree.
> Here is the error info:
>
> make[4]: Entering directory
> `/home/build/nightly/builds_xen_unstable_pae/xen-3.0-hg-xen_unstable_pae
> -16919-20080128/tools/firmware/vmxassist'
> gcc -m32 -march=i686 -fno-strict-aliasing -std=gnu99 -Wall
> -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement
> -DDEBUG -DTEXTADDR=0x000D0000 -I. -I../../../tools/libxc -fno-builtin
> -O2 -msoft-float -D__ASSEMBLY__ -DDEBUG -DTEXTADDR=0x000D0000 -c head.S
> In file included from head.S:20:
> vm86.h:27:32: xen/hvm/vmx_assist.h: No such file or directory
> make[4]: *** [head.o] Error 1
> make[4]: Leaving directory
> `/home/build/nightly/builds_xen_unstable_pae/xen-3.0-hg-xen_unstable_pae
> -16919-20080128/tools/firmware/vmxassist'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory
> `/home/build/nightly/builds_xen_unstable_pae/xen-3.0-hg-xen_unstable_pae
> -16919-20080128/tools/firmware'
> make[2]: *** [subdir-install-firmware] Error 2
> make[2]: Leaving directory
> `/home/build/nightly/builds_xen_unstable_pae/xen-3.0-hg-xen_unstable_pae
> -16919-20080128/tools'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory
> `/home/build/nightly/builds_xen_unstable_pae/xen-3.0-hg-xen_unstable_pae
> -16919-20080128/tools'
> make: *** [install-tools] Error 2
>
>
> -- haicheng
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Xen tools ioemu tool build failure
2008-01-28 12:05 ` Keir Fraser
@ 2008-01-28 20:09 ` Srinivas Maturi
2008-01-28 21:52 ` Keir Fraser
0 siblings, 1 reply; 4+ messages in thread
From: Srinivas Maturi @ 2008-01-28 20:09 UTC (permalink / raw)
To: xen-devel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Xen tools ioemu tool build failure
2008-01-28 20:09 ` Xen tools ioemu tool build failure Srinivas Maturi
@ 2008-01-28 21:52 ` Keir Fraser
0 siblings, 0 replies; 4+ messages in thread
From: Keir Fraser @ 2008-01-28 21:52 UTC (permalink / raw)
To: Srinivas Maturi, xen-devel
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@oracle.com> 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@lists.xensource.com
> http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-01-28 21:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-28 11:47 Xen tools build failure on c/s 16919 Li, Haicheng
2008-01-28 12:05 ` Keir Fraser
2008-01-28 20:09 ` Xen tools ioemu tool build failure Srinivas Maturi
2008-01-28 21:52 ` Keir Fraser
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.