Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Brb5Q-00087O-D3 for qemu-devel@nongnu.org; Mon, 02 Aug 2004 07:34:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Brb5P-00087C-Ku for qemu-devel@nongnu.org; Mon, 02 Aug 2004 07:34:36 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Brb5P-000879-J9 for qemu-devel@nongnu.org; Mon, 02 Aug 2004 07:34:35 -0400 Received: from [206.190.37.26] (helo=web53705.mail.yahoo.com) by monty-python.gnu.org with smtp (Exim 4.34) id 1Brb1z-000811-Cy for qemu-devel@nongnu.org; Mon, 02 Aug 2004 07:31:03 -0400 Message-ID: <20040802113102.74582.qmail@web53705.mail.yahoo.com> Date: Mon, 2 Aug 2004 04:31:02 -0700 (PDT) From: mister pants MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-2049907687-1091446262=:71186" Subject: [Qemu-devel] CVS snapshot qemu-img.c Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --0-2049907687-1091446262=:71186 Content-Type: text/plain; charset=us-ascii the latest CVS snapshot is broken when compiling qemu-img.c under windows using the compile-time tools found here: http://www.h7.dion.ne.jp/~qemu-win/PortingTips-en.html $ make gcc -Wall -O2 -g -fno-strict-aliasing -fpack-struct -D_GNU_SOURCE -o dyngen.exe dyngen.c gcc -DQEMU_TOOL -Wall -O2 -g -fno-strict-aliasing -fpack-struct -g -D_GNU_SOURC E -o qemu-img qemu-img.c block.c block-cow.c block-qcow.c aes.c block-vmdk.c -lz qemu-img.c: In function `img_create': qemu-img.c:340: `ENOTSUP' undeclared (first use in this function) qemu-img.c:340: (Each undeclared identifier is reported only once qemu-img.c:340: for each function it appears in.) qemu-img.c: In function `img_commit': qemu-img.c:399: `ENOTSUP' undeclared (first use in this function) qemu-img.c: In function `img_convert': qemu-img.c:530: `ENOTSUP' undeclared (first use in this function) qemu-img.c: In function `img_info': qemu-img.c:643: structure has no member named `st_blocks' block.c: In function `bdrv_create': block.c:70: `ENOTSUP' undeclared (first use in this function) block.c:70: (Each undeclared identifier is reported only once block.c:70: for each function it appears in.) block.c: In function `get_tmp_filename': block.c:79: warning: implicit declaration of function `mkstemp' block.c: In function `bdrv_commit': block.c:241: `ENOTSUP' undeclared (first use in this function) block.c: In function `raw_create': block.c:561: `ENOTSUP' undeclared (first use in this function) block.c:567: warning: implicit declaration of function `ftruncate64' block-qcow.c:26:18: zlib.h: No such file or directory block-qcow.c: In function `get_cluster_offset': block-qcow.c:353: warning: implicit declaration of function `ftruncate' block-qcow.c: In function `decompress_buffer': block-qcow.c:407: `z_stream' undeclared (first use in this function) block-qcow.c:407: (Each undeclared identifier is reported only once block-qcow.c:407: for each function it appears in.) block-qcow.c:407: parse error before "strm1" block-qcow.c:410: `strm' undeclared (first use in this function) block-qcow.c:417: warning: implicit declaration of function `inflateInit2' block-qcow.c:418: `Z_OK' undeclared (first use in this function) block-qcow.c:420: warning: implicit declaration of function `inflate' block-qcow.c:420: `Z_FINISH' undeclared (first use in this function) block-qcow.c:422: `Z_STREAM_END' undeclared (first use in this function) block-qcow.c:422: `Z_BUF_ERROR' undeclared (first use in this function) block-qcow.c:424: warning: implicit declaration of function `inflateEnd' block-qcow.c: In function `qcow_create': block-qcow.c:554: warning: implicit declaration of function `realpath' block-qcow.c: In function `qcow_compress_cluster': block-qcow.c:609: `z_stream' undeclared (first use in this function) block-qcow.c:609: parse error before "strm" block-qcow.c:622: `strm' undeclared (first use in this function) block-qcow.c:623: warning: implicit declaration of function `deflateInit2' block-qcow.c:623: `Z_DEFAULT_COMPRESSION' undeclared (first use in this function ) block-qcow.c:624: `Z_DEFLATED' undeclared (first use in this function) block-qcow.c:625: `Z_DEFAULT_STRATEGY' undeclared (first use in this function) block-qcow.c:636: warning: implicit declaration of function `deflate' block-qcow.c:636: `Z_FINISH' undeclared (first use in this function) block-qcow.c:637: `Z_STREAM_END' undeclared (first use in this function) block-qcow.c:637: `Z_OK' undeclared (first use in this function) block-qcow.c:639: warning: implicit declaration of function `deflateEnd' make: *** [qemu-img] Error 1 --------------------------------- Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. --0-2049907687-1091446262=:71186 Content-Type: text/html; charset=us-ascii
the latest CVS snapshot is broken when compiling qemu-img.c under windows using the compile-time tools found here: http://www.h7.dion.ne.jp/~qemu-win/PortingTips-en.html
 
