[Gluster-devel] 3.1.0 compile fails

Bernard Li bernard at vanhpc.org
Tue Nov 2 15:43:26 UTC 2010


Hi Stephan:

What distro are you trying to build on?

Cheers,

Bernard

On Tue, Nov 2, 2010 at 3:04 AM, Stephan von Krawczynski
<skraw at ithnet.com> wrote:
> Hello all,
>
> I am trying to compile the archive glusterfs-3.1.0.tar.gz on some 32 bit linux box for use as a client.
> First of all I get lots of these warnings during compilation:
>
> ../../libglusterfs/src/dict.h:177: warning: `warn_unused_result' attribute directive ignored
> ../../libglusterfs/src/dict.h:179: warning: `warn_unused_result' attribute directive ignored
> ../../libglusterfs/src/dict.h:180: warning: `warn_unused_result' attribute directive ignored
> ../../libglusterfs/src/dict.h:181: warning: `warn_unused_result' attribute directive ignored
> ../../libglusterfs/src/dict.h:183: warning: `warn_unused_result' attribute directive ignored
> ../../libglusterfs/src/dict.h:184: warning: `warn_unused_result' attribute directive ignored
> ../../libglusterfs/src/dict.h:185: warning: `warn_unused_result' attribute directive ignored
> ../../libglusterfs/src/dict.h:186: warning: `warn_unused_result' attribute directive ignored
> ../../libglusterfs/src/dict.h:188: warning: `warn_unused_result' attribute directive ignored
>
> And then, in the end this one:
>
> /bin/sh ../../libtool --tag=CC --mode=link gcc -fPIC -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DGF_LINUX_HOST_OS -I../../libglusterfs/src -DDATADIR=\"/usr/local/var\" -DCONFDIR=\"/usr/local/etc/glusterfs\" -O0 -I../../rpc/rpc-lib/src -I../../rpc/xdr/src  -g -O2   -o glusterfsd -rdynamic  glusterfsd.o glusterfsd-mgmt.o  ../../libglusterfs/src/libglusterfs.la ../../rpc/rpc-lib/src/libgfrpc.la ../../rpc/xdr/src/libgfxdr.la  -ldl -lpthread
>
> *** Warning: Linking the executable glusterfsd against the loadable module
> *** libgfrpc.so is not portable!
> libtool: link: gcc -fPIC -Wall -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DGF_LINUX_HOST_OS -I../../libglusterfs/src -DDATADIR=\"/usr/local/var\" -DCONFDIR=\"/usr/local/etc/glusterfs\" -O0 -I../../rpc/rpc-lib/src -I../../rpc/xdr/src -g -O2 -o .libs/glusterfsd -rdynamic glusterfsd.o glusterfsd-mgmt.o  ../../libglusterfs/src/.libs/libglusterfs.so ../../rpc/rpc-lib/src/.libs/libgfrpc.so ../../rpc/xdr/src/.libs/libgfxdr.so -ldl -lpthread
> ../../rpc/xdr/src/.libs/libgfxdr.so: undefined reference to `xdr_quad_t'
> ../../rpc/rpc-lib/src/.libs/libgfrpc.so: undefined reference to `xdr_u_quad_t'
> collect2: ld returned 1 exit status
> make[3]: *** [glusterfsd] Error 1
> make[3]: Leaving directory `/usr/src/packages/SOURCES/glusterfs-3.1.0/glusterfsd/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/src/packages/SOURCES/glusterfs-3.1.0/glusterfsd'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/packages/SOURCES/glusterfs-3.1.0'
> make: *** [all] Error 2
>
> Is there some simple way to make this work?
>
> --
> Regards,
> Stephan
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>




More information about the Gluster-devel mailing list