editing header files- gentoo - vmware


Subject: editing header files- gentoo - vmware
From: Tim Jordan (timothy_jordan@labor.state.ak.us)
Date: Fri Feb 06 2004 - 04:23:15 AKST


I'm having a problem with installing an ebuild for Gentoo. I found how
to fix the bug but it included editing one of the header files which is
in a vmmon.tar.

Problem: When I edit the header file (as directed below) and then tar it
back as vmmon.tar - then I try to run the vmware install script it dies
when trying to build the vmmon module or it won't untar vmmon.tar.

Can anybody advise me on a correct approach to handling this problem?

Thanks,
TJ

http://bugs.gentoo.org/show_bug.cgi?id=37774

> I guess, I found what causes this problem.
>
> The poll_initwait interface has been changed in the new kernel, but VMware still thinks it should use the old interface.
>
> I made the following changes in /opt/vmware/lib/modules/source/vmmon.tar in vmmon-only/include/compat_wait.h:
>
> I replaced line #38 with the following two lines:
> (defined(WE_ARE_WOLK) && LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 20)) || \
> LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4 ,22)
>
> Original line #38:
> (defined(WE_ARE_WOLK) && LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 20))

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Fri Feb 06 2004 - 13:44:31 AKST