[linux-cifs-client] Re: Re: compile cifs-1.48a error on CentOS 4.3

Akemi Yagi amyagi at gmail.com
Wed Jul 11 16:08:31 GMT 2007


On Wed, 11 Jul 2007 13:28:00 +0700, kemas wrote:

> On Tue, 2007-07-10 at 10:31 -0400, Jeff Layton wrote:
>> On Tue, 10 Jul 2007 08:19:06 +0700
>> kemas <k_henry at ramayana.co.id> wrote:

>> > but when I change 2 files (cifsproto.h and cifsfs.c) that had
>> > declaration 'kzalloc' like Jeff Layton patch, and 1 file (inode.c)
>> > that has variable 'rlim', the compile process is running now.
>> > 
>> > Don't know if the module going to work because some code were alter
>> > like that. Or perhaps someone has nicer way to do this?
> 
>> You'll probably have better luck starting with a 4.5 kernel. From the
>> subject, it sounds like you're starting from 4.3 (which I assume is
>> based on RHEL4.3).
>> 
> is 4.3 and 4.5 RHEL kernel differ in include/linux/slab.h ?

Yes, there is at least one patch (possibly more) for slab.h as well as
slab.c.  And your error relating to kzalloc may have to do with it.  At
any rate, if you are still running 4.3, you really want to consider
updating to 4.5.  There have been security fixes since 4.3.

Akemi




More information about the linux-cifs-client mailing list