glusterfs & cygwin

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

 



Hello !

feeling encourad by "GlusterFS server can run on any POSIX compliant OS.", i tried compiling glusterfs server component on cygwin (which provides posix on windows), but it failed with:

gcc -DPACKAGE_NAME=\"glusterfs\" -DPACKAGE_TARNAME=\"glusterfs\" -DPACKAGE_VERS
ION=\"1.3.7\" "-DPACKAGE_STRING=\"glusterfs 1.3.7\"" -DPACKAGE_BUGREPORT=\"glust
erfs-support@xxxxxxxxxxxxx\" -DPACKAGE=\"glusterfs\" -DVERSION=\"1.3.7\" -DSTDC_
HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRI
NG_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=
1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_LIBPTHREAD=1 -DHAVE_MALLOC_STATS=1 -
DHAVE_TV_NSEC=1 -DHAVE_FDATASYNC=1 -I. -I. -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-DXLATORDIR=\"/usr/local/lib/glusterfs/1.3.7/xlator\" -DSCHEDULERDIR=\"/usr/loca
l/lib/glusterfs/1.3.7/scheduler\" -DTRANSPORTDIR=\"/usr/local/lib/glusterfs/1.3.
7/transport\" -DYY_NO_UNPUT -fPIC -Wall -g -shared -nostartfiles -rdynamic -g -O
2 -c dict.c -DPIC -o .libs/libglusterfs_la-dict.o
gcc: unrecognized option `-rdynamic'
dict.c:1: warning: -fPIC ignored for target (all code is position independent)
In file included from dict.c:26:
common-utils.h:53: error: parse error before "gf_resolve_ip"
common-utils.h:53: warning: type defaults to `int' in declaration of `gf_resolve
_ip'
common-utils.h:53: warning: data definition has no type or storage class
common-utils.h:68: error: parse error before "gf_lock_t"
common-utils.h:68: warning: type defaults to `int' in declaration of `gf_lock_t'
common-utils.h:68: warning: data definition has no type or storage class
In file included from protocol.h:41,
from dict.c:27:
dict.h:41: error: parse error before "gf_lock_t"
dict.h:41: warning: no semicolon at end of struct or union
dict.h:61: error: parse error before "gf_lock_t"
dict.h:61: warning: no semicolon at end of struct or union
In file included from xlator.h:61,
from transport.h:30,
from protocol.h:46,
from dict.c:27:
stack.h:49: error: parse error before "gf_lock_t"
stack.h:49: warning: no semicolon at end of struct or union
stack.h:51: error: parse error before '}' token
stack.h:62: error: parse error before "gf_lock_t"
stack.h:62: warning: no semicolon at end of struct or union
stack.h:66: error: parse error before '}' token
stack.h:77: error: field `frames' has incomplete type
stack.h: In function `FRAME_DESTROY':
stack.h:85: error: dereferencing pointer to incomplete type
stack.h:86: error: dereferencing pointer to incomplete type
stack.h:86: error: dereferencing pointer to incomplete type
stack.h:87: error: dereferencing pointer to incomplete type
stack.h:88: error: dereferencing pointer to incomplete type
stack.h:88: error: dereferencing pointer to incomplete type
stack.h:89: error: dereferencing pointer to incomplete type
stack.h:90: error: dereferencing pointer to incomplete type
stack.h:91: warning: implicit declaration of function `pthread_spin_destroy'
stack.h:91: error: dereferencing pointer to incomplete type
stack.h: In function `STACK_DESTROY':
stack.h:98: warning: implicit declaration of function `pthread_spin_lock'
stack.h:98: error: dereferencing pointer to incomplete type
stack.h:100: warning: implicit declaration of function `pthread_spin_unlock'
stack.h:100: error: dereferencing pointer to incomplete type
stack.h: In function `copy_frame':


did anybody try building glusterfs on cygwin ?

regards
roland
_____________________________________________________________________
Unbegrenzter Speicherplatz für Ihr E-Mail Postfach? Jetzt aktivieren!
http://www.digitaledienste.web.de/freemail/club/lp/?lp=7





[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