Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vmware modules compiling error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
JeanMicMuch
n00b
n00b


Joined: 30 Nov 2024
Posts: 5

PostPosted: Sat Nov 30, 2024 1:47 pm    Post subject: vmware modules compiling error Reply with quote

i am having troubel trying to compile vmware-modules


Code:
make -C vmmon-only
make -C vmnet-only
make[1]: Entering directory '/home/eneko/Downloads/vmware-host-modules/vmmon-only'
make[1]: Entering directory '/home/eneko/Downloads/vmware-host-modules/vmnet-only'
Using standalone build system.
Using standalone build system.
In file included from ./autoconf/geninclude.c:20:
./include/compat_autoconf.h:38:13: fatal error: generated/autoconf.h: No such file or directory
   38 | #   include <generated/autoconf.h>
      |             ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from geninclude.c:20:
compat_autoconf.h:38:13: fatal error: generated/autoconf.h: No such file or directory
   38 | #   include <generated/autoconf.h>
      |             ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: Entering directory '/home/eneko/Downloads/vmware-host-modules/vmmon-only/driver-6.6.58-gentoo-dist'
cc1: error: code model kernel does not support PIC mode
cc1: error: code model kernel does not support PIC mode
make[1]: *** [<builtin>: driver.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [<builtin>: hub.o] Error 1
cc1: error: code model kernel does not support PIC mode
make[1]: *** [<builtin>: userif.o] Error 1
make[1]: Leaving directory '/home/eneko/Downloads/vmware-host-modules/vmnet-only'
make: *** [Makefile:21: vmnet-only] Error 2
make: *** Waiting for unfinished jobs....
In file included from .././autoconf/geninclude.c:20:
.././include/compat_autoconf.h:38:13: fatal error: generated/autoconf.h: No such file or directory
   38 | #   include <generated/autoconf.h>
      |             ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Dependencies for driverLog.c
Dependencies for vmx86.c
Dependencies for memtrack.c
Dependencies for phystrack.c
cc1: error: code model kernel does not support PIC mode
cc1: error: code model kernel does not support PIC mode
cc1: error: code model kernel does not support PIC mode
cc1: error: code model kernel does not support PIC mode
make[2]: *** [.././Makefile.normal:120: vmx86.d] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [.././Makefile.normal:125: driverLog.d] Error 1
make[2]: *** [.././Makefile.normal:120: memtrack.d] Error 1
make[2]: *** [.././Makefile.normal:120: phystrack.d] Error 1
make[2]: Leaving directory '/home/eneko/Downloads/vmware-host-modules/vmmon-only/driver-6.6.58-gentoo-dist'
make[1]: *** [Makefile.normal:132: deps] Error 2
make[1]: Leaving directory '/home/eneko/Downloads/vmware-host-modules/vmmon-only'


that's what i get when i type in
Code:
make
in the repo [/code][/bug]
_________________
Runs on potato
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22848

PostPosted: Sat Nov 30, 2024 2:26 pm    Post subject: Reply with quote

Welcome to the forums. This does not appear to be managed by a Portage ebuild, so it is unclear where you got these modules, or whether you have followed all necessary preparatory steps. Please explain how someone here, with no specific knowledge of VMware, could reproduce the results you showed.

Do you need these modules? Gentoo should run fine without them.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum