[ENet-discuss] 1.2 build problems in linux

Andrew Fenn andrewfenn at gmail.com
Tue Oct 14 12:58:21 PDT 2008


I am getting the following errors and I don't understand why. Any tips?

Scanning dependencies of target Enet
[  3%] Building C object CMakeFiles/Enet.dir/dependencies/enet/list.o
[  6%] Building C object CMakeFiles/Enet.dir/dependencies/enet/unix.o
/home/andrew/programming/hardwar/trunk/dependencies/enet/unix.c:34:
error: conflicting types for 'socklen_t'
/usr/include/bits/socket.h:37: error: previous declaration of
'socklen_t' was here
/home/andrew/programming/hardwar/trunk/dependencies/enet/unix.c: In
function 'enet_address_set_host':
/home/andrew/programming/hardwar/trunk/dependencies/enet/unix.c:98:
warning: implicit declaration of function 'inet_aton'
/home/andrew/programming/hardwar/trunk/dependencies/enet/unix.c: In
function 'enet_socket_accept':
/home/andrew/programming/hardwar/trunk/dependencies/enet/unix.c:243:
warning: pointer targets in passing argument 3 of 'accept' differ in
signedness
make[2]: *** [CMakeFiles/Enet.dir/dependencies/enet/unix.o] Error 1
make[1]: *** [CMakeFiles/Enet.dir/all] Error 2


More information about the ENet-discuss mailing list