VirtualBox

Ticket #15890 (closed defect: fixed)

Opened 12 months ago

Last modified 11 months ago

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:
Priority: major 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

2.patch Download (551 bytes) - added by sergiomb 12 months ago.
fix the for for this especific kernel

Change History

Changed 12 months ago by sergiomb

fix the for for this especific kernel

comment:1 Changed 12 months ago by sergiomb

comment:2 follow-up: ↓ 3 Changed 12 months ago by 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)

comment:3 in reply to: ↑ 2 Changed 12 months ago by sergiomb

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 Changed 12 months ago by klaus

  • Host type changed from other to Linux
  • Guest type changed from other to Linux

comment:5 Changed 12 months ago by michael

Please try the latest Additions test build<1>.

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

comment:6 Changed 12 months ago by michael

  • Summary changed from vboxvideo/vbox_drv.c:270:20: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] to 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 Changed 11 months ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in 5.1.6.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use