Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUDs ➜ General ➜ Compiling Dikumud:Pirate

Compiling Dikumud:Pirate

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Jake   (1 post)  Bio
Date Mon 31 Dec 2001 08:04 AM (UTC)
Message
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
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #1 on Mon 31 Dec 2001 09:50 PM (UTC)
Message
These are just warnings, I wouldn't worry unless it doesn't link or work.

However to work on them you would need to look up the function (eg. "man gettimeofday") find what arguments are expected, edit the source and see what it is actually passing as a parameter.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


10,462 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.