[Plib-users] need help compiling plib
Brought to you by:
sjbaker
|
From: Mathew K. <ma...@ne...> - 2002-04-21 17:12:32
|
Hello all, I download the most recent stable version of plib and tried to compiled it win mandrake 8.1. I received the following error: make[2]: Entering directory `/usr/src/plib-1.4.2/src/net' c++ -DPACKAGE=\"plib\" -DVERSION=\"1.4.2\" -DHAVE_LIBDL=1 -DHAVE_LIBGL=1 -DH AVE_LIBGLU=1 -DHAVE_LIBGLUT=1 -DHAVE_GL_GL_H=1 -DHAVE_GL_GLU_H=1 -DLINUX_JOY STICK_IS_PRESENT=1 -DGLUT_IS_PRESENT=1 -I. -I. -I../../src/util -I/usr/lo cal/include -g -O2 -O6 -Wall -c netSocket.cxx netSocket.cxx: In method `int netSocket::accept (netAddress *)': netSocket.cxx:218: cannot convert `int *' to `socklen_t *' for argument `3' to `accept (int, sockaddr *, socklen_t *)' netSocket.cxx: In method `int netSocket::recvfrom (void *, int, int, netAddress *)': netSocket.cxx:256: cannot convert `int *' to `socklen_t *' for argument `6' to `recvfrom (int, void *, unsigned int, int, sockaddr *, socklen_t *)' make[2]: *** [netSocket.o] Error 1 make[2]: Leaving directory `/usr/src/plib-1.4.2/src/net' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/plib-1.4.2/src' make: *** [all-recursive] Error 1 Where shoud soklen_t be defined? I assuming I just need to include an another .h file, just am not sure which one. |