DevHeads.net

Problems compiling kernel module

Hi

I just upgraded a virtual Centos from 7.5 to 7.6 and now the VirtualBox
Extensions won't compile with the kernel.

I looked into the log file and found that I should try to execute:

make oldconfig && make prepare

but I get this result:
scripts/kconfig/conf --oldconfig Kconfig
#
# configuration written to .config
#
scripts/kconfig/conf --silentoldconfig Kconfig
make[1]: *** No rule to make target `arch/x86/syscalls/syscall_32.tbl',
needed by
`arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h'. Stop.
make: *** [archheaders] Error 2

What could be wrong?

|<

Comments

Re: Problems compiling kernel module

By Greg Bailey at 12/05/2018 - 10:12

On 12/05/2018 07:46 AM, Klaus Kolle wrote:
Are you using the 5.2.23 test version of VirtualBox?  5.2.22 won't work,
as mentioned in the release notes at
<a href="https://wiki.centos.org/Manuals/ReleaseNotes/CentOS7.1810" title="https://wiki.centos.org/Manuals/ReleaseNotes/CentOS7.1810">https://wiki.centos.org/Manuals/ReleaseNotes/CentOS7.1810</a>

"If you use VirtualBox to run CentOS 7.6.1810 as a guest with a GUI, you
need version 5.2.23 to build graphics drivers. See VBox ticket 18093
<https://www.virtualbox.org/ticket/18093>. Also, the mouse may not work
properly as reported in this VBox forum thread
<https://forums.virtualbox.org/viewtopic.php?f=3&t=90267>."

-Greg