Did you try continuing with the setup (e.g. hitting ENTER and letting it compile the module)?
RedHat 8 isn't officially supported by VMWare (although Redhat 7.x is). However, I'm running VMWare on Redhat 8 with no problems. I had to compile the module myself, however. I couldn't use any of the pre-configured modules.
When the setup directory asks, point it to the location of the c++ header files, a compiler, and let it get to work.
Dani
The Queen of DaniWeb
21,367 posts since Feb 2002
Reputation Points: 1,555
Solved Threads: 368
Skill Endorsements: 122
Unfortunately, with me it found the header files it needed to compile in the default location. According to the error message you're getting, it says that it found older header files but not ones compatible with the current kernel you're using. Did you upgrade your kernel? Perhaps you didn't install the kernel source code when you upgraded??
Dani
The Queen of DaniWeb
21,367 posts since Feb 2002
Reputation Points: 1,555
Solved Threads: 368
Skill Endorsements: 122
Aside from updating the kernel, be sure to update the kernel-source at the same time. (both should be the same version number).
Kernel source code is what allows you to compile programs for your kernel. (I believe?)
Dani
The Queen of DaniWeb
21,367 posts since Feb 2002
Reputation Points: 1,555
Solved Threads: 368
Skill Endorsements: 122
Well, if you remember when you originally installed RedHat, you were provided with a list of available packages to install. One of them was the kernel-source package.
If you had an older version of kernel-source installed, RedHat's up2date should have given you the option to install the updated kernel-source at the same time as the updated kernel.
Otherwise, just go to redhat.com and login (I assume you have a username/password considering you use up2date). Then go to the errata page and you should be able to download the kernel-source package from there (as a good ol' .rpm) Do a search for it and it should turn up. Just make sure the version you install is the same as the version number of your kernel.
Then, browse to the location that you saved the file at and type
rpm -Uvh kernel_source.rpm
(or whatever the file happens to be named)
Dani
The Queen of DaniWeb
21,367 posts since Feb 2002
Reputation Points: 1,555
Solved Threads: 368
Skill Endorsements: 122