[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  Compiling the server
. . -> [Subject]  Compiling

Compiling

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


Posted by Polarus   Canada  (69 posts)  [Biography] 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=-
[Go to top] top

Posted by Nick Gammon   Australia  (22,973 posts)  [Biography] 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
[Go to top] top

Posted by Polarus   Canada  (69 posts)  [Biography] 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=-
[Go to top] top

Posted by Polarus   Canada  (69 posts)  [Biography] 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=-
[Go to top] top

Posted by Polarus   Canada  (69 posts)  [Biography] 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=-
[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.


12,121 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]