compilation problems

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

 



Hello,

we tried to compile glusterfs on an older linux distribution and ended up with the following problems:

../../libglusterfs/src/dict.h:144: warning: `warn_unused_result' attribute directive ignored
../../libglusterfs/src/dict.h:148: warning: `warn_unused_result' attribute directive ignored
../../libglusterfs/src/dict.h:149: warning: `warn_unused_result' attribute directive ignored
../../libglusterfs/src/dict.h:151: warning: `warn_unused_result' attribute directive ignored
../../libglusterfs/src/dict.h:152: warning: `warn_unused_result' attribute directive ignored
../../libglusterfs/src/dict.h:154: warning: `warn_unused_result' attribute directive ignored
../../libglusterfs/src/dict.h:155: warning: `warn_unused_result' attribute directive ignored
(rest deleted)


libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../../libglusterfsclient/src -I../../libglusterfs/src -DDATADIR=\"/usr/local/var\" -DCONFDIR=\"/usr/local/etc/glusterfs\" -I../../libglusterfsclient/src/ -D_GNU_SOURCE -DGF_LINUX_HOST_OS -fPIC -Wall -pthread -nostartfiles -g -O2 -MT libglusterfs_booster_la-booster.lo -MD -MP -MF .deps/libglusterfs_booster_la-booster.Tpo -c booster.c  -fPIC -DPIC -o .libs/libglusterfs_booster_la-booster.o
booster.c:518: error: parse error before "__nonnull"
booster.c:520: error: parse error before "__nonnull"
booster.c:600: error: parse error before "__nonnull"
booster.c:1620: error: parse error before "__nonnull"
booster.c:1622: error: parse error before "__nonnull"
booster.c:1690: error: parse error before "__nonnull"
booster.c:1693: error: parse error before "__nonnull"
make[3]: *** [libglusterfs_booster_la-booster.lo] Error 1


Is there a way around these problems or is the installation too old for using glusterfs?
(kernel btw is 2.6.33) 

-- 
Regards,
Stephan





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

  Powered by Linux