Find the answer to your Linux question:
Results 1 to 6 of 6
how to compile dazuko for SuSE Enterprise Linux Server 11. I have tried different ways but not luck. Please help me. Thanks in advance!!! Nil...
  1. #1
    Just Joined!
    Join Date
    May 2009
    Posts
    6

    how to compile dazuko for SuSE Enterprise Linux Server 11

    how to compile dazuko for SuSE Enterprise Linux Server 11.
    I have tried different ways but not luck.
    Please help me. Thanks in advance!!!
    Nil

  2. #2
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    Error messages?

    This appears to be a device driver so you would need the kernel-source package. Is that installed?

  3. #3
    Just Joined!
    Join Date
    May 2009
    Posts
    6
    i tried following ways:
    case1:

    $ tar xzf redirfs-0.6.tar.gz
    $ cd redirfs-0.6
    $ make -C /lib/modules/`uname -r`/build M=`pwd` modules
    $ sudo make -C /lib/modules/`uname -r`/build M=`pwd` modules_install
    $ cd ..

    $ tar xzf dazuko-2.3.6.tar.gz
    $ cd dazuko-2.3.6
    $ ./configure --redirfsdir=`pwd`/../redirfs-0.6
    $ make
    $ sudo make install

    here i get successfully compile the dazuko but while testing dazuko the error ==> FATAL: Module commoncap not found.


    Case 2:
    When try with the same dazuko source used on SuSE10 which was working fine with apparmor on SuSE10 :

    ./configure --disable-local-dpath --enable-syscalls --mapfile=/boot/System.map-2.6.27.19-5-pae

    make

    the error ====>
    make -C /lib/modules/2.6.27.19-5-pae/build SUBDIRS="/root/dazuko-2.3.6" modules
    make[1]: Entering directory `/usr/src/linux-2.6.27.19-5-obj/i386/pae'
    make -C ../../../linux-2.6.27.19-5 O=/usr/src/linux-2.6.27.19-5-obj/i386/pae/. modules
    CC [M] /root/dazuko-2.3.6/dazuko_core.o
    CC [M] /root/dazuko-2.3.6/dazuko_transport.o
    CC [M] /root/dazuko-2.3.6/dazuko_linux.o
    /root/dazuko-2.3.6/dazuko_linux.c:90: error: conflicting types for ‘__d_path’
    /usr/src/linux-2.6.27.19-5/include/linux/dcache.h:306: error: previous declaration of ‘__d_path’ was here
    /root/dazuko-2.3.6/dazuko_linux.c: In function ‘dazuko_get_files_struct’:
    /root/dazuko-2.3.6/dazuko_linux.c:569: error: dereferencing pointer to incomplete type
    /root/dazuko-2.3.6/dazuko_linux.c: In function ‘dazuko_put_files_struct’:
    /root/dazuko-2.3.6/dazuko_linux.c:581: error: implicit declaration of function ‘put_files_struct’
    /root/dazuko-2.3.6/dazuko_linux.c: In function ‘dazuko_get_filename_dentry’:
    /root/dazuko-2.3.6/dazuko_linux.c:655: error: ‘struct nameidata’ has no member named ‘dentry’
    /root/dazuko-2.3.6/dazuko_linux.c: In function ‘dazuko_fcheck_files’:
    /root/dazuko-2.3.6/dazuko_linux.c:706: error: dereferencing pointer to incomplete type
    /root/dazuko-2.3.6/dazuko_linux.c:717: error: implicit declaration of function ‘files_fdtable’


    My kernel :
    Linux linux-SuSE11 2.6.27.19-5-pae #1 SMP 2009-02-28 04:40:21 +0100 i686 i686 i386 GNU/Linux
    One more thing... does dazuko supports for kernel 2.6.27????

  4. #4
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    It looks like dazuko is no longer supported. There is a spin off project called dazukofs that seems to be more current. Might look at that.

    http://dazuko.dnsalias.org/files/README-dazukofs

  5. #5
    Just Joined!
    Join Date
    May 2009
    Posts
    6
    Quote Originally Posted by gogalthorp View Post
    It looks like dazuko is no longer supported. There is a spin off project called dazukofs that seems to be more current. Might look at that.
    ...

    yes i was doing same but these dazukofs cannot compile on this machine.
    i got error as below


    linux-SuSE11:~/dazukofs-3.1.2 # make
    make -C /lib/modules/`uname -r`/build SUBDIRS="`pwd`" modules
    make[1]: Entering directory `/usr/src/linux-2.6.27.19-5-obj/i386/pae'
    make -C /usr/src/linux-2.6.27.19-5 O=/usr/src/linux-2.6.27.19-5-obj/i386/pae/. modules
    CC [M] /root/dazukofs-3.1.2/super.o
    CC [M] /root/dazukofs-3.1.2/inode.o
    /root/dazukofs-3.1.2/inode.c: In function ‘dazukofs_mknod’:
    /root/dazukofs-3.1.2/inode.c:239: warning: passing argument 3 of ‘vfs_mknod’ makes pointer from integer without a cast
    /root/dazukofs-3.1.2/inode.c:239: error: too few arguments to function ‘vfs_mknod’
    /root/dazukofs-3.1.2/inode.c: In function ‘dazukofs_mkdir’:
    /root/dazukofs-3.1.2/inode.c:270: warning: passing argument 3 of ‘vfs_mkdir’ makes pointer from integer without a cast
    /root/dazukofs-3.1.2/inode.c:270: error: too few arguments to function ‘vfs_mkdir’
    /root/dazukofs-3.1.2/inode.c: In function ‘dazukofs_symlink’:
    /root/dazukofs-3.1.2/inode.c:353: warning: passing argument 3 of ‘vfs_symlink’ from incompatible pointer type
    /root/dazukofs-3.1.2/inode.c:353: error: too few arguments to function ‘vfs_symlink’
    /root/dazukofs-3.1.2/inode.c: In function ‘dazukofs_setattr’:
    /root/dazukofs-3.1.2/inode.c:487: warning: passing argument 2 of ‘notify_change’ from incompatible pointer type
    /root/dazukofs-3.1.2/inode.c:487: error: too few arguments to function ‘notify_change’
    /root/dazukofs-3.1.2/inode.c: In function ‘dazukofs_link’:
    /root/dazukofs-3.1.2/inode.c:630: warning: passing argument 2 of ‘vfs_link’ from incompatible pointer type
    /root/dazukofs-3.1.2/inode.c:630: warning: passing argument 3 of ‘vfs_link’ from incompatible pointer type
    /root/dazukofs-3.1.2/inode.c:630: error: too few arguments to function ‘vfs_link’
    /root/dazukofs-3.1.2/inode.c: In function ‘dazukofs_unlink’:
    /root/dazukofs-3.1.2/inode.c:660: error: too few arguments to function ‘vfs_unlink’
    /root/dazukofs-3.1.2/inode.c: In function ‘dazukofs_rmdir’:
    /root/dazukofs-3.1.2/inode.c:688: error: too few arguments to function ‘vfs_rmdir’
    /root/dazukofs-3.1.2/inode.c: In function ‘dazukofs_rename’:
    /root/dazukofs-3.1.2/inode.c:734: warning: passing argument 3 of ‘vfs_rename’ from incompatible pointer type
    /root/dazukofs-3.1.2/inode.c:734: warning: passing argument 4 of ‘vfs_rename’ from incompatible pointer type
    /root/dazukofs-3.1.2/inode.c:734: error: too few arguments to function ‘vfs_rename’
    make[4]: *** [/root/dazukofs-3.1.2/inode.o] Error 1
    make[3]: *** [_module_/root/dazukofs-3.1.2] Error 2
    make[2]: *** [sub-make] Error 2
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.27.19-5-obj/i386/pae'
    make: *** [dazukofs_modules] Error 2
    linux-SuSE11:~/dazukofs-3.1.2 #

  6. #6
    Linux Guru gogalthorp's Avatar
    Join Date
    Oct 2006
    Location
    West (by God) Virginia
    Posts
    3,105
    First be sure you have the latest version. If that does not work join the mail list for the project and report your problem there. The project is at

    Main Page - Dazuko

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...