Cygwin error : (

Posted by Crabb on Thu 25 Jul 2002 10:18 PM — 2 posts, 16,869 views.

#0
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.
United Kingdom #1
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