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.
 Entire forum ➜ Dawn of Time ➜ Installing/compiling the server ➜ Cygwin error : (

Cygwin error : (

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


Posted by Crabb   (5 posts)  Bio
Date Thu 25 Jul 2002 10:18 PM (UTC)
Message
i got this error when using cygwin (I cant wait to try Linux ;) )

dp.cpp: In function 'void init_mm()':
dp.cpp:4630: implicit declaration of funtion 'int srandom(...)
dp.cpp: In funtion 'long int number_mm()':
dp.cpp:4658: implicit declaration of funtion 'int random(...)
make:*** [dp.o] error 1

i had NO warnings/errors other than that :) I like configure scripts.
Top

Posted by Kalahn   United Kingdom  (138 posts)  Bio
Date Reply #1 on Sun 28 Jul 2002 01:47 PM (UTC)
Message
How old is your cygwin version?

All the newer versions I have tested on have compiled clean out of the box.

To compile the code, you could just edit the makefile and add -DOLD_RAND to the "C_FLAGS = -Wall $(PROF) $(NOCRYPT)" line.

- Kal

Kalahn
Developer of the Dawn of Time codebase
http://www.dawnoftime.org/
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.


13,976 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.