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
➜ cygwin/file acces
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Boris
(9 posts) Bio
|
| Date
| Thu 16 Aug 2001 10:28 AM (UTC) |
| Message
| This might not really apply to the rom offered on this site, but I can't do without the wealth of information that is Nick Gammon :>. So anyway, compiling rom while rom is actually running (need to use copyover!) doesn't work under cygwin.
"..../i686-pc-cygwin/bin/ld: cannot open output file rom.exe: Permission denied
collect2: ld returned 1 exit status
make: *** [rom] Error 1"
Changing the name of the file before run works, but it's a pretty worthless solution. One copyover resets the file name. Any way around this?
Thanks! | | Top |
|
| Posted by
| Boris
(9 posts) Bio
|
| Date
| Reply #1 on Thu 16 Aug 2001 10:42 AM (UTC) |
| Message
| On a somewhat different topic, copyover seems to only work when I'm running gdb. Otherwise, I get
"Write_to_descriptor: The descriptor is a file, not a socket"
I have no clue what's going on here! | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #2 on Thu 16 Aug 2001 09:10 PM (UTC) |
| Message
| Probaby the simplest solution is just to make a copy for running purposes. Make a little shell script like this:
cp rom.exe romrun.exe
cd ../area
../src/romrun.exe
Then run that script rather than just rom.exe. This way it makes a temporary copy - which you use to run rom, and you can recompile as many times as you like, replacing the original rom.exe. Next time you restart the MUD, it will recopy it, and run from the most recent copy. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Boris
(9 posts) Bio
|
| Date
| Reply #3 on Thu 16 Aug 2001 09:44 PM (UTC) |
| Message
| Well I added this to the startup script, which I haven't used before now. When I go to do ./startup 4000 & it gives me
"BASH: ./startup: bad interpreter: No such file or directory"
And I didn't leave out any packages installing cygwin... How can I run this? | | Top |
|
| Posted by
| Boris
(9 posts) Bio
|
| Date
| Reply #4 on Thu 16 Aug 2001 10:57 PM (UTC) |
| Message
| | Spoke too soon. Just needed to change it to tcsh. | | 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.
18,876 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top