[Gluster-users] Compilation problem on Solaris 10

Joris Vuffray vuffray at gmail.com
Wed May 5 11:39:00 UTC 2010


Hi List,

I'm unable to compile glusterfs on Solaris 10. Getting this error:
---------------------------------------------------------------------

Making all in src
/bin/bash ../../../../libtool --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../../../..     -fPIC -fno-strict-aliasing -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE -DGF_SOLARIS_HOST_OS -Wall  -I../../../../libglusterfs/src
-shared -nostartfiles  -I../../../../argp-standalone -D_REENTRANT -g -O2 -MT
posix.lo -MD -MP -MF .deps/posix.Tpo -c -o posix.lo posix.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../.. -fPIC
-fno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-DGF_SOLARIS_HOST_OS -Wall -I../../../../libglusterfs/src -nostartfiles
-I../../../../argp-standalone -D_REENTRANT -g -O2 -MT posix.lo -MD -MP -MF
.deps/posix.Tpo -c posix.c  -fPIC -DPIC -o .libs/posix.o
posix.c: In function `posix_lstat_with_gen':
posix.c:274: error: structure has no member named `st_mode'
posix.c:274: error: structure has no member named `st_mode'
posix.c: In function `posix_fstat_with_gen':
posix.c:345: error: structure has no member named `st_mode'
posix.c:345: error: structure has no member named `st_mode'
*** Error code 1
make: Fatal error: Command failed for target `posix.lo'
Current working directory /root/glusterfs/xlators/storage/posix/src
*** Error code 1

---------------------------------------------------------------------

Any Idea?

Regards,
Jo


More information about the Gluster-users mailing list