Greetings,
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64 -D_GNU_SOURCE
-DXLATORDIR=\"/opt/gfs/lib/glusterfs/3.0.0/xlator\"
-DSCHEDULERDIR=\"/opt/gfs/lib/glusterfs/3.0.0/scheduler\"
-DTRANSPORTDIR=\"/opt/gfs/lib/glusterfs/3.0.0/transport\" -DGF_SOLARIS_HOST_OS
-DLIBDIR=\"/opt/gfs/lib/glusterfs/3.0.0/auth\" -I../../contrib/rbtree -fPIC -Wall -g -nostartfiles
-I../../argp-standalone -D_REENTRANT -g -O2 -MT libglusterfs_la-spec.lex.lo -MD -MP -MF
.deps/libglusterfs_la-spec.lex.Tpo -c spec.lex.c -fPIC -DPIC -o .libs/libglusterfs_la-spec.lex.o
In file included from stack.h:45,
from xlator.h:66,
from ./spec.l:27:
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: In function `gf_flags_to_flags':
protocol.h:308: error: `O_ASYNC' undeclared (first use in this function)
./spec.l: In function `yylex':
./spec.l:132: warning: label `find_rule' defined but not used
./spec.l: At top level:
./spec.l:952: warning: 'yy_flex_realloc' defined but not used
make[3]: *** [libglusterfs_la-spec.lex.lo] Error 1
make[3]: Leaving directory `/root/build/glusterfs-3.0.0/libglusterfs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/build/glusterfs-3.0.0/libglusterfs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/build/glusterfs-3.0.0'
make: *** [all] Error 2
Any ideas ?