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] [PATCH]libxl: fix fstat implicit declaration build error

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH]libxl: fix fstat implicit declaration build error
From: Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>
Date: Fri, 30 Jul 2010 10:29:55 +0800
Delivery-date: Thu, 29 Jul 2010 19:31:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Thunderbird/3.0.4
Hi all,

This patch fix this:

make -C libxl install
make[3]: Entering directory `/share/tmp/pkg/xen-unstable/tools/libxl'
gcc -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -g
-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes
-Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD -MF
.libxl.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Werror
-Wno-format-zero-length -I. -fPIC -I../../tools/libxc
-I../../tools/include -I../../tools/libxc -I../../tools/include
-I../../tools/xenstore -I../../tools/include
-I../../tools/blktap2/control -I../../tools/blktap2/include
-I../../tools/include -c -o libxl.o libxl.c
cc1: warnings being treated as errors
libxl.c: In function ‘libxl_file_reference_map’:
libxl.c:2968: error: implicit declaration of function ‘fstat’
make[3]: *** [libxl.o] Error 1

description:
libxl: fix fstat implicit declaration build error.

Signed-off-by: Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>

Thanks,

Zhigang

Attachment: xen-unstable-fix-fstat-build-error.patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH]libxl: fix fstat implicit declaration build error, Zhigang Wang <=