Re: trouble compiling

Lino Sanfilippo <[email protected]> Tue, 28 Apr 2009 10:33:50 +0200
Newsgroups gmane.linux.dazuko.devel
Message-ID <[email protected]>
engage schrieb:
> [engage@dell600m dazukofs-3.0.0]$ su -c "patch -p1 < patches/patch-linux-2.6.24"
> Password:
> patching file ctrl_dev.c
> patching file dentry.c
> patching file group_dev.c
> patching file ign_dev.c
> patching file inode.c
> patching file super.c
> [engage@dell600m dazukofs-3.0.0]$ make
> make -C /lib/modules/`uname -r`/build SUBDIRS="`pwd`" modules
> make[1]: Entering directory `/usr/src/linux-2.6.24.7-laptop-2mnb'
>   CC [M]  /home/engage/tar/dazukofs-3.0.0/super.o
>   CC [M]  /home/engage/tar/dazukofs-3.0.0/inode.o
> /home/engage/tar/dazukofs-3.0.0/inode.c: In function ‘dazukofs_interpose’:
> /home/engage/tar/dazukofs-3.0.0/inode.c:125: error: too many arguments to function ‘fsstack_copy_attr_all’
> /home/engage/tar/dazukofs-3.0.0/inode.c: In function ‘dazukofs_mknod’:
> /home/engage/tar/dazukofs-3.0.0/inode.c:226: warning: passing argument 3 of ‘vfs_mknod’ makes pointer from integer without a cast
> /home/engage/tar/dazukofs-3.0.0/inode.c:226: error: too few arguments to function ‘vfs_mknod’
> /home/engage/tar/dazukofs-3.0.0/inode.c: In function ‘dazukofs_mkdir’:
> /home/engage/tar/dazukofs-3.0.0/inode.c:258: warning: passing argument 3 of ‘vfs_mkdir’ makes pointer from integer without a cast
> /home/engage/tar/dazukofs-3.0.0/inode.c:258: error: too few arguments to function ‘vfs_mkdir’
> /home/engage/tar/dazukofs-3.0.0/inode.c: In function ‘dazukofs_symlink’:
> /home/engage/tar/dazukofs-3.0.0/inode.c:344: warning: passing argument 3 of ‘vfs_symlink’ from incompatible pointer type
> /home/engage/tar/dazukofs-3.0.0/inode.c:344: warning: passing argument 4 of ‘vfs_symlink’ makes pointer from integer without a cast
> /home/engage/tar/dazukofs-3.0.0/inode.c:344: error: too few arguments to function ‘vfs_symlink’
> /home/engage/tar/dazukofs-3.0.0/inode.c: In function ‘dazukofs_setattr’:
> /home/engage/tar/dazukofs-3.0.0/inode.c:500: warning: passing argument 2 of ‘notify_change’ from incompatible pointer type
> /home/engage/tar/dazukofs-3.0.0/inode.c:500: error: too few arguments to function ‘notify_change’
> /home/engage/tar/dazukofs-3.0.0/inode.c:502: error: too many arguments to function ‘fsstack_copy_attr_all’
> /home/engage/tar/dazukofs-3.0.0/inode.c: In function ‘dazukofs_setxattr’:
> /home/engage/tar/dazukofs-3.0.0/inode.c:535: error: too many arguments to function ‘fsstack_copy_attr_all’
> /home/engage/tar/dazukofs-3.0.0/inode.c: In function ‘dazukofs_link’:
> /home/engage/tar/dazukofs-3.0.0/inode.c:643: warning: passing argument 2 of ‘vfs_link’ from incompatible pointer type
> /home/engage/tar/dazukofs-3.0.0/inode.c:643: warning: passing argument 3 of ‘vfs_link’ from incompatible pointer type
> /home/engage/tar/dazukofs-3.0.0/inode.c:643: error: too few arguments to function ‘vfs_link’
> /home/engage/tar/dazukofs-3.0.0/inode.c: In function ‘dazukofs_unlink’:
> /home/engage/tar/dazukofs-3.0.0/inode.c:674: error: too few arguments to function ‘vfs_unlink’
> /home/engage/tar/dazukofs-3.0.0/inode.c: In function ‘dazukofs_rmdir’:
> /home/engage/tar/dazukofs-3.0.0/inode.c:703: error: too few arguments to function ‘vfs_rmdir’
> /home/engage/tar/dazukofs-3.0.0/inode.c: In function ‘dazukofs_rename’:
> /home/engage/tar/dazukofs-3.0.0/inode.c:750: warning: passing argument 3 of ‘vfs_rename’ from incompatible pointer type
> /home/engage/tar/dazukofs-3.0.0/inode.c:750: warning: passing argument 4 of ‘vfs_rename’ from incompatible pointer type
> /home/engage/tar/dazukofs-3.0.0/inode.c:750: error: too few arguments to function ‘vfs_rename’
> /home/engage/tar/dazukofs-3.0.0/inode.c:756: error: too many arguments to function ‘fsstack_copy_attr_all’
> /home/engage/tar/dazukofs-3.0.0/inode.c:759: error: too many arguments to function ‘fsstack_copy_attr_all’
> make[2]: *** [/home/engage/tar/dazukofs-3.0.0/inode.o] Error 1
> make[1]: *** [_module_/home/engage/tar/dazukofs-3.0.0] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.24.7-laptop-2mnb'
> make: *** [dazukofs_modules] Error 2
>
>
> _______________________________________________
> Dazuko-devel mailing list
> [email protected]
> http://lists.nongnu.org/mailman/listinfo/dazuko-devel
>
>   
This patch is only for vanilla kernel 2.6.24. Which distribution are using?




Geschäftsführender Gesellschafter: Tjark Auerbach
Sitz der Gesellschaft: Tettnang
Handelsregister: Amtsgericht Ulm, HRB 630992
ALLGEMEINE GESCHÄFTSBEDINGUNGEN
Es gelten unsere Allgemeinen Geschäftsbedingungen
(AGB). Sie finden sie in der jeweils gültigen Fassung
im Internet unter http://www.avira.de/agb
***************************************************