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 ➜ ROM ➜ Compiling the server ➜ New With Cygwin Compiler

New With Cygwin Compiler

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


Posted by Mr.UnhappyDragon   (7 posts)  Bio
Date Sat 15 Dec 2001 07:23 PM (UTC)
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
Top

Posted by Mr.UnhappyDragon   (7 posts)  Bio
Date Reply #1 on Sat 15 Dec 2001 07:36 PM (UTC)
Message
I was also wondering does cygwin do dsp files and makefiles for compiling i wasnt sure about this earlier
Top

Posted by Mr.UnhappyDragon   (7 posts)  Bio
Date Reply #2 on Sun 16 Dec 2001 12:11 AM (UTC)
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
Top

Posted by Mr.UnhappyDragon   (7 posts)  Bio
Date Reply #3 on Sun 16 Dec 2001 01:14 AM (UTC)
Message
Ok the only problem i have now is every time i type make it gives me this

$ make
Bash : Make : command not found
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #4 on Sun 16 Dec 2001 10:18 PM (UTC)
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
Top

Posted by Mr.UnhappyDragon   (7 posts)  Bio
Date Reply #5 on Mon 17 Dec 2001 10:02 PM (UTC)
Message
I dont see anything when it gives you a choice to pick it i see math and mail
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #6 on Tue 18 Dec 2001 12:35 AM (UTC)
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
Top

Posted by Mr.UnhappyDragon   (7 posts)  Bio
Date Reply #7 on Tue 18 Dec 2001 11:30 PM (UTC)
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
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #8 on Wed 19 Dec 2001 03:39 AM (UTC)
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
Top

Posted by Mr.UnhappyDragon   (7 posts)  Bio
Date Reply #9 on Thu 20 Dec 2001 02:06 AM (UTC)
Message
I cannot copy and paste it
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #10 on Thu 20 Dec 2001 03:46 AM (UTC)
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
Top

Posted by Liltoflm   (22 posts)  Bio
Date Reply #11 on Sat 22 Dec 2001 06:24 PM (UTC)
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?
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #12 on Tue 25 Dec 2001 11:56 PM (UTC)
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
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.


34,193 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.