Hide Forgot
Solaris compilation failed with following error message: make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/export/home/gluster/laks/glusterfs-3.0.5rc5/scheduler/rr' make[3]: Leaving directory `/export/home/gluster/laks/glusterfs-3.0.5rc5/scheduler/rr' Making all in switch make[3]: Entering directory `/export/home/gluster/laks/glusterfs-3.0.5rc5/scheduler/switch' Making all in src make[4]: Entering directory `/export/home/gluster/laks/glusterfs-3.0.5rc5/scheduler/switch/src' source='switch.c' object='switch.lo' libtool=yes \ DEPDIR=.deps depmode=none /bin/bash ../../../depcomp \ /bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -DGF_SOLARIS_HOST_OS -I../../../libglusterfs/src -shared -nostartfiles -I../../../argp-standalone -D_REENTRANT -g -O2 -c -o switch.lo switch.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -DGF_SOLARIS_HOST_OS -I../../../libglusterfs/src -nostartfiles -I../../../argp-standalone -D_REENTRANT -g -O2 -c switch.c -fPIC -DPIC -o .libs/switch.o /bin/bash ../../../libtool --tag=CC --mode=link gcc -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -DGF_SOLARIS_HOST_OS -I../../../libglusterfs/src -shared -nostartfiles -I../../../argp-standalone -D_REENTRANT -g -O2 -module -avoidversion -o switch.la -rpath /export/home/gluster/laks/3.0.5rc5/lib/glusterfs/3.0.5rc5/scheduler switch.lo ../../../libglusterfs/src/libglusterfs.la -lpthread libtool: link: gcc -shared -Wl,-z -Wl,text -Wl,-h -Wl,switch.so.0 -o .libs/switch.so.0.0.0 .libs/switch.o -R/export/home/gluster/laks/glusterfs-3.0.5rc5/libglusterfs/src/.libs -R/export/home/gluster/laks/3.0.5rc5/lib ../../../libglusterfs/src/.libs/libglusterfs.so -lfl -lpthread -lc libtool: link: (cd ".libs" && rm -f "switch.so.0" && ln -s "switch.so.0.0.0" "switch.so.0") libtool: link: (cd ".libs" && rm -f "switch.so" && ln -s "switch.so.0.0.0" "switch.so") libtool: link: ( cd ".libs" && rm -f "switch.la" && ln -s "../switch.la" "switch.la" ) make[4]: Leaving directory `/export/home/gluster/laks/glusterfs-3.0.5rc5/scheduler/switch/src' make[4]: Entering directory `/export/home/gluster/laks/glusterfs-3.0.5rc5/scheduler/switch' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/export/home/gluster/laks/glusterfs-3.0.5rc5/scheduler/switch' make[3]: Leaving directory `/export/home/gluster/laks/glusterfs-3.0.5rc5/scheduler/switch' make[3]: Entering directory `/export/home/gluster/laks/glusterfs-3.0.5rc5/scheduler' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/export/home/gluster/laks/glusterfs-3.0.5rc5/scheduler' make[2]: Leaving directory `/export/home/gluster/laks/glusterfs-3.0.5rc5/scheduler' Making all in transport make[2]: Entering directory `/export/home/gluster/laks/glusterfs-3.0.5rc5/transport' Making all in socket make[3]: Entering directory `/export/home/gluster/laks/glusterfs-3.0.5rc5/transport/socket' Making all in src make[4]: Entering directory `/export/home/gluster/laks/glusterfs-3.0.5rc5/transport/socket/src' source='socket.c' object='socket.lo' libtool=yes \ DEPDIR=.deps depmode=none /bin/bash ../../../depcomp \ /bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -DGF_SOLARIS_HOST_OS -I../../../libglusterfs/src -shared -nostartfiles -I../../../argp-standalone -D_REENTRANT -g -O2 -c -o socket.lo socket.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wall -DGF_SOLARIS_HOST_OS -I../../../libglusterfs/src -nostartfiles -I../../../argp-standalone -D_REENTRANT -g -O2 -c socket.c -fPIC -DPIC -o .libs/socket.o socket.c: In function `__socket_keepalive': socket.c:268: error: `TCP_KEEPIDLE' undeclared (first use in this function) socket.c:268: error: (Each undeclared identifier is reported only once socket.c:268: error: for each function it appears in.) socket.c:273: error: `TCP_KEEPINTVL' undeclared (first use in this function) socket.c: In function `__socket_ioq_new': socket.c:354: warning: assignment from incompatible pointer type socket.c: In function `__socket_proto_validate_header': socket.c:536: warning: long unsigned int format, size_t arg (arg 2) socket.c:543: warning: long unsigned int format, size_t arg (arg 2) socket.c: In function `__socket_proto_state_machine': socket.c:594: warning: assignment from incompatible pointer type socket.c: In function `socket_init': socket.c:1440: warning: long unsigned int format, unsigned int arg (arg 2) make[4]: *** [socket.lo] Error 1 make[4]: Leaving directory `/export/home/gluster/laks/glusterfs-3.0.5rc5/transport/socket/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/export/home/gluster/laks/glusterfs-3.0.5rc5/transport/socket' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/export/home/gluster/laks/glusterfs-3.0.5rc5/transport' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export/home/gluster/laks/glusterfs-3.0.5rc5' make: *** [all] Error 2 #
PATCH: http://patches.gluster.com/patch/3396 in master (Fix compilation failure on Solaris in __socket_keepalive())
PATCH: http://patches.gluster.com/patch/3394 in release-3.0 (Fix compilation failure on Solaris in __socket_keepalive())
It's fixed - verified with 3.0.5rc6.
Re-opened to track latest solaris build failures. Target changed to 3.1
There was already a bug open for solaris buoild failures: 1178