dazuko-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Dazuko-help] 2.6.34


From: Frans de Boer
Subject: Re: [Dazuko-help] 2.6.34
Date: Sun, 23 May 2010 20:44:34 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100317 SUSE/3.0.4-1.1.1 Thunderbird/3.0.4

Sorry Bernd,

That would be no solution since you would keep memory allocated within
the kernel.
No, the solution is to add the #include <Linux/slab.h>  after the first
includes.
That would allow for a compile using linux 2.6.34.
I tested the include also with the 2.6.33 version without a hiccup.

I am not sure which kernel header has been modified so that slab.h is no
longer included anymore. But, this makes at least the kernel source more
transparent.

Regards, Frans.


On 05/23/2010 10:41 AM, Bernd Adda wrote:
> hi Frans de Boer
>
> I am only a user for dazuko.
> What I tell you, I can't write to the ML.
> It may be forbidden for the ML
>
> If it can help, you may see.
> You can give feedback to me - OK?
>
> Go to your Mail - below:
>
> /home/frans/data/projects/linux/file-monitoring/dazuko/dazukofs/dazukofs-3.1.3-rc2/ctrl_dev.c:44:
> error: implicit declaration of function ‘kfree’
>
> Open the file (with kwrite, or an other)
> Go to the line (:44) with the error
>
> Reconfigure it like this:
>
> old =         kfree(file->private_data);
> new = /*kfree*/ (file->private_data);
>
> (enter ! and close the file)
>
> Try to compile your Kernel.
> Have fun - or ask me again with the new info
> from your compile
>
> (You can write german, if you like)
>
> Regards
> Bernd
>
>
>
>
>
>
>
>
>
>
> Dear reader,
>
> I can not compile dazukofs for kernel version 2.6.34 up to including
> 2.6.34-git4
>
> make KERNEL_PATH=/lib/modules/2.6.34-SuSE11.2-pws1/
> make -C /lib/modules/2.6.34-SuSE11.2-pws1//build SUBDIRS="`pwd`" modules
> make[1]: Entering directory `/usr/src/linux-2.6.34-SuSE11.2-pws1'
> CC [M]
> /home/frans/data/projects/linux/file-monitoring/dazuko/dazukofs/dazukofs-3.1.3-rc2/super.o
> CC [M]
> /home/frans/data/projects/linux/file-monitoring/dazuko/dazukofs/dazukofs-3.1.3-rc2/inode.o
> CC [M]
> /home/frans/data/projects/linux/file-monitoring/dazuko/dazukofs/dazukofs-3.1.3-rc2/file.o
> CC [M]
> /home/frans/data/projects/linux/file-monitoring/dazuko/dazukofs/dazukofs-3.1.3-rc2/dentry.o
> CC [M]
> /home/frans/data/projects/linux/file-monitoring/dazuko/dazukofs/dazukofs-3.1.3-rc2/mmap.o
> CC [M]
> /home/frans/data/projects/linux/file-monitoring/dazuko/dazukofs/dazukofs-3.1.3-rc2/group_dev.o
> CC [M]
> /home/frans/data/projects/linux/file-monitoring/dazuko/dazukofs/dazukofs-3.1.3-rc2/ign_dev.o
> CC [M]
> /home/frans/data/projects/linux/file-monitoring/dazuko/dazukofs/dazukofs-3.1.3-rc2/ctrl_dev.o
> /home/frans/data/projects/linux/file-monitoring/dazuko/dazukofs/dazukofs-3.1.3-rc2/ctrl_dev.c:
> In function ‘dazukofs_ctrl_release’:
> /home/frans/data/projects/linux/file-monitoring/dazuko/dazukofs/dazukofs-3.1.3-rc2/ctrl_dev.c:44:
> error: implicit declaration of function ‘kfree’
> make[2]: ***
> [/home/frans/data/projects/linux/file-monitoring/dazuko/dazukofs/dazukofs-3.1.3-rc2/ctrl_dev.o]
> Error 1
> make[1]: ***
> [_module_/home/frans/data/projects/linux/file-monitoring/dazuko/dazukofs/dazukofs-3.1.3-rc2]
> Error 2
> make[1]: Leaving directory `/usr/src/linux-2.6.34-SuSE11.2-pws1'
> make: *** [dazukofs_modules] Error 2
>
> Any suggestions?
>
> Regards, Frans.
>
>
> _______________________________________________
> Dazuko-help mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/dazuko-help
>
>   




reply via email to

[Prev in Thread] Current Thread [Next in Thread]