[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  Compiling the server
. . -> [Subject]  Compiling problem.......

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: Compiling problem.......
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please).
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date 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
[Go to top] top

Posted by Ngu   (3 posts)  [Biography] bio
Date 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
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date 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
[Go to top] top

Posted by Ngu   (3 posts)  [Biography] bio
Date Tue 03 Sep 2002 11:34 PM (UTC)  quote  ]
Message
I read all the posts about regex and it didn't help at all......
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date 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
[Go to top] top

Posted by Ngu   (3 posts)  [Biography] 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
[Go to top] 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,482 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]