﻿id,summary,reporter,owner,description,type,status,component,version,resolution,keywords,cc,guest,host
18213,Install/Build Guestadditions on SLES12SP4 failed -> fixed after (not in) 6.0.0/5.2.22 and in test builds,SUSI,,"Install / build guest addition in SLES12SP4 guest will fail (see below):
SLES12SP4 has the same Kernel as SLES15. 
Please adappt in file src/vboxguest-6.0.0/vboxvideo/vbox_mode.c line 355 =>  SLES15 and SLES12SP4


...
 /tmp/vbox.0/.tmp_vbox_mode.o /tmp/vbox.0/vbox_mode.c
/tmp/vbox.0/vbox_mode.c: In function ‘vbox_best_single_encoder’:
/tmp/vbox.0/vbox_mode.c:359:3: warning: passing argument 2 of ‘drm_encoder_find’ makes pointer from integer without a cast [enabled by default]
   return drm_encoder_find(connector->dev, enc_id);
   ^
In file included from /tmp/vbox.0/vbox_drv.h:85:0,
                 from /tmp/vbox.0/vbox_mode.c:35:
/usr/src/linux-4.12.14-95.3/include/drm/drm_encoder.h:216:35: note: expected ‘struct drm_file *’ but argument is of type ‘int’
 static inline struct drm_encoder *drm_encoder_find(struct drm_device *dev,
                                   ^
/tmp/vbox.0/vbox_mode.c:359:3: error: too few arguments to function ‘drm_encoder_find’
   return drm_encoder_find(connector->dev, enc_id);
   ^
In file included from /tmp/vbox.0/vbox_drv.h:85:0,
                 from /tmp/vbox.0/vbox_mode.c:35:
/usr/src/linux-4.12.14-95.3/include/drm/drm_encoder.h:216:35: note: declared here
 static inline struct drm_encoder *drm_encoder_find(struct drm_device *dev,
                                   ^
/usr/src/linux-4.12.14-95.3/scripts/Makefile.build:326: recipe for target '/tmp/vbox.0/vbox_mode.o' failed
make[4]: *** [/tmp/vbox.0/vbox_mode.o] Error 1
/usr/src/linux-4.12.14-95.3/Makefile:1564: recipe for target '_module_/tmp/vbox.0' failed
make[3]: *** [_module_/tmp/vbox.0] Error 2
Makefile:152: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:24: recipe for target '__sub-make' failed
make[1]: *** [__sub-make] Error 2
/tmp/vbox.0/Makefile.include.footer:106: recipe for target 'vboxvideo' failed
make: *** [vboxvideo] Error 2
",defect,closed,guest additions,VirtualBox 6.0.0,fixed,SLES12SP4,,Linux,Windows
