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


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  Compiling the server
. . -> [Subject]  Having problems compiling SMAUGFUSS1.9 under Cygwin.

Having problems compiling SMAUGFUSS1.9 under Cygwin.

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


Posted by JWT2k6   (2 posts)  [Biography] bio
Date Thu 09 Jun 2011 02:32 PM (UTC)

Amended on Thu 09 Jun 2011 02:35 PM (UTC) by JWT2k6

Message
Here is the error I am getting:

$ make
Compiling o/imc.o...
cc1plus: warnings being treated as errors
imc.c:106: error: deprecated conversion from string constant to ‘char*’
imc.c:106: error: deprecated conversion from string constant to ‘char*’
imc.c:106: error: deprecated conversion from string constant to ‘char*’
imc.c:106: error: deprecated conversion from string constant to ‘char*’
imc.c:106: error: deprecated conversion from string constant to ‘char*’
imc.c:106: error: deprecated conversion from string constant to ‘char*’

That isn't all of the errors, but they all seem to be coming from this one c file. I imagine that if the errors are fixed in this file, then the next file to be compiled will have a bunch of errors as well.

I made sure to uncomment the Cygwin line in the makefile. I have no idea what could be causing the problem.

Also disregard the undisplayable text (boxes around the char*). My lack of experience with Linux didn't allow for a clean copy+paste :P
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio
Date Reply #1 on Thu 09 Jun 2011 03:52 PM (UTC)
Message
You could just disable IMC.

There's been a few topics on this. Better to be posted over at the SmaugFUSS forums: http://www.smaugmuds.org/index.php?a=topic&t=4173&p=18908

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

Posted by JWT2k6   (2 posts)  [Biography] bio
Date Reply #2 on Thu 09 Jun 2011 04:08 PM (UTC)
Message
I guess I kinda found a fix for it?

I removed the -Werror flag. I get a bunch of warnings now, but it compiles and the MUD runs fine.

I'd like to get rid of the errors though. I tried removing the -Wconversion flag as the thread you linked suggested, but it didn't seem to do anything.
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio
Date Reply #3 on Thu 09 Jun 2011 10:35 PM (UTC)
Message
Try here: http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=8655

Check the part about Wwrite-strings

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

Posted by Hubwired   (3 posts)  [Biography] bio
Date Reply #4 on Wed 24 Aug 2011 05:24 AM (UTC)
Message
I'm really a newbie at this muds and smaugfuss stuff but I couldn't help myself to stop and read this post from you, folks. I just downloaded smaugfuss1.9 from http://www.smaugmuds.org
I downloaded and installed the latest version of Cygwin August 23rd 2011
1) I tar xvzf smaugfuss1.9.tgz then
2) I went to the src dir and did just one change in Makefile
3) Uncomment Cygwin then save Makefile
4) executed the command make
compiled the whole thing without a "fuss" .. :)
NOte: I haven't tested the compiled smaugfuss yet but I will do that in a few and I will post it here..
Hope this might help.
Hubwired
God bless you all....

[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.


18,378 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]