You are not logged in.

#1 2013-12-02 15:30:48

diabolik
Member
Registered: 2013-12-02
Posts: 5

Error! Build of vmblock.ko failed for: 3.12.2-1-ARCH (x86_64)

Hello,

I'm very new to the world of arch linux. I see that there are patches for this  but I don't have knowledge of using them.

Help please? smile

sudo dkms install -m open-vm-tools -v 2013.09.16 -k $(uname -r)

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=3.12.2-1-ARCH VM_UNAME=3.12.2-1-ARCH MODULEBUILDDIR=/var/lib/dkms/open-vm-tools/2013.09.16/build -C vmblock; make VM_UNAME=3.12.2-1-ARCH MODULEBUILDDIR=/var/lib/dkms/open-vm-tools/2013.09.16/build -C vmci; make VM_UNAME=3.12.2-1-ARCH MODULEBUILDDIR=/var/lib/dkms/open-vm-tools/2013.09.16/build -C vmhgfs; make VM_UNAME=3.12.2-1-ARCH MODULEBUILDDIR=/var/lib/dkms/open-vm-tools/2013.09.16/build -C vmsync; make VM_UNAME=3.12.2-1-ARCH MODULEBUILDDIR=/var/lib/dkms/open-vm-tools/2013.09.16/build -C vmxnet; make VM_UNAME=3.12.2-1-ARCH MODULEBUILDDIR=/var/lib/dkms/open-vm-tools/2013.09.16/build -C vsock.........
Error!  Build of vmblock.ko failed for: 3.12.2-1-ARCH (x86_64)
Consult the make.log in the build directory

Last edited by diabolik (2013-12-02 15:31:57)

Offline

#2 2013-12-02 16:07:28

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Error! Build of vmblock.ko failed for: 3.12.2-1-ARCH (x86_64)

As printed at the bottom of the error, you need to consult make.log for the cause. If you have trouble understanding it, you can post it here.

Offline

#3 2013-12-02 16:14:41

diabolik
Member
Registered: 2013-12-02
Posts: 5

Re: Error! Build of vmblock.ko failed for: 3.12.2-1-ARCH (x86_64)

Pastebin link due to large size: http://pastebin.com/Xqq4QnKB

I've read around that only patch needed is for vmblock.ko, other ones are not needed? So I need help with that.

Last edited by diabolik (2013-12-02 16:15:42)

Offline

#4 2013-12-02 18:28:36

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Error! Build of vmblock.ko failed for: 3.12.2-1-ARCH (x86_64)

Well, I noticed that vmhgfs.ko and vmsync.ko give errors as well, so I would suppose that they need to be fixed too.

Where did you read the stuff regarding the patches?

Offline

#5 2013-12-02 21:36:01

diabolik
Member
Registered: 2013-12-02
Posts: 5

Re: Error! Build of vmblock.ko failed for: 3.12.2-1-ARCH (x86_64)

Here:

https://aur.archlinux.org/packages/vmwa … setlang=en

Comment by flyn

2013-11-27 14:19

Fix for vmblock not compiling on 3.12:


I've installed it in Workstation 10.0.1, as other linux 3.x kernel 64-bit.

I've tried it in Virtualbox, too. Works nice with open vm tools but drag and drop and network folders = no go.

Last edited by diabolik (2013-12-02 21:36:53)

Offline

#6 2013-12-03 05:48:16

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Error! Build of vmblock.ko failed for: 3.12.2-1-ARCH (x86_64)

OK, assuming the patch posted there fixes the problem, the only problem before you is how to patch?

If that's the case, you should first download the patch content posted on the AUR page and save it with the given filename, i.e., vmblock-9.0.2-5.0.2-3.12.patch

Then put the filename in the sources field of the PKGBUILD and put the file's md5sum in the respective field of the PKGBUILD as well.

After that, run

$ makepkg -si

You might want to read the following for reference:

https://wiki.archlinux.org/index.php/PKGBUILD
https://wiki.archlinux.org/index.php/Makepkg

Last edited by x33a (2013-12-03 05:48:46)

Offline

#7 2013-12-03 15:17:31

diabolik
Member
Registered: 2013-12-02
Posts: 5

Re: Error! Build of vmblock.ko failed for: 3.12.2-1-ARCH (x86_64)

Thanks for help. Although I successfully patched, build still breaks for vmblock.ko

So, no go for it currently? Or are there any other workarounds?

Offline

#8 2013-12-04 04:43:53

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Error! Build of vmblock.ko failed for: 3.12.2-1-ARCH (x86_64)

diabolik wrote:

Thanks for help. Although I successfully patched, build still breaks for vmblock.ko

So, no go for it currently? Or are there any other workarounds?

I have no idea, I don't use it myself. Maybe you should try taking a look at the gentoo bug report mentioned on the AUR page.

Last edited by x33a (2013-12-04 04:44:35)

Offline

#9 2013-12-04 22:14:43

diabolik
Member
Registered: 2013-12-02
Posts: 5

Re: Error! Build of vmblock.ko failed for: 3.12.2-1-ARCH (x86_64)

Already did that and did manually required changes. Also failed.

Sigh.

Offline

Board footer

Powered by FluxBB