[Gluster-users] gfapi+ubuntu

Tamas Papp tompos at martos.bme.hu
Sat Dec 7 19:39:18 UTC 2013

On 12/07/2013 04:55 PM, Tamas Papp wrote:
> root at dev:/data/src/1/samba-glusterfs-vfs# gcc -o conftest -g -O2 
> -I/data/src/glusterfs-3.4.1/debian/tmp/usr//include/glusterfs 
> -L/data/src/glusterfs-3.4.1/debian/tmp/usr//lib
> -L/data/src/glusterfs-3.4.1/debian/tmp/usr//lib64
> -L/data/src/glusterfs-3.4.1/debian/tmp/usr//lib/x86_64-linux-gnu/
> -lgfapi -lglusterfs -lgfrpc -lgfxdr conftest.c
> /tmp/ccZLBZXJ.o: In function `main':
> /data/src/1/samba-glusterfs-vfs/conftest.c:52: undefined reference to
> `glfs_init'
> collect2: error: ld returned 1 exit status

I hacked configure to make this test anyway and now the it can be
compiled and installed successfully.

Unfortunately in samba log:

[2013/12/07 18:35:01.925122,  0] smbd/vfs.c:173(vfs_init_custom)
  error probing vfs module 'module': NT_STATUS_UNSUCCESSFUL
[2013/12/07 18:35:01.925207,  0] smbd/vfs.c:315(smbd_vfs_init)
  smbd_vfs_init: vfs_init_custom failed for module
[2013/12/07 18:35:01.925269,  0] smbd/service.c:902(make_connection_snum)
  vfs_init failed for service miko

I guess it's wrong because of the lack of glfs_init...


More information about the Gluster-users mailing list