[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]  ROM
. -> [Folder]  Compiling the server
. . -> [Subject]  New With Cygwin Compiler

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: New With Cygwin Compiler
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 Tue 25 Dec 2001 11:56 PM (UTC)  quote  ]
Message
Segmentation fault means the linker crashed with some sort of access violation. Why, I can't say.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Liltoflm   (22 posts)  [Biography] bio
Date Sat 22 Dec 2001 06:24 PM (UTC)  quote  ]
Message
I sort of gave up on SWR code and tried out GodWars,I think I'm getting the same message as he is.All the C files have been turned to Object files,but when it tries to make the exe file,it feeds out an error:

$ make
rm -f merc
gcc -O -o merc act_comm.o act_info.o act_move.o act_obj.o act_wiz.o comm.o cons
t.o db.o fight.o handler.o interp.o magic.o save.o special.o update.o clan_table
.o kav_wiz.o kav_fight.o kav_info.o clan.o more.o artifact.o home.o rot_wiz.o de
mon.o werewolf.o olc.o string.o bit.o imc.o imc-interp.o imc-version.o imc-mail.
o imc-util.o imc-events.o imc-config.o imc-mercbase.o ice.o icec.o icec-mercbase
.o core.o
collect2: ld terminated with signal 11 [Segmentation fault]
make: *** [merc] Error 1

Can you derive anything from this jibberish talk?
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Thu 20 Dec 2001 03:46 AM (UTC)  quote  ]
Message
If you click on the "system" menu (top LH corner) and then select the menu item "Edit -> Mark" you will then be able drag the mouse over the error message. When it is highlighted press <Enter> and the highlighted text will be copied to the Clipboard.

Then you can paste it into a message here.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Mr.UnhappyDragon   (7 posts)  [Biography] bio
Date Thu 20 Dec 2001 02:06 AM (UTC)  quote  ]
Message
I cannot copy and paste it
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Wed 19 Dec 2001 03:39 AM (UTC)  quote  ]
Message
I didn't understand the problem there, you had better copy and paste the actual error message.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Mr.UnhappyDragon   (7 posts)  [Biography] bio
Date Tue 18 Dec 2001 11:30 PM (UTC)  quote  ]
Message
Now im getting an area on each mud trying to compile on db.o unless on one that ends sometime sooner
make *** [db.o] Error 1
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Tue 18 Dec 2001 12:35 AM (UTC)  quote  ]
Message

Take another look at the Cygwin install. You should see an image like the one below. You need to click inside the install window and scroll bars will appear, and click on the categories (eg. Devel) to see the individual files. In the screen dump you can see, near the bottom, gcc, the compilers.

Cygwin install example - 24K


- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Mr.UnhappyDragon   (7 posts)  [Biography] bio
Date Mon 17 Dec 2001 10:02 PM (UTC)  quote  ]
Message
I dont see anything when it gives you a choice to pick it i see math and mail
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Sun 16 Dec 2001 10:18 PM (UTC)  quote  ]
Message

Sounds like you didn't install 'make' when you installed Cygwin. Make sure you install make and the C compiler.

Detailed information about doing compiles, getting a compiler, making changes, and other useful topics are in the web page How to make changes, including compiling. Whilst this is written for SMAUG, a great deal also applies to ROM as well.


- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Mr.UnhappyDragon   (7 posts)  [Biography] bio
Date Sun 16 Dec 2001 01:14 AM (UTC)  quote  ]
Message
Ok the only problem i have now is every time i type make it gives me this

$ make
Bash : Make : command not found
[Go to top] top

Posted by Mr.UnhappyDragon   (7 posts)  [Biography] bio
Date Sun 16 Dec 2001 12:11 AM (UTC)  quote  ]
Message
Ive got to understand how to get into makefile directoris but now my problem is everytime it type make it doesnt recognize it as a command
[Go to top] top

Posted by Mr.UnhappyDragon   (7 posts)  [Biography] bio
Date Sat 15 Dec 2001 07:36 PM (UTC)  quote  ]
Message
I was also wondering does cygwin do dsp files and makefiles for compiling i wasnt sure about this earlier
[Go to top] top

Posted by Mr.UnhappyDragon   (7 posts)  [Biography] bio
Date Sat 15 Dec 2001 07:23 PM (UTC)  quote  ]
Message
I dont know how to compile with it so id like some help any basic ideas and ill be more specific on what kind of muds
[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.


3,013 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]