I am trying to compile xorg-server on Amazon Linux 2. I am following this article: https://gist.github.com/cpsubrian/3aa40f6f3d6ce2c707b9d8e34c652dcf
But on step make of:
$ ./configure
$ make
I am getting an error
sdksyms.c:324:15: error: expected expression before ‘,’ token (void ) &, / ../../include/os.h:93 */
I managed to compile it on Amazon Linux 1, but I can't on Amazon Linux 2. Probably the libraries versions are different, etc.
I have no clue why I can't compile it. Gcc version is 7.3.1. Thanks!