Yep, the errors from my previous comment are why this isn't building.
vnc4 has an old copy of the Xserver included in it. The file unix/xc/programs/Xserver/hw/xfree86/common/compiler.h includes definitions for inw(), inb() which conflict with ones provided in sys/io.h on arm.
Current Xserver's compiler includes preprocessor conditions to hide the declarations. It also includes this comment to explain what it's doing:
#elif defined(__arm__) && defined(__linux__)
/* for Linux on ARM, we use the LIBC inx/outx routines */
/* note that the appropriate setup via "ioperm" needs to be done */
/* *before* any inx/outx is done. */
#include <sys/io.h>
...
So, it looks to me like this code needs to be ported over to vnc4's compiler.h.
Theoretically should be straightforward work, but I've got some higher priority items I need to tend to first so if anyone else wants to take a stab at it, go for it.
Yep, the errors from my previous comment are why this isn't building.
vnc4 has an old copy of the Xserver included in it. The file unix/xc/ programs/ Xserver/ hw/xfree86/ common/ compiler. h includes definitions for inw(), inb() which conflict with ones provided in sys/io.h on arm.
Current Xserver's compiler includes preprocessor conditions to hide the declarations. It also includes this comment to explain what it's doing:
#elif defined(__arm__) && defined(__linux__)
/* for Linux on ARM, we use the LIBC inx/outx routines */
/* note that the appropriate setup via "ioperm" needs to be done */
/* *before* any inx/outx is done. */
#include <sys/io.h>
...
So, it looks to me like this code needs to be ported over to vnc4's compiler.h.
Theoretically should be straightforward work, but I've got some higher priority items I need to tend to first so if anyone else wants to take a stab at it, go for it.