VirtualBox

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)

2.patch (551 bytes ) - added by sergiomb 8 years ago.
fix the for for this especific kernel

Download all attachments as: .zip

Change History (8)

by sergiomb, 8 years ago

Attachment: 2.patch added

fix the for for this especific kernel

comment:2 by LocutusOfBorg, 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)

in reply to:  2 comment:3 by sergiomb, 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 Klaus Espenlaub, 8 years ago

Guest type: otherLinux
Host type: otherLinux

comment:5 by Michael Thayer, 8 years ago

Please try the latest Additions test build<1>.

<1> https://www.virtualbox.org/wiki/Testbuilds

comment:6 by Michael Thayer, 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

comment:7 by Frank Mehnert, 8 years ago

Resolution: fixed
Status: newclosed

Fixed in 5.1.6.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use