Issue

A recent linux kernel update (3.10.0-693.2.2.el7.x86_64) caused the VirtualBox Guest Additions 5.2 in my CentOS7 box to break.

Error message:

/tmp/vbox.0/hgsmi_base.c: In function ‘hgsmi_send_caps_info’:
/tmp/vbox.0/hgsmi_base.c:99:2: error: implicit declaration of function ‘AssertRC’ [-Werror=implicit-function-declaration]
  AssertRC(p->rc);^M
  ^
cc1: some warnings being treated as errors
make[2]: *** [/tmp/vbox.0/hgsmi_base.o] Error 1
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxvideo] Error 2

More information is in this virtualbox thread

virtualbox ticket

Resolution

An updated VirtualBox Guest Additions installer which contains the fix can now be downloaded from the virtualbox website.