[Pvfs2-users] How to fix: Undeclared 'SLAB_CTOR_CONSTRUCTOR’ error in pvfs2-cache.c

Pete Wyckoff pw at osc.edu
Wed Jun 13 16:21:40 EDT 2007


mvyver at gmail.com wrote on Tue, 12 Jun 2007 12:40 +1000:
> Thanks for the prompt response and the patch.
> The patch allows me to get past the undefined SLAB_CTOR_CONSTRUCTOR error.

I've checked that in so we'll be good when 2.6.22 shows up.

> I then run into a host of 'warning: initialization from incompatible
> pointer type' and the following error:
> /usr/src/pvfs-2.6.3/src/kernel/linux-2.6/pvfs2-proc.c:340: error: too
> many arguments to function 'register_sysctl_table'

I think Sam fixed these warnings and errors in the CVS a while ago.

You might want to give that a whirl.

		-- Pete


More information about the Pvfs2-users mailing list