Bug 761962 (GLUSTER-230) - Bulid fails on Solaris and Mac OS due to Linux specific flags
Summary: Bulid fails on Solaris and Mac OS due to Linux specific flags
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-230
Product: GlusterFS
Classification: Community
Component: core
Version: mainline
Hardware: All
OS: Solaris
low
low
Target Milestone: ---
Assignee: Shehjar Tikoo
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-27 07:07 UTC by Shehjar Tikoo
Modified: 2011-03-16 08:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: RTNR
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Shehjar Tikoo 2009-08-27 07:07:10 UTC
Build error:
In file included from gf-dirent.c:33:
protocol.h: In function `gf_flags_from_flags':
protocol.h:278: error: `O_ASYNC' undeclared (first use in this function)
protocol.h:278: error: (Each undeclared identifier is reported only once
protocol.h:278: error: for each function it appears in.)
protocol.h:283: error: `O_NOATIME' undeclared (first use in this function)
protocol.h:284: error: `O_CLOEXEC' undeclared (first use in this function)
protocol.h: In function `gf_flags_to_flags':
protocol.h:305: error: `O_ASYNC' undeclared (first use in this function)
protocol.h:310: error: `O_NOATIME' undeclared (first use in this function)
protocol.h:311: error: `O_CLOEXEC' undeclared (first use in this function)

Comment 1 Anand Avati 2009-09-02 14:30:03 UTC
PATCH: http://patches.gluster.com/patch/1173 in master (core: Fix build failure on non-Linux systems)


Note You need to log in before you can comment on or make changes to this bug.