Dominique,

On Tuesday 26 May 2009 00:09:13 Dominique Leuenberger wrote:
> >>> On 5/26/2009 at 8:56, "Dominique Leuenberger"
>
>  Marcelo,
>
> > I think I posted at least three more lines of errors log, showing the
> > error:
> > /usr/src/packages/BUILD/obj/debug/modules/linux/vmblock/include/vm_basic_
> >typ es.h:145:7: warning: "__FreeBSD__" is not defined
> > /usr/src/packages/BUILD/obj/debug/modules/linux/vmblock/linux/control.c:
> > In function 'SetupProcDevice':
> > /usr/src/packages/BUILD/obj/debug/modules/linux/vmblock/linux/control.c:1
> >59: error: 'struct proc_dir_entry' has no member named 'owner'
> > /usr/src/packages/BUILD/obj/debug/modules/linux/vmblock/linux/control.c:1
> >71: error: 'struct proc_dir_entry' has no member named 'owner'
> > make[3]: ***
> > [/usr/src/packages/BUILD/obj/debug/modules/linux/vmblock/linux/control.o]
> > Error 1
> >
> > So the real error is in control.c, lines 159 and 171, where the structure
> > proc_dir_entry seems no longer to contain an 'owner'.
>
> Just to follow up on this:
> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h
>=99b76233803beab302123d243eea9e41149804f3
>
> owner WAS removed from that struct.
>

Something must be wrong with the source tree you are using. We do handle
the removal of owner field form proc_dir_entry buy guarding against
certain kernel version (.24 is first released kernel when setting owner
was not really needed; .29 was the first kernel that actually broke
compilation):

modules/linux/vmblock/linux/control.c-#if LINUX_VERSION_CODE < 
KERNEL_VERSION(2, 6, 24)
modules/linux/vmblock/linux/control.c:   entry->owner = THIS_MODULE;
modules/linux/vmblock/linux/control.c-#endif

I just freshly unpacked the 05.22 tarball and modules compiled against
2.6.30-rc7 without any issues.

I will take a look at that warning in a minute.

-- 
Dmitry

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
open-vm-tools-devel mailing list
open-vm-tools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open-vm-tools-devel

Reply via email to