[Gluster-users] glusterfs-3.0.0 on solaris 10x86
Anand Babu Periasamy
ab at gluster.com
Thu Dec 10 06:08:33 UTC 2009
Vijay, O_ASYNC is not POSIX. Solaris doesnt support it. You should look at Solaris AIO. We
should do it with #ifdefs.
http://sunsite.uakom.sk/sunworldonline/swol-03-1996/swol-03-aio.html
Vijay Bellur wrote:
> shellcode wrote:
>> 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 ?
>>
>
>
> We are looking into this and will revert back.
>
> Regards,
> Vijay
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
--
Anand Babu Periasamy
GPG Key ID: 0x62E15A31
Blog [http://unlocksmith.org]
Twitter [http://twitter.com/unlocksmith]
GNU/Linux [http://www.gnu.org]
GlusterFS [http://www.gluster.org]
More information about the Gluster-users
mailing list