glusterfs-3.0.0 on solaris 10x86

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

 



Greetings,
I try compile glusterfs-3.0.0 on Solaris 10 10/09 s10x_u8wos_08a X86
I have:

------------
-bash-3.00# gcc -v
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs
Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
-----------
-bash-3.00# flex -V
flex version 2.5.4
-----------
-bash-3.00# bison -V
bison (GNU Bison) 2.3
-----------
The problem is:

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 ?

WBR


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux