[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] Cluster 3.0.3: compile error



On Thu, 2009-10-01 at 07:39 -0500, David Merhar wrote:
> RHEL 5.4
> kernel 2.6.31.1
> corosync 1.1.0
> openais 1.1.0
> 
> corosync and openais install without issue.
> 
> ...
> /root/cluster-3.0.3/gfs/gfs_mkfs/device_geometry.c: In function  
> 'device_geometry':
> /root/cluster-3.0.3/gfs/gfs_mkfs/device_geometry.c:33: error:  
> 'O_CLOEXEC' undeclared (first use in this function)
> /root/cluster-3.0.3/gfs/gfs_mkfs/device_geometry.c:33: error: (Each  
> undeclared identifier is reported only once
> /root/cluster-3.0.3/gfs/gfs_mkfs/device_geometry.c:33: error: for each  
> function it appears in.)
> 
> 
> My testing environment is vm.
> 
> Any place to start looking?

O_CLOEXEC attribute for open(2) has been introduced only in more recent
glibc versions.

Either you update glibc or use a more recent distribution for testing.

Fabio


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]