Error - Compiling on CenOS 5

Dian

New member
Messages
9
Points
0
Location
Salto del Guaira - PY
Github
sdbezerra
Emulator
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'

Can someone tell me how to solve this problem?

Thanks.

 
Back
Top