Opened 11 years ago
Closed 11 years ago
#11437 closed defect (worksforme)
vbox driver install error in vbox 4.2.6
Reported by: | suziwen | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 4.2.6 |
Keywords: | virtualbox drv | Cc: | |
Guest type: | Linux | Host type: | Linux |
Description
env: 名称 :VirtualBox 构架 :x86_64 版本 :4.2.6 发布 :1.fc17
system: Linux version 3.7.3-101.fc17.x86_64 (mockbuild@bkernel02) (gcc version 4.7.2 20120921 (Red Hat 4.7.2-2) (GCC) ) #1 SMP Fri Jan 18 17:40:57 UTC 2013
the log : /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.o /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c: 在函数‘rtR0MemObjLinuxDoMmap’中: /tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.c:1150:9: 错误:隐式声明函数‘do_mmap’ [-Werror=implicit-function-declaration] cc1: some warnings being treated as errors make[2]: * tmp/vbox.0/r0drv/linux/memobj-r0drv-linux.o 错误 1 make[1]: * [_module_/tmp/vbox.0] 错误 2 make: * [vboxdrv] 错误 2
To me it looks like you don't compile the VBox 4.2.6 modules because line 1150 of that file looks different here. Please try to remove VirtualBox and re-install version 4.2.6. If your compile problem still happens then please attach the complete log file /var/log/vbox-install.log after you did