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-changelog

[Xen-changelog] [xen-3.4-testing] blktap/fs-back: Build fixes for Fedora

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.4-testing] blktap/fs-back: Build fixes for Fedora 13
From: "Xen patchbot-3.4-testing" <patchbot-3.4-testing@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 06 May 2010 04:11:03 -0700
Delivery-date: Thu, 06 May 2010 04:16:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1273143802 -3600
# Node ID 0e7d86aa33754fa34e501dea6c0636258023fb34
# Parent  269e0c52dc3f283a6d716bcb89314ef1853f39af
blktap/fs-back: Build fixes for Fedora 13

1. Some files use stat, mkfifo, mkdir etc. without including
sys/stat.h

2. Some programs link against libpthread without a -lpthread compile
option. The compile used to work if this library happened to be used
by one of the other libraries that was being linked against, but
Fedora 13 has stopped allowing this.

From: M A Young <m.a.young@xxxxxxxxxxxx>
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   21036:c1f272c3a441
xen-unstable date:        Mon Mar 15 17:08:29 2010 +0000
---
 tools/blktap/drivers/blktapctrl.c  |    1 +
 tools/blktap/drivers/block-qcow2.c |    1 +
 tools/fs-back/Makefile             |    2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)

diff -r 269e0c52dc3f -r 0e7d86aa3375 tools/blktap/drivers/blktapctrl.c
--- a/tools/blktap/drivers/blktapctrl.c Thu May 06 12:01:39 2010 +0100
+++ b/tools/blktap/drivers/blktapctrl.c Thu May 06 12:03:22 2010 +0100
@@ -50,6 +50,7 @@
 #include <xs.h>
 #include <sys/time.h>
 #include <syslog.h>
+#include <sys/stat.h>
                                                                      
 #include "blktaplib.h"
 #include "blktapctrl.h"
diff -r 269e0c52dc3f -r 0e7d86aa3375 tools/blktap/drivers/block-qcow2.c
--- a/tools/blktap/drivers/block-qcow2.c        Thu May 06 12:01:39 2010 +0100
+++ b/tools/blktap/drivers/block-qcow2.c        Thu May 06 12:03:22 2010 +0100
@@ -30,6 +30,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <sys/stat.h>
 
 #include "tapdisk.h"
 #include "tapaio.h"
diff -r 269e0c52dc3f -r 0e7d86aa3375 tools/fs-back/Makefile
--- a/tools/fs-back/Makefile    Thu May 06 12:01:39 2010 +0100
+++ b/tools/fs-back/Makefile    Thu May 06 12:03:22 2010 +0100
@@ -16,7 +16,7 @@ LIBS      := -L. -L.. -L../lib
 LIBS      := -L. -L.. -L../lib
 LIBS      += $(LDFLAGS_libxenctrl)
 LIBS      += $(LDFLAGS_libxenstore)
-LIBS      += -lrt 
+LIBS      += -lrt -lpthread
 
 OBJS     := fs-xenbus.o fs-ops.o
 

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.4-testing] blktap/fs-back: Build fixes for Fedora 13, Xen patchbot-3.4-testing <=