I couldn't figure where else to post this but hopefully here is acceptable. I have been mudding for years and finally decided it time to try and start one of my own. I've been screwing around with different sourcecodes and such and managed to get some of them compiled but I've run into a problem with this dikumud: Pirate sourcecode. When compiling it I get the following errors:
comm.c: In function 'game_loop':
comm.c:262: warning passing arg 2 of 'gettimeofday' from incompatible pointer type
comm.c:297: warning: passing arg 2 of 'gettimeofday' from incompatible pointer type
comm.c: In function 'init_socket':
comm.c:619: warning: passing arg 1 of 'bzero' from incompatible pointer type
comm.c:650: too many arguments to function 'bind'
comm.c: In function 'new_connection':
comm.c:637: warning: passing arg 2 of 'getsockname' from incompatible pointer type
comm.c:673: warning: passing arg 2 of 'accept' from incompatible pointer type
Any help at all would be great, I am new to all this but it seems like so much fun!
Thanks,
Jake
comm.c: In function 'game_loop':
comm.c:262: warning passing arg 2 of 'gettimeofday' from incompatible pointer type
comm.c:297: warning: passing arg 2 of 'gettimeofday' from incompatible pointer type
comm.c: In function 'init_socket':
comm.c:619: warning: passing arg 1 of 'bzero' from incompatible pointer type
comm.c:650: too many arguments to function 'bind'
comm.c: In function 'new_connection':
comm.c:637: warning: passing arg 2 of 'getsockname' from incompatible pointer type
comm.c:673: warning: passing arg 2 of 'accept' from incompatible pointer type
Any help at all would be great, I am new to all this but it seems like so much fun!
Thanks,
Jake