$ make
gcc -Wall -O2 -g -fno-strict-aliasing -fpack-struct  -D_GNU_SOURCE -o dyngen.exe
 dyngen.c
gcc -DQEMU_TOOL -Wall -O2 -g -fno-strict-aliasing -fpack-struct  -g -D_GNU_SOURC
E -o qemu-img qemu-img.c block.c block-cow.c block-qcow.c aes.c block-vmdk.c -lz
qemu-img.c: In function `img_create':
qemu-img.c:340: `ENOTSUP' undeclared (first use in this function)
qemu-img.c:340: (Each undeclared identifier is reported only once
qemu-img.c:340: for each function it appears in.)
qemu-img.c: In function `img_commit':
qemu-img.c:399: `ENOTSUP' undeclared (first use in this function)
qemu-img.c: In function `img_convert':
qemu-img.c:530: `ENOTSUP' undeclared (first use in this function)
qemu-img.c: In function `img_info':
qemu-img.c:643: structure has no member named `st_blocks'
block.c: In function `bdrv_create':
block.c:70: `ENOTSUP' undeclared (first use in this function)
block.c:70: (Each undeclared identifier is reported only once
block.c:70: for each function it appears in.)
block.c: In function `get_tmp_filename':
block.c:79: warning: implicit declaration of function `mkstemp'
block.c: In function `bdrv_commit':
block.c:241: `ENOTSUP' undeclared (first use in this function)
block.c: In function `raw_create':
block.c:561: `ENOTSUP' undeclared (first use in this function)
block.c:567: warning: implicit declaration of function `ftruncate64'
block-qcow.c:26:18: zlib.h: No such file or directory
block-qcow.c: In function `get_cluster_offset':
block-qcow.c:353: warning: implicit declaration of function `ftruncate'
block-qcow.c: In function `decompress_buffer':
block-qcow.c:407: `z_stream' undeclared (first use in this function)
block-qcow.c:407: (Each undeclared identifier is reported only once
block-qcow.c:407: for each function it appears in.)
block-qcow.c:407: parse error before "strm1"
block-qcow.c:410: `strm' undeclared (first use in this function)
block-qcow.c:417: warning: implicit declaration of function `inflateInit2'
block-qcow.c:418: `Z_OK' undeclared (first use in this function)
block-qcow.c:420: warning: implicit declaration of function `inflate'
block-qcow.c:420: `Z_FINISH' undeclared (first use in this function)
block-qcow.c:422: `Z_STREAM_END' undeclared (first use in this function)
block-qcow.c:422: `Z_BUF_ERROR' undeclared (first use in this function)
block-qcow.c:424: warning: implicit declaration of function `inflateEnd'
block-qcow.c: In function `qcow_create':
block-qcow.c:554: warning: implicit declaration of function `realpath'
block-qcow.c: In function `qcow_compress_cluster':
block-qcow.c:609: `z_stream' undeclared (first use in this function)
block-qcow.c:609: parse error before "strm"
block-qcow.c:622: `strm' undeclared (first use in this function)
block-qcow.c:623: warning: implicit declaration of function `deflateInit2'
block-qcow.c:623: `Z_DEFAULT_COMPRESSION' undeclared (first use in this function
)
block-qcow.c:624: `Z_DEFLATED' undeclared (first use in this function)
block-qcow.c:625: `Z_DEFAULT_STRATEGY' undeclared (first use in this function)
block-qcow.c:636: warning: implicit declaration of function `deflate'
block-qcow.c:636: `Z_FINISH' undeclared (first use in this function)
block-qcow.c:637: `Z_STREAM_END' undeclared (first use in this function)
block-qcow.c:637: `Z_OK' undeclared (first use in this function)
block-qcow.c:639: warning: implicit declaration of function `deflateEnd'
make: *** [qemu-img] Error 1


Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish. --0-2049907687-1091446262=:71186--