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 ➜ Trouble Compiling under Cygwin

Trouble Compiling under Cygwin

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


Posted by Bob The Hydra   (19 posts)  Bio
Date Tue 20 Nov 2001 02:23 AM (UTC)
Message
I used the advice in your old post and made all the changes and I get this error:
make smaug
make[1]: Entering directory `/cygdrive/c/cygwin/home/acgregory/smaug/dist/src'
gcc -c -O -g3 -Wall -Wuninitialized -DSMAUG act_comm.c
act_comm.c:38: regex.h: No such file or directory
make[1]: *** [act_comm.o] Error 1
make[1]: Leaving directory `/cygdrive/c/cygwin/home/acgregory/smaug/dist/src'
make: *** [all] Error 2

Any advice?

Top

Posted by Bob The Hydra   (19 posts)  Bio
Date Reply #1 on Tue 20 Nov 2001 03:56 AM (UTC)
Message
Ok i fixed that now i get this:
make smaug
make[1]: Entering directory `/cygdrive/c/cygwin/home/acgregory/smaug/dist/src'
rm -f smaug
gcc -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 handler.o hashstr.o ibuild.o ident.o interp.o magic.o makeobjs.o mapout.o misc.o mpxset.o mud_comm.o mud_prog.o player.o polymorph.o requests.o reset.o save.o shops.o skills.o special.o tables.o track.o update.o grub.o stat_obj.o ban.o services.o planes.o imm_host.o colorize.o
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: cannot find -luser32
collect2: ld returned 1 exit status
make[1]: *** [smaug] Error 1
make[1]: Leaving directory `/cygdrive/c/cygwin/home/acgregory/smaug/dist/src'
make: *** [all] Error 2
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #2 on Tue 20 Nov 2001 05:11 AM (UTC)
Message
Sounds like it can't find the file libuser32.a - why, I cannot say unless you didn't fully install Cygwin.

I found it in two places, like this:


$ find . -name *user32*
./lib/libuser32.a
./usr/lib/libuser32.a


If you only have it in one of those places try copying it to the other place as well.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Creeper386   USA  (62 posts)  Bio
Date Reply #3 on Sat 24 Nov 2001 12:15 AM (UTC)
Message
If I remember right and your using an older version of cygwin you have to change something in the makefile dealing with that. I'll check and post back...


Creep
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.


14,980 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.