[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]  Compile any Rom code with Cygwin

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Compile any Rom code with Cygwin

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Michael Piwoni   (4 posts)  [Biography] bio
Date Fri 15 Aug 2008 04:34 AM (UTC)  quote  ]
Message
Hi.. I'm messing around trying to pick back up some of the skills I swear I used to have with MUD code. I've tried NUMEROUS packages today and none have worked but for arguments sake, the last one I've tried was your QuickMUD download.

I've tried a number of different Makefile's and part of the problem is that it isn't apparent to me which I should be using. When I do use the "make" command using Cygwin in the ../src directory, i get A LOT of errors, most of which go something like:

tables.h:29: error: array type has incomplete element type

I've checked and MOST of the .c files successfully compile into object files but a few don't:
act_comm.c
act_info.c
bit.c
bitsys.c
comm.c
db.c
db2.c
handler.c
hedit.c
lookup.c
olc.c
olc_act.c
olc_mpcode.c
olc_save.c
save.c
scan.c

Ok so quite a few don't compile.. any idea what's going on here? I've made sure to download all of the necessary make command files for cygwin.. at least I'm pretty sure I have.

HELP!
map




[Go to top] top

Posted by Zeno   USA  (2,867 posts)  [Biography] bio   Moderator
Date Reply #1 on Fri 15 Aug 2008 04:44 AM (UTC)  quote  ]
Message
Quote:
I've tried NUMEROUS packages today and none have worked but for arguments sake

SmaugFUSS should work just fine (and I recommend it).

Quote:
any idea what's going on here?

As it states, it's getting an error on line 29 of tables.h

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Michael Piwoni   (4 posts)  [Biography] bio
Date Reply #2 on Fri 15 Aug 2008 04:25 PM (UTC)  quote  ]
Message
Thanks,

I'll give Smaug a try but the error I noted is just one of hundreds like it so I'm more wondering what the root cause is of that specific error. What is it trying to reference that is missing? I've checked a few of the lines of code it mentions but I just don't see anything wrong.. this is why I am thinking I'm somehow using the wrong Makefile (even though I've tried them all).
[Go to top] top

Posted by Michael Piwoni   (4 posts)  [Biography] bio
Date Reply #3 on Fri 15 Aug 2008 04:47 PM (UTC)  quote  ]
Message
Smaug definitely got further.. however.. there are errors stemming from the fact that it can't find a /sys folder containing a socket.h file which doesn't seem to have been included with the release..
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Reply #4 on Fri 15 Aug 2008 05:02 PM (UTC)  quote  ]
Message
If you're not finding socket.h, it means that your Cygwin install probably isn't correct. Did you get normal SMAUG or SmaugFUSS?

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Michael Piwoni   (4 posts)  [Biography] bio
Date Reply #5 on Sat 16 Aug 2008 02:26 AM (UTC)  quote  ]
Message
*sigh*

Well I was trying SmaugFUSS but now I've been trying the same thing on linux Ubuntu (easier, right??) but I'm just getting a bunch of errors again:

gcc -c -O -g3 -Wall -Wuninitialized -DREQUESTS -DSMAUG -DREGEX -DUSE_IMC act_comm.c
act_comm.c: In function ‘is_profane’:
act_comm.c:4306: warning: implicit declaration of function ‘re_exec’
gcc -c -O -g3 -Wall -Wuninitialized -DREQUESTS -DSMAUG -DREGEX -DUSE_IMC act_info.c
gcc -c -O -g3 -Wall -Wuninitialized -DREQUESTS -DSMAUG -DREGEX -DUSE_IMC act_move.c
act_move.c:393:15: warning: trigraph ??> ignored, use -trigraphs to enable
act_move.c: In function ‘generate_exit’:
act_move.c:604: error: lvalue required as left operand of assignment
make[1]: *** [act_move.o] Error 1
make[1]: Leaving directory `/home/map/Smaug/dist/src'
make: *** [all] Error 2

And that's as far as it goes..

[Go to top] top

Posted by Nick Gammon   Australia  (18,772 posts)  [Biography] bio   Forum Administrator
Date Reply #6 on Sat 16 Aug 2008 06:44 AM (UTC)  quote  ]
Message
Are you using the latest SmaugFUSS? Try searching this forum for re_exec - I think that has come up quite a few times.

- Nick Gammon

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

Posted by Zeno   USA  (2,867 posts)  [Biography] bio   Moderator
Date Reply #7 on Sat 16 Aug 2008 02:56 PM (UTC)  quote  ]
Message
That is not SmaugFUSS.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[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,461 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]