patch-596 had a rewrite of byte-order.h Please try with the latest tla revision to see if the problem still persists.
avati
Folks,
dropped exattr.h into place on OpenBSD 5.X, re-ran the ./configure and make - this time against glusterfs-1.4.0pre9
New error output attached.
At least it is no longer kvetching about fgetxattr
;-)
Bill Hacker
GlusterFS configure summary
===========================
FUSE client : no
Infiniband verbs : no
epoll IO multiplex : no
Berkeley-DB : no
libglusterfsclient : no
mod_glusterfs : no
argp-standalone : yes
# make
make all-recursive
Making all in argp-standalone
make all-recursive
Making all in .
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -ggdb3 -Wall -W
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
-Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT
argp-eexst.o -MD -MP -MF ".deps/argp-eexst.Tpo" -c -o argp-eexst.o
argp-eexst.c; then mv -f ".deps/argp-eexst.Tpo" ".deps/argp-eexst.Po"; else
rm -f ".deps/argp-eexst.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -ggdb3 -Wall -W
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
-Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT
argp-fmtstream.o -MD -MP -MF ".deps/argp-fmtstream.Tpo" -c -o
argp-fmtstream.o argp-fmtstream.c; then mv -f ".deps/argp-fmtstream.Tpo"
".deps/argp-fmtstream.Po"; else rm -f ".deps/argp-fmtstream.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -ggdb3 -Wall -W
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
-Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT
argp-help.o -MD -MP -MF ".deps/argp-help.Tpo" -c -o argp-help.o argp-help.c;
then mv -f ".deps/argp-help.Tpo" ".deps/argp-help.Po"; else rm -f
".deps/argp-help.Tpo"; exit 1; fi
In file included from argp-help.c:52:
/usr/include/malloc.h:4:2: warning: #warning "<malloc.h> is obsolete, use
<stdlib.h>"
argp-help.c:1739:4: warning: #warning No reasonable value to return
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -ggdb3 -Wall -W
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
-Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT
argp-parse.o -MD -MP -MF ".deps/argp-parse.Tpo" -c -o argp-parse.o
argp-parse.c; then mv -f ".deps/argp-parse.Tpo" ".deps/argp-parse.Po"; else
rm -f ".deps/argp-parse.Tpo"; exit 1; fi
In file included from argp-parse.c:54:
/usr/include/malloc.h:4:2: warning: #warning "<malloc.h> is obsolete, use
<stdlib.h>"
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -ggdb3 -Wall -W
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
-Waggregate-return -Wpointer-arith -Wbad-function-cast -Wnested-externs -MT
argp-pvh.o -MD -MP -MF ".deps/argp-pvh.Tpo" -c -o argp-pvh.o argp-pvh.c;
then mv -f ".deps/argp-pvh.Tpo" ".deps/argp-pvh.Po"; else rm -f
".deps/argp-pvh.Tpo"; exit 1; fi
rm -f libargp.a
ar cru libargp.a argp-ba.o argp-eexst.o argp-fmtstream.o argp-help.o
argp-parse.o argp-pv.o argp-pvh.o mempcpy.o strndup.o strchrnul.o
ranlib libargp.a
Making all in libglusterfs
Making all in src
if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../.. -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64 -D_GNU_SOURCE
-DXLATORDIR=\"/usr/lib/glusterfs/1.4.0pre9/xlator\"
-DSCHEDULERDIR=\"/usr/lib/glusterfs/1.4.0pre9/scheduler\"
-DTRANSPORTDIR=\"/usr/lib/glusterfs/1.4.0pre9/transport\" -DGF_BSD_HOST_OS
-DLIBDIR=\"/usr/lib/glusterfs/1.4.0pre9/auth\" -fPIC -Wall -g -shared
-nostartfiles -I../../argp-standalone -g -O2 -MT libglusterfs_la-dict.lo
-MD -MP -MF ".deps/libglusterfs_la-dict.Tpo" -c -o libglusterfs_la-dict.lo
`test -f 'dict.c' || echo './'`dict.c; then mv -f
".deps/libglusterfs_la-dict.Tpo" ".deps/libglusterfs_la-dict.Plo"; else rm
-f ".deps/libglusterfs_la-dict.Tpo"; exit 1; fi
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_FILE_OFFSET_BITS=64
-D__USE_FILE_OFFSET64 -D_GNU_SOURCE
-DXLATORDIR=\"/usr/lib/glusterfs/1.4.0pre9/xlator\"
-DSCHEDULERDIR=\"/usr/lib/glusterfs/1.4.0pre9/scheduler\"
-DTRANSPORTDIR=\"/usr/lib/glusterfs/1.4.0pre9/transport\" -DGF_BSD_HOST_OS
-DLIBDIR=\"/usr/lib/glusterfs/1.4.0pre9/auth\" -fPIC -Wall -g -shared
-nostartfiles -I../../argp-standalone -g -O2 -MT libglusterfs_la-dict.lo -MD
-MP -MF .deps/libglusterfs_la-dict.Tpo -c dict.c -fPIC -DPIC -o
.libs/libglusterfs_la-dict.o
In file included from dict.c:35:
compat.h:278:1: warning: "ALIGN" redefined
In file included from /usr/include/sys/param.h:95,
from /usr/include/arpa/inet.h:64,
from glusterfs.h:41,
from common-utils.h:44,
from dict.c:31:
/usr/include/machine/param.h:67:1: warning: this is the location of the
/previous definition
In file included from dict.c:36:
byte-order.h:46: error: syntax error before "__extension__"
byte-order.h:46: error: syntax error before '?' token
In file included from dict.c:36:
byte-order.h:20:1: unterminated #ifndef
*** Error code 1
Stop in /usr/local/src/glusterfs-1.4.0pre9/libglusterfs/src (line 345 of
Makefile).
*** Error code 1
Stop in /usr/local/src/glusterfs-1.4.0pre9/libglusterfs (line 267 of
Makefile).
*** Error code 1
Stop in /usr/local/src/glusterfs-1.4.0pre9 (line 308 of Makefile).
*** Error code 1
Stop in /usr/local/src/glusterfs-1.4.0pre9 (line 213 of Makefile).
#
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxx
http://lists.nongnu.org/mailman/listinfo/gluster-devel
--
If I traveled to the end of the rainbow
As Dame Fortune did intend,
Murphy would be there to tell me
The pot's at the other end.