Dian 10 Posted November 12, 2016 Hi, i'm trying to compile the hercules emulator on CentOS 5, but this error occurs: In file included from /usr/include/asm-x86_64/byteorder.h:30, from /usr/include/asm/byteorder.h:5, from /usr/include/linux/tcp.h:21, from socket.c:53: /usr/include/linux/byteorder/little_endian.h:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__cpu_to_le64p’ /usr/include/linux/byteorder/little_endian.h:47: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token /usr/include/linux/byteorder/little_endian.h:67: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__cpu_to_be64p’ /usr/include/linux/byteorder/little_endian.h:71: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token make[1]: *** [obj_all/socket.o] Error 1 make[1]: Leaving directory `/home/hercules/src/common'In file included from /usr/include/asm-x86_64/byteorder.h:30, from /usr/include/asm/byteorder.h:5, from /usr/include/linux/tcp.h:21, from socket.c:53: /usr/include/linux/byteorder/little_endian.h:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__cpu_to_le64p’ /usr/include/linux/byteorder/little_endian.h:47: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token /usr/include/linux/byteorder/little_endian.h:67: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__cpu_to_be64p’ /usr/include/linux/byteorder/little_endian.h:71: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token make[1]: *** [obj_all/socket.o] Error 1 make[1]: Leaving directory `/home/hercules/src/common' Can someone tell me how to solve this problem? Thanks. Quote Share this post Link to post Share on other sites
0 Dastgir 1246 Posted November 13, 2016 https://github.com/HerculesWS/Hercules/wiki/Supported-Platforms CentOS 5 is unsupported, upgrade to centos 6/7 to compile Hercules properly Quote Share this post Link to post Share on other sites
Hi,
i'm trying to compile the hercules emulator on CentOS 5, but this error occurs:
Can someone tell me how to solve this problem?
Thanks.
Share this post
Link to post
Share on other sites