Building vmware workstation kernel module on 2.6.24 fails (sid)
After a recent update of the kernel to 2.6.24 I fail in building the
kernel modules for vmware workstation. I'm using 'make-vmpkg'. It
fails with the following:
In file included from
/home/root_extra/vmware/vmware-workstation/build/vmware-workstation/usr_src/modules/vmware-kernel/vmblock-only/linux/os.h:21,
from
/home/root_extra/vmware/vmware-workstation/build/vmware-workstation/usr_src/modules/vmware-kernel/vmblock-only/linux/block.c:12:
/home/root_extra/vmware/vmware-workstation/build/vmware-workstation/usr_src/modules/vmware-kernel/vmblock-only/./include/compat_wait.h:60:
error: conflicting types for ‘poll_initwait’
include/linux/poll.h:65: error: previous declaration of ‘poll_initwait’
was here
I suspect it's caused by an earlier warning:
In file included from
/home/root_extra/vmware/vmware-workstation/build/vmware-workstation/usr_src/modules/vmware-kernel/vmblock-only/linux/os.h:21,
from
/home/root_extra/vmware/vmware-workstation/build/vmware-workstation/usr_src/modules/vmware-kernel/vmblock-only/linux/block.c:12:
/home/root_extra/vmware/vmware-workstation/build/vmware-workstation/usr_src/modules/vmware-kernel/vmblock-only/./include/compat_wait.h:37:5:
warning: "VMW_HAVE_EPOLL" is not defined
Any ideas on how to solve this? (I suspect one way might be to somehow
make sure that VMW_HAVE_EPOLL is defined during the compilation, but how
do I succeed in doing that?)
/M
--
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnusï¼*therning.org Jabber: magnus.therningï¼*gmail.com
http://therning.org/magnus
What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
-- Daveman
02-02-2008, 05:34 PM
Magnus Therning
Building vmware workstation kernel module on 2.6.24 fails (sid)
Peter Velichkov wrote:
> Just wrote a how-to about installing vmware player/workstation on debian
> unstable with default kernel 2.6.24
> http://blog.creonfx.com/linux/how-to-install-vmware-player-workstation-on-2624-kernel
I didn't succeed with the vmware-any-any package. 'make-vmpkg -p
any-any -s -u 116 <path to file>' succeeded and I ended up with a
package named vmware-any-any-kernel-source containing the source.
However, when building the source with 'm-a a-i
vmware-any-any-kernel-source' failed with:
gcc-4.1: error trying to exec 'cc1plus': execvp: No such file or directory
How do I get past this?
/M
--
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnusï¼*therning.org Jabber: magnus.therningï¼*gmail.com
http://therning.org/magnus
What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
-- Daveman
02-02-2008, 05:55 PM
Sven Joachim
Building vmware workstation kernel module on 2.6.24 fails (sid)
On 2008-02-02 19:34 +0100, Magnus Therning wrote:
> I didn't succeed with the vmware-any-any package. 'make-vmpkg -p
> any-any -s -u 116 <path to file>' succeeded and I ended up with a
> package named vmware-any-any-kernel-source containing the source.
> However, when building the source with 'm-a a-i
> vmware-any-any-kernel-source' failed with:
>
> gcc-4.1: error trying to exec 'cc1plus': execvp: No such file or directory
Apparently the C++ compiler for gcc-4.1 is missing.
> How do I get past this?
Install the g++-4.1 package and retry.
Sven
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
02-02-2008, 09:41 PM
Magnus Therning
Building vmware workstation kernel module on 2.6.24 fails (sid)
Sven Joachim wrote:
> On 2008-02-02 19:34 +0100, Magnus Therning wrote:
>
>> I didn't succeed with the vmware-any-any package. 'make-vmpkg -p
>> any-any -s -u 116 <path to file>' succeeded and I ended up with a
>> package named vmware-any-any-kernel-source containing the source.
>> However, when building the source with 'm-a a-i
>> vmware-any-any-kernel-source' failed with:
>>
>> gcc-4.1: error trying to exec 'cc1plus': execvp: No such file or directory
>
> Apparently the C++ compiler for gcc-4.1 is missing.
>
>> How do I get past this?
>
> Install the g++-4.1 package and retry.
Reading this I just realised that I wasn't paying attention to version
numbers at all. I added /usr/lib/gcc/x86_64-linux-gnu/4.2 to $PATH and
re-ran m-a, which seems to have worked fine.
/M
--
Magnus Therning (OpenPGP: 0xAB4DFBA4)
magnusï¼*therning.org Jabber: magnus.therningï¼*gmail.com
http://therning.org/magnus
What if I don't want to obey the laws? Do they throw me in jail with
the other bad monads?
-- Daveman