gluster-devel
[Top][All Lists]
Advanced

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

[Gluster-devel] compilation problems


From: Stephan von Krawczynski
Subject: [Gluster-devel] compilation problems
Date: Fri, 19 Mar 2010 12:57:18 +0100

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]