Compiling Error

Posted by Alaric on Mon 26 Nov 2001 08:23 AM — 5 posts, 18,011 views.

#0
I downloaded the smaug source code with mxp support and when I typed make, this is what i got in return.

$ make
make smaug
make[1]: Entering directory '/home/chris/smaug/dist/src
gcc -c -0 -g3 -Wall -Wuninitialized -DSMAUG act_comm.c
act_comm.c:40: regex.h: No such file or directory
make[1]: *** [act_comm.o] Error 1
make[1]: Leaving Directory '/home/chris/smaug/dist/src'
make: *** [all] Error 2

I was following all the directions on the website you had "How to make changes, including compiling." And I still had this problem. Does anyone know what I am to do to fix this problem?
#1
I just downloaded the newest version of Cygwin so I am pretty sure that is not a problem. (I forgot to add this in before, and noticed it when you replied to Bob the Hydra's message)
Australia Forum Administrator #2
I found that file here ...


/usr/include/regex.h


Check you have such a file.
#3
Allright, I've found it, now it's telling me that it can't find -lcrypt I've looked around to find the file so I can download it, but havn't had any luck. Would you happen to know a site?
Australia Forum Administrator #4
I found:


/lib/libcrypt.a


and


/usr/lib/libcrypt.a



Check you have one or both of those. If you only have one, make a copy of it into the other directory.

They were part of the Cygwin install.