Opened 8 years ago
Closed 8 years ago
#15890 closed defect (fixed)
vboxvideo/vbox_drv.c:270:20: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] -> should be fixed in releases higher than 5.1.4
Reported by: | sergiomb | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 5.1.4 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | Linux |
Description
with Linux 4.8.0-0.rc4.git0.1.fc26.x86_64
2016/09/06 07:22:58 akmodsbuild: CC [M] /tmp/akmodsbuild.ZW8tnZuj/BUILD/VirtualBox-kmod-5.1.4/_kmod_build_4.8.0-0.rc4.git0.1.fc26.x86_64/vboxvideo/vbox_main.o 2016/09/06 07:22:58 akmodsbuild: /tmp/akmodsbuild.ZW8tnZuj/BUILD/VirtualBox-kmod-5.1.4/_kmod_build_4.8.0-0.rc4.git0.1.fc26.x86_64/vboxvideo/vbox_drv.c:270:20: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] 2016/09/06 07:22:58 akmodsbuild: .master_drop = vbox_master_drop, 2016/09/06 07:22:58 akmodsbuild: ^ 2016/09/06 07:22:58 akmodsbuild: /tmp/akmodsbuild.ZW8tnZuj/BUILD/VirtualBox-kmod-5.1.4/_kmod_build_4.8.0-0.rc4.git0.1.fc26.x86_64/vboxvideo/vbox_drv.c:270:20: note: (near initialization for 'driver.master_drop') 2016/09/06 07:22:58 akmodsbuild: cc1: some warnings being treated as errors 2016/09/06 07:22:58 akmodsbuild: scripts/Makefile.build:289: recipe for target '/tmp/akmodsbuild.ZW8tnZuj/BUILD/VirtualBox-kmod-5.1.4/_kmod_build_4.8.0-0.rc4.git0.1.fc26.x86_64/vboxvideo/vbox_drv.o' failed 2016/09/06 07:22:58 akmodsbuild: make[1]: *** [/tmp/akmodsbuild.ZW8tnZuj/BUILD/VirtualBox-kmod-5.1.4/_kmod_build_4.8.0-0.rc4.git0.1.fc26.x86_64/vboxvideo/vbox_drv.o] Error 1 2016/09/06 07:22:58 akmodsbuild: make[1]: *** Waiting for unfinished jobs....
Attachments (1)
Change History (8)
by , 8 years ago
follow-up: 3 comment:2 by , 8 years ago
Your patch seems to break older kernels, I suggest you to get a patch from here https://build.opensuse.org/package/view_file/Virtualization/virtualbox/modify_for_4_8_bo_move.patch?expand=1 (note: I didn't test your version, nor the opensuse patch)
comment:3 by , 8 years ago
Replying to LocutusOfBorg:
Your patch seems to break older kernels, I suggest you to get a patch from here https://build.opensuse.org/package/view_file/Virtualization/virtualbox/modify_for_4_8_bo_move.patch?expand=1 (note: I didn't test your version, nor the opensuse patch)
Great ! , many thanks! , I didn't know these SUSE rpms, they are very organized, very good material for me :). That is the patch that I was looking for. Just analyzing the code is correct for sure.
Best regards.
comment:4 by , 8 years ago
Guest type: | other → Linux |
---|---|
Host type: | other → Linux |
comment:6 by , 8 years ago
Summary: | vboxvideo/vbox_drv.c:270:20: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] → vboxvideo/vbox_drv.c:270:20: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] -> should be fixed in releases higher than 5.1.4 |
---|
fix the for for this especific kernel