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 ➜ SMAUG ➜ Compiling the server ➜ Compiling problem.......

Compiling problem.......

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


Posted by Ngu   (3 posts)  Bio
Date Tue 03 Sep 2002 06:52 AM (UTC)
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  (23,169 posts)  Bio   Forum Administrator
Date Reply #1 on Tue 03 Sep 2002 08:49 AM (UTC)
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)
Message
I read all the posts about regex and it didn't help at all......
Top

Posted by Nick Gammon   Australia  (23,169 posts)  Bio   Forum Administrator
Date Reply #3 on Tue 03 Sep 2002 11:58 PM (UTC)
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)
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  (23,169 posts)  Bio   Forum Administrator
Date Reply #5 on Wed 04 Sep 2002 02:47 AM (UTC)
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.


16,337 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.