[Gluster-users] Compile on Solaris 10 x86

Jo vuffray+gluster at gmail.com
Mon May 31 15:18:07 UTC 2010


Hi,

I'm still trying to compile GlusterFS on solaris 10 but got this error:

NU_SOURCE -Wall -DGF_SOLARIS_HOST_OS -I../../../../libglusterfs/src -shared
-nostartfiles -I../../../../argp-standalone -D_REENTRANT -g -O2 -MT
msg-nfs3.lo -MD -MP -MF .deps/msg-nfs3.Tpo -c -o msg-nfs3.lo msg-nfs3.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../.. -fPIC
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -DGF_SOLARIS_HOST_OS
-I../../../../libglusterfs/src -nostartfiles -I../../../../argp-standalone
-D_REENTRANT -g -O2 -MT msg-nfs3.lo -MD -MP -MF .deps/msg-nfs3.Tpo -c
msg-nfs3.c  -fPIC -DPIC -o .libs/msg-nfs3.o
In file included from msg-nfs3.c:30:
xdr-nfs3.h:45: error: syntax error before "uint64"
xdr-nfs3.h:45: warning: type defaults to `int' in declaration of `uint64'
xdr-nfs3.h:45: warning: data definition has no type or storage class
xdr-nfs3.h:51: error: syntax error before "fileid3"
xdr-nfs3.h:51: warning: type defaults to `int' in declaration of `fileid3'
xdr-nfs3.h:51: warning: data definition has no type or storage class
xdr-nfs3.h:52: error: syntax error before "cookie3"
xdr-nfs3.h:52: warning: type defaults to `int' in declaration of `cookie3'
xdr-nfs3.h:52: warning: data definition has no type or storage class
xdr-nfs3.h:58: error: syntax error before "size3"
xdr-nfs3.h:58: warning: type defaults to `int' in declaration of `size3'
xdr-nfs3.h:58: warning: data definition has no type or storage class
xdr-nfs3.h:59: error: syntax error before "offset3"
xdr-nfs3.h:59: warning: type defaults to `int' in declaration of `offset3'
xdr-nfs3.h:59: warning: data definition has no type or storage class
xdr-nfs3.h:146: error: syntax error before "size3"
xdr-nfs3.h:146: warning: no semicolon at end of struct or union
xdr-nfs3.h:147: warning: type defaults to `int' in declaration of `used'
xdr-nfs3.h:147: warning: data definition has no type or storage class
xdr-nfs3.h:149: error: syntax error before "fsid"
xdr-nfs3.h:149: warning: type defaults to `int' in declaration of `fsid'
xdr-nfs3.h:149: warning: data definition has no type or storage class
xdr-nfs3.h:150: error: syntax error before "fileid"
xdr-nfs3.h:150: warning: type defaults to `int' in declaration of `fileid'
xdr-nfs3.h:150: warning: data definition has no type or storage class
xdr-nfs3.h:153: error: 'ctime' redeclared as different kind of symbol
/usr/include/iso/time_iso.h:86: error: previous declaration of 'ctime' was
here
xdr-nfs3.h:153: error: 'ctime' redeclared as different kind of symbol
/usr/include/iso/time_iso.h:86: error: previous declaration of 'ctime' was
here
xdr-nfs3.h:154: error: syntax error before '}' token
xdr-nfs3.h:160: error: field `attributes' has incomplete type
xdr-nfs3.h:166: error: syntax error before "size3"
xdr-nfs3.h:166: warning: no semicolon at end of struct or union
xdr-nfs3.h:169: error: syntax error before '}' token
xdr-nfs3.h:175: error: field `attributes' has incomplete type
xdr-nfs3.h:228: error: syntax error before "size3"
xdr-nfs3.h:228: warning: no semicolon at end of struct or union
xdr-nfs3.h:228: warning: no semicolon at end of struct or union
xdr-nfs3.h:229: warning: type defaults to `int' in declaration of
`set_size3_u'
xdr-nfs3.h:229: warning: data definition has no type or storage class
xdr-nfs3.h:230: error: syntax error before '}' token
xdr-nfs3.h:253: error: field `size' has incomplete type
xdr-nfs3.h:271: error: field `obj_attributes' has incomplete type
xdr-nfs3.h:402: error: syntax error before "offset3"
xdr-nfs3.h:402: warning: no semicolon at end of struct or union
xdr-nfs3.h:404: error: syntax error before '}' token
xdr-nfs3.h:441: error: syntax error before "offset3"
xdr-nfs3.h:441: warning: no semicolon at end of struct or union
xdr-nfs3.h:448: error: syntax error before '}' token
xdr-nfs3.h:728: error: syntax error before "cookie3"
xdr-nfs3.h:728: warning: no semicolon at end of struct or union
xdr-nfs3.h:731: error: syntax error before '}' token
xdr-nfs3.h:735: error: syntax error before "fileid3"
xdr-nfs3.h:735: warning: no semicolon at end of struct or union
xdr-nfs3.h:737: error: syntax error before "cookie"
xdr-nfs3.h:737: warning: type defaults to `int' in declaration of `cookie'
xdr-nfs3.h:737: warning: data definition has no type or storage class
xdr-nfs3.h:739: error: syntax error before '}' token
xdr-nfs3.h:771: error: syntax error before "cookie3"
xdr-nfs3.h:771: warning: no semicolon at end of struct or union
xdr-nfs3.h:775: error: syntax error before '}' token
xdr-nfs3.h:779: error: syntax error before "fileid3"
xdr-nfs3.h:779: warning: no semicolon at end of struct or union
xdr-nfs3.h:781: error: syntax error before "cookie"
xdr-nfs3.h:781: warning: type defaults to `int' in declaration of `cookie'
xdr-nfs3.h:781: warning: data definition has no type or storage class
xdr-nfs3.h:784: error: conflicting types for 'nextentry'
xdr-nfs3.h:738: error: previous declaration of 'nextentry' was here
xdr-nfs3.h:785: error: syntax error before '}' token
xdr-nfs3.h:822: error: syntax error before "size3"
xdr-nfs3.h:822: warning: no semicolon at end of struct or union
xdr-nfs3.h:823: warning: type defaults to `int' in declaration of `fbytes'
xdr-nfs3.h:823: warning: data definition has no type or storage class
xdr-nfs3.h:824: error: syntax error before "abytes"
xdr-nfs3.h:824: warning: type defaults to `int' in declaration of `abytes'
xdr-nfs3.h:824: warning: data definition has no type or storage class
xdr-nfs3.h:825: error: syntax error before "tfiles"
xdr-nfs3.h:825: warning: type defaults to `int' in declaration of `tfiles'
xdr-nfs3.h:825: warning: data definition has no type or storage class
xdr-nfs3.h:826: error: syntax error before "ffiles"
xdr-nfs3.h:826: warning: type defaults to `int' in declaration of `ffiles'
xdr-nfs3.h:826: warning: data definition has no type or storage class
xdr-nfs3.h:827: error: syntax error before "afiles"
xdr-nfs3.h:827: warning: type defaults to `int' in declaration of `afiles'
xdr-nfs3.h:827: warning: data definition has no type or storage class
xdr-nfs3.h:829: error: syntax error before '}' token
xdr-nfs3.h:840: error: field `resok' has incomplete type
xdr-nfs3.h:864: error: syntax error before "size3"
xdr-nfs3.h:864: warning: no semicolon at end of struct or union
xdr-nfs3.h:867: error: syntax error before '}' token
xdr-nfs3.h:878: error: field `resok' has incomplete type
xdr-nfs3.h:916: error: syntax error before "offset3"
xdr-nfs3.h:916: warning: no semicolon at end of struct or union
xdr-nfs3.h:918: error: syntax error before '}' token
xdr-nfs3.h:951: error: 'name' redeclared as different kind of symbol
xdr-nfs3.h:780: error: previous declaration of 'name' was here
xdr-nfs3.h:1056: error: syntax error before "uint64"
xdr-nfs3.h:1062: error: syntax error before "fileid3"
xdr-nfs3.h:1063: error: syntax error before "cookie3"
xdr-nfs3.h:1069: error: syntax error before "size3"
xdr-nfs3.h:1070: error: syntax error before "offset3"
*** Error code 1
make: Fatal error: Command failed for target `msg-nfs3.lo'
Current working directory /root/glusterfs/xlators/nfs/lib/src
*** Error code 1


Any clue...?


Rgds,
jo


More information about the Gluster-users mailing list