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 ➜ Compiling

Compiling

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


Posted by Polarus   Canada  (69 posts)  Bio
Date Sun 15 Sep 2002 05:47 AM (UTC)
Message
Ok, when people have a text file with a snippet or whatever and you put it in the right place in a file. Then it tells you to clean, recompile, and reboot. I guess my question, do you just complie the one file you worked on, or are you supposed to somehow compile them all. I am really new to coding (Don't worry, i am just building for the fun of it)

-=Flitting from Project to Project=-
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 15 Sep 2002 07:58 AM (UTC)
Message
If you type "make clean" which is what they mean, it deletes all the object files, thus they all get recompiled.

- Nick Gammon

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

Posted by Polarus   Canada  (69 posts)  Bio
Date Reply #2 on Sun 15 Sep 2002 07:07 PM (UTC)
Message
Well, it appears that Cygwin was at fault, i downloaded it again (spent several hours and got every option possible) and it will make clean now. But it still will not make.
when I type make in the src directory i get this:
gcc: installation problem, cannot exec `/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5
/cpp0.exe': Permission denied

and a window pops up that says this:

The CPP0.EXE file is linked to missing export CYGWIN1.DLL:_ctype_

So, after i edit the code, and make clean, how do i get it to boot/ i can't use the exe file anymore becuase it won't load the changes, will it?

-=Flitting from Project to Project=-
Top

Posted by Polarus   Canada  (69 posts)  Bio
Date Reply #3 on Sun 15 Sep 2002 10:19 PM (UTC)
Message
Yay! I just had to put the new cygwin1.dll in the windows folder, to replace the old one. Unfornutely when I attempt to 'make' the smaug code i get this error.
make[1]: *** [smaug] Error 1
make[1]: Leaving directory `/cygdrive/c/smaugback/smaug/dist/src'
make: *** [all] Error 2

-=Flitting from Project to Project=-
Top

Posted by Polarus   Canada  (69 posts)  Bio
Date Reply #4 on Sun 15 Sep 2002 11:02 PM (UTC)
Message
Yay! I fixed this too. Thanks to everyone for their help. I just had to comment some stuff in the makefile

-=Flitting from Project to Project=-
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.


17,721 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.