Advertisement
Guest User

Attempted Build GlusterFS 3.3.1 on Solaris 11.1 gcc 4.5.2

a guest
Dec 31st, 2012
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.43 KB | None | 0 0
  1. root@stor04:~/glusterfs/glusterfs-3.3.1# gcc --version
  2. gcc (GCC) 4.5.2
  3. Copyright (C) 2010 Free Software Foundation, Inc.
  4. This is free software; see the source for copying conditions. There is NO
  5. warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  6.  
  7. root@stor04:~/glusterfs/glusterfs-3.3.1# /usr/gnu/bin/make CFLAGS="-g -O0 -m64"
  8. /usr/gnu/bin/make --no-print-directory --quiet all-recursive
  9. Making all in argp-standalone
  10. Making all in .
  11. Making all in libglusterfs
  12. Making all in src
  13. Making all in rpc
  14. Making all in rpc-lib
  15. Making all in src
  16. Making all in rpc-transport
  17. Making all in socket
  18. Making all in src
  19. Making all in xdr
  20. Making all in src
  21. gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../libglusterfs/src -I../../../contrib/uuid -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64 -D_GNU_SOURCE -DGF_SOLARIS_HOST_OS -I../../../libglusterfs/src -I../../../rpc/rpc-lib/src -fPIC -Wall -g -shared -nostartfiles -I../../../argp-standalone -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O0 -m64 -g -O0 -m64 -MT libgfxdr_la-nlm4-xdr.lo -MD -MP -MF .deps/libgfxdr_la-nlm4-xdr.Tpo -c nlm4-xdr.c -fPIC -DPIC -o .libs/libgfxdr_la-nlm4-xdr.o
  22. In file included from nlm4-xdr.c:25:0:
  23. nlm4-xdr.h:43:0: warning: "MAXNAMELEN" redefined
  24. /usr/include/sys/param.h:182:0: note: this is the location of the previous definition
  25. nlm4-xdr.h:95:2: error: expected specifier-qualifier-list before 'u_int32_t'
  26. nlm4-xdr.h:106:2: error: expected specifier-qualifier-list before 'u_int32_t'
  27. nlm4-xdr.h:188:9: error: expected specifier-qualifier-list before 'u_int32_t'
  28. nlm4-xdr.c: In function 'xdr_nlm4_holder':
  29. nlm4-xdr.c:72:33: error: 'nlm4_holder' has no member named 'svid'
  30. nlm4-xdr.c:74:31: error: 'nlm4_holder' has no member named 'oh'
  31. nlm4-xdr.c:76:33: error: 'nlm4_holder' has no member named 'l_offset'
  32. nlm4-xdr.c:78:33: error: 'nlm4_holder' has no member named 'l_len'
  33. nlm4-xdr.c: In function 'xdr_nlm4_lock':
  34. nlm4-xdr.c:92:33: error: 'nlm4_lock' has no member named 'svid'
  35. nlm4-xdr.c:94:33: error: 'nlm4_lock' has no member named 'l_offset'
  36. nlm4-xdr.c:96:33: error: 'nlm4_lock' has no member named 'l_len'
  37. nlm4-xdr.c: In function 'xdr_nlm4_freeallargs':
  38. nlm4-xdr.c:236:39: error: 'nlm4_freeallargs' has no member named 'state'
  39. make[4]: *** [libgfxdr_la-nlm4-xdr.lo] Error 1
  40. make[3]: *** [all-recursive] Error 1
  41. make[2]: *** [all-recursive] Error 1
  42. make[1]: *** [all-recursive] Error 1
  43. make: *** [all] Error 2
  44. root@stor04:~/glusterfs/glusterfs-3.3.1#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement