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 ➜ Make Newbie Help CygWin Full Install Win98se

Make Newbie Help CygWin Full Install Win98se

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


Pages: 1 2  

Posted by Raven72   (14 posts)  Bio
Date Sun 14 Sep 2003 09:32 AM (UTC)
Message
$ make smaug
gcc -c -O -g3 -Wall -Wuninitialized -DSMAUG act_comm.c
cc1: internal error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make: *** [act_comm.o] Error 1


Any help ????

Top

Posted by Raven72   (14 posts)  Bio
Date Reply #1 on Sun 14 Sep 2003 07:23 PM (UTC)
Message
smaug1.4a_mxp.tgz - 1.5 Mb - Source (only) for SMAUG server v 1.4a for Unix/Cygwin with MXP added (Mud Extension Protocol)

OK I ahve windows98se this is the smaug server i installed on cygwin only thing changed was te levels in mud.h as
explained when i tryed to compile i got this error



admin@z7a2o6 /cygdrive/c/mud/smaug/dist/src
$ make smaug
gcc -c -O -g3 -Wall -Wuninitialized -DSMAUG act_comm.c
cc1: internal error: Illegal instruction
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make: *** [act_comm.o] Error 1


Any help you can give to fix this problam would help me out!
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #2 on Sun 14 Sep 2003 09:14 PM (UTC)
Message
How much memory do you have on the PC? I have read that Cygwin can crash in strange ways if memory is tight.

- Nick Gammon

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

Posted by Raven72   (14 posts)  Bio
Date Reply #3 on Mon 15 Sep 2003 11:56 PM (UTC)
Message
compaq 500 mgh with 500 megs of memory i do not have memory problams for some reason it will not compile the file dunno
Top

Posted by Raven72   (14 posts)  Bio
Date Reply #4 on Mon 15 Sep 2003 11:58 PM (UTC)
Message
Also have about3 gigs space left on a 9 gig hard drive :)
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #5 on Tue 16 Sep 2003 12:12 AM (UTC)
Message
What version of GCC do you have? Perhaps yours is outdated and does not support whatever instruction the makefile is trying to run. I've never heard of such an error though, so this could be something completely different.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Raven72   (14 posts)  Bio
Date Reply #6 on Tue 16 Sep 2003 01:51 AM (UTC)
Message
I just downloaded the full pakages for all of the cygwin so could not be that as far as what version i have no clue what it is
:)

Raven72
Top

Posted by Raven72   (14 posts)  Bio
Date Reply #7 on Tue 16 Sep 2003 01:58 AM (UTC)
Message
Ok got it now maybe soemthing running was stopping it so far so good!
Top

Posted by Raven72   (14 posts)  Bio
Date Reply #8 on Tue 16 Sep 2003 02:00 AM (UTC)
Message
ok it got this far
save.c: In function `load_char_obj':
save.c:949: warning: suggest explicit braces to avoid ambiguous `else'
gcc -c -O -g3 -Wall -Wuninitialized -DSMAUG shops.c
shops.c: In function `appraise_all':
shops.c:1095: warning: suggest explicit braces to avoid ambiguous `else'
gcc -c -O -g3 -Wall -Wuninitialized -DSMAUG skills.c
skills.c: In function `do_gouge':
skills.c:1674: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[1]: *** [skills.o] Error 1
make[1]: Leaving directory `/cygdrive/c/mud/smaug/dist/src'
make: *** [all] Error 2

admin@z7a2o6 /cygdrive/c/mud/smaug/dist/src
Top

Posted by Raven72   (14 posts)  Bio
Date Reply #9 on Tue 16 Sep 2003 03:01 AM (UTC)
Message
Ok when ran agian after rm *.o and typed make again i got this error

gcc -c -O -g3 -Wall -Wuninitialized -DSMAUG shops.c
shops.c: In function `appraise_all':
shops.c:1095: warning: suggest explicit braces to avoid ambiguous `else'
shops.c: In function `do_repairstat':
shops.c:1738: Internal compiler error in change_address_1, at emit-rtl.c:1934
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[1]: *** [shops.o] Error 1
make[1]: Leaving directory `/cygdrive/c/mud/smaug/dist/src'
make: *** [all] Error 2

Top

Posted by Raven72   (14 posts)  Bio
Date Reply #10 on Tue 16 Sep 2003 03:18 AM (UTC)
Message
humm after close study and about for or five makes i see it stops at random like it has problams with the gcc dunno what to do i guess keep trying maybe it will get asll the way thrue :)

Top

Posted by Raven72   (14 posts)  Bio
Date Reply #11 on Tue 16 Sep 2003 04:04 AM (UTC)
Message
ok got thrue the compile at the end this is the error I receved ..

rm -f smaug
gcc -o smaug act_comm.o act_info.o act_move.o act_obj.o act_wiz.o boards.
build.o clans.o comm.o comments.o const.o db.o deity.o fight.o handler.o hashs
.o ibuild.o ident.o interp.o magic.o makeobjs.o mapout.o misc.o mpxset.o mud_c
m.o mud_prog.o player.o polymorph.o requests.o reset.o save.o shops.o skills.o
pecial.o tables.o track.o update.o grub.o stat_obj.o ban.o services.o planes.o
mm_host.o colorize.o
chmod g+w smaug
chmod: changing permissions of `smaug': No such file or directory
make[1]: *** [smaug] Error 1
make[1]: Leaving directory `/cygdrive/c/mud/smaug/dist/src'
make: *** [all] Error 2

admin@z7a2o6 /cygdrive/c/mud/smaug/dist/src
Top

Posted by Raven72   (14 posts)  Bio
Date Reply #12 on Tue 16 Sep 2003 04:19 PM (UTC)
Message
ok got the chmod but still have problams running the mud heres the error

C:\MUD\smaug\dist\src>smaug
Mon Sep 15 23:35:17 2003 :: 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
Mon Sep 15 23:35:17 2003 :: [*****] BOOT: ---------------------[ Boot Log ]---
---------------
Mon Sep 15 23:35:17 2003 :: Loading commands
Mon Sep 15 23:35:17 2003 :: Loading sysdata configuration...
Mon Sep 15 23:35:17 2003 :: Loading socials
Mon Sep 15 23:35:17 2003 :: Loading skill table
Mon Sep 15 23:35:17 2003 :: Sorting skill table...
Mon Sep 15 23:35:17 2003 :: Remapping slots to sns
Mon Sep 15 23:35:17 2003 :: Loading classes
Mon Sep 15 23:35:17 2003 :: Loading races
Mon Sep 15 23:35:17 2003 :: Loading herb table
Mon Sep 15 23:35:17 2003 :: Loading tongues
Mon Sep 15 23:35:17 2003 :: Making wizlist
Mon Sep 15 23:35:17 2003 :: Initializing request pipe
Mon Sep 15 23:35:17 2003 :: Initializing random number generator
Mon Sep 15 23:35:17 2003 :: Setting time and weather
Mon Sep 15 23:35:17 2003 :: Assigning gsn's
Mon Sep 15 23:35:17 2003 :: Reading in area files...
area.lst: No such file or directory

C:\MUD\smaug\dist\src>
the area file is in the right place
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #13 on Tue 16 Sep 2003 10:20 PM (UTC)
Message
Don't run from the src directory. Do this:

cd ../area
../src/smaug

- Nick Gammon

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

Posted by Raven72   (14 posts)  Bio
Date Reply #14 on Tue 16 Sep 2003 11:49 PM (UTC)
Message
HUmm i do not understand this could you explain in more detail what i am to do :)

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


49,603 views.

This is page 1, subject is 2 pages long: 1 2  [Next page]

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.