[ENet-discuss] 1.2 build problems in linux

Lee Salzman lsalzman1 at cox.net
Tue Oct 14 16:02:55 PDT 2008


It would appear you're either not using the right build system or somehow
using an incompatible implementation of make.

Andrew Fenn wrote:
> 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