URL:
<http://savannah.cern.ch/bugs/?96048>
Summary: missing fcntl.h header w/ xrootd-3.2.2 and gcc-4.7
Project: XROOTD
Submitted by: binet
Submitted on: 2012-07-12 10:05
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Fixed by commit(s):
_______________________________________________________
Details:
hi,
compiling xrootd-3.2.2 with gcc-4.7 fails right off the bat, unless one
applies the following patch:
diff -urN xrootd-3.2.2-orig/src/XrdOss/XrdOssAio.cc
xrootd-3.2.2/src/XrdOss/XrdOssAio.cc
--- xrootd-3.2.2-orig/src/XrdOss/XrdOssAio.cc 2012-07-12 19:03:28.000000000
+0200
+++ xrootd-3.2.2/src/XrdOss/XrdOssAio.cc 2012-07-12 19:04:01.000000000 +0200
@@ -15,6 +15,7 @@
#include <signal.h>
#include <stdio.h>
#include <unistd.h>
+#include <fcntl.h>
#ifdef _POSIX_ASYNCHRONOUS_IO
#ifdef __FreeBSD__
#include <fcntl.h>
-s
_______________________________________________________
Reply to this item at:
<http://savannah.cern.ch/bugs/?96048>
_______________________________________________
Message sent via/by LCG Savannah
http://savannah.cern.ch/
########################################################################
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1
|