[muscle] Cannot compile on AMD64

  • From: Julien Torrès <julien.torres@xxxxxxxxxxx>
  • To: muscle@xxxxxxxxxxxxx
  • Date: Wed, 29 Sep 2004 18:04:24 +0200

Hello.

We have just bought a new AMD64, and our application does not compile anymo=
re.=20
Here are the errors :
=2E./util/NetworkUtilityFunctions.cpp: In function `status_t=20
muscle::BindUDPSocket(int, short unsigned int, uint16*, long unsigned int)':
=2E./util/NetworkUtilityFunctions.cpp:83: error: cannot convert `net_length=
_t*'=20
to `socklen_t*' for argument `3' to `int getsockname(int, sockaddr*,=20
socklen_t*)'
=2E./util/NetworkUtilityFunctions.cpp: In function `int=20
muscle::CreateAcceptingSocket(short unsigned int, int, uint16*, long unsign=
ed=20
int)':
=2E./util/NetworkUtilityFunctions.cpp:149: error: cannot convert `net_lengt=
h_t*'=20
to `socklen_t*' for argument `3' to `int getsockname(int, sockaddr*,=20
socklen_t*)'
=2E./util/NetworkUtilityFunctions.cpp: In function `int32=20
muscle::ReceiveDataUDP(int, void*, long unsigned int, bool, uint32*,=20
uint16*)':
=2E./util/NetworkUtilityFunctions.cpp:177: error: cannot convert `net_lengt=
h_t*'=20
to `socklen_t*' for argument `6' to `ssize_t recvfrom(int, void*, long=20
unsigned int, int, sockaddr*, socklen_t*)'
=2E./util/NetworkUtilityFunctions.cpp: In function `int32=20
muscle::SendDataUDP(int, const void*, long unsigned int, bool, long unsigne=
d=20
int, short unsigned int)':
=2E./util/NetworkUtilityFunctions.cpp:209: error: cannot convert `net_lengt=
h_t*'=20
to `socklen_t*' for argument `3' to `int getpeername(int, sockaddr*,=20
socklen_t*)'
=2E./util/NetworkUtilityFunctions.cpp: In function `int muscle::Accept(int)=
':
=2E./util/NetworkUtilityFunctions.cpp:243: error: cannot convert `net_lengt=
h_t*'=20
to `socklen_t*' for argument `3' to `int accept(int, sockaddr*, socklen_t*)'
=2E./util/NetworkUtilityFunctions.cpp: In function `uint32=20
muscle::GetPeerIPAddress(int)':
=2E./util/NetworkUtilityFunctions.cpp:371: error: cannot convert `net_lengt=
h_t*'=20
to `socklen_t*' for argument `3' to `int getpeername(int, sockaddr*,=20
socklen_t*)'


=2D-=20
Julien Torr=E8s
=2D--------------------------------------------------
e-mail:julien.torres@xxxxxxxxxxx
T=E9l: +33 4 76 50 54 01
=46ax: +33 4 76 50 54 03
347, rue Aristide Berg=E8s
Parc d'Activit=E9s de Centr'Alp
38340 Voreppe
=46RANCE

This e-mail message is intended for the addressee(s) only and may contain=20
confidential and or privileged information. If you are not the intended=20
recipient of this e-mail message, you should not read, copy, forward or=20
otherwise distribute or further disclose the information in it. If you have=
=20
received this e-mail message in error, please contact Certess SARL at=20
telephone number +33 4 76 50 54 02, fax number +33 4 76 50 54 03 or contact=
=20
the originator of this e-mail message via e-mail and delete all copies of=20
this message from your computer or network, thank you.

Other related posts:

  • » [muscle] Cannot compile on AMD64