Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
Ngu
(3 posts) bio
|
| Date |
Tue 03 Sep 2002 06:52 AM (UTC) [ quote
] |
| Message |
When i try to compile i get this....
$ make
make smaug
make[1]: Entering directory `/home/unknown/smaug/dist/src'
gcc -c -O -g3 -Wall -Wuninitialized -DSMAUG comm.c
rm -f smaug
gcc -lcrypt -lregex -o smaug act_comm.o act_info.o act_move.o act_obj.o act_
wiz.o boards.o build.o clans.o comm.o comments.o const.o db.o deity.o fight.o ha
ndler.o hashstr.o ibuild.o ident.o interp.o magic.o makeobjs.o mapout.o misc.o m
pxset.o mud_comm.o mud_prog.o player.o polymorph.o requests.o reset.o save.o sho
ps.o skills.o special.o tables.o track.o update.o grub.o stat_obj.o ban.o servic
es.o planes.o imm_host.o colorize.o
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: cann
ot find -lregex
collect2: ld returned 1 exit status
make[1]: *** [smaug] Error 1
make[1]: Leaving directory `/home/unknown/smaug/dist/src'
make: *** [all] Error 2 | top |
|
| Posted by |
Nick Gammon
Australia (18,770 posts) bio
Forum Administrator |
| Date |
Reply #1 on Tue 03 Sep 2002 08:49 AM (UTC) [ quote
] |
| Message |
| Search the forum (see link below) for "regex". There are quite a few posts on the subject. One should be able to help you. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|
| Posted by |
Ngu
(3 posts) bio
|
| Date |
Reply #2 on Tue 03 Sep 2002 11:34 PM (UTC) [ quote
] |
| Message |
| I read all the posts about regex and it didn't help at all...... | top |
|
| Posted by |
Nick Gammon
Australia (18,770 posts) bio
Forum Administrator |
| Date |
Reply #3 on Tue 03 Sep 2002 11:58 PM (UTC) [ quote
] |
| Message |
| Edit the file "Makefile" and try taking out "-lregex" from it. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | top |
|
| Posted by |
Ngu
(3 posts) bio
|
| Date |
Reply #4 on Wed 04 Sep 2002 02:13 AM (UTC) [ quote
] |
| Message |
Thanks, that helped alot!! but, now when I try to run it this message comes up, when i double click the exe it says A Cygwin DLL is missing Cygwin1.Dll, when i try to run it in cygwin i get this
$ d:/cygwin/home/unknown/smaug/dist/smaug.exe
Tue Sep 3 21:49:33 2002 :: Booting Database
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Tue Sep 3 21:49:33 2002 :: [*****] BOOT: ---------------------[ Boot Log ]-----
---------------
Tue Sep 3 21:49:33 2002 :: Loading commands
Tue Sep 3 21:49:33 2002 :: [*****] BUG: Cannot open commands.dat | top |
|
| Posted by |
Nick Gammon
Australia (18,770 posts) bio
Forum Administrator |
| Date |
Reply #5 on Wed 04 Sep 2002 02:47 AM (UTC) [ quote
] |
| Message |
You need to execute it in the area directory.
Either:
* put the directory which contians cygwin1.dll into your path environment variable
* put cygwin1.dll into a directory that is in your path (eg. \windows\system)
* copy cygwin1.dll into your area directory |
- 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.
1,485 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )