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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

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