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


Posted by JWT2k6   (2 posts)  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
Top

Posted by Zeno   USA  (2,871 posts)  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
Top

Posted by JWT2k6   (2 posts)  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.
Top

Posted by Zeno   USA  (2,871 posts)  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
Top

Posted by Hubwired   (3 posts)  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....

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.


21,749 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.