Jump to content
  • 0
Dian

Error - Compiling on CenOS 5

Question

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.

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.