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 ➜ makefile error on another mud of mine cant fix

makefile error on another mud of mine cant fix

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


Pages: 1 2  

Posted by Darzeth   (36 posts)  Bio
Date Thu 15 Jun 2006 02:41 AM (UTC)
Message
$ make
make smaug
make[1]: Entering directory `/cygdrive/c/sm/src'
gcc -c -O -g3 -Wall -Wuninitialized -DSMAUG act_comm.c
In file included from act_comm.c:32:
mud.h:1: error: parse error before '[' token
mud.h:1: error: stray '\' in program
mud.h:1: error: stray '\' in program
In file included from act_comm.c:32:
mud.h:2:68: too many decimal points in number
mud.h:5: error: parse error before numeric constant
mud.h:5: error: stray '\' in program
mud.h:6:65: warning: character constant too long for its type
act_comm.c: In function `is_profane':
act_comm.c:3363: warning: implicit declaration of function `re_exec'
make[1]: *** [act_comm.o] Error 1
make[1]: Leaving directory `/cygdrive/c/sm/src'
make: *** [all] Error 2

wat do i need to fix in here to get it to work. note this mud ditn come with a makefile so i took one from a similar mud.
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #1 on Thu 15 Jun 2006 02:56 AM (UTC)
Message
It didn't come with a Makefile? What codebase exactly are you using?

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Darzeth   (36 posts)  Bio
Date Reply #2 on Thu 15 Jun 2006 03:01 AM (UTC)
Message
smaug1.4 for windows i think it has the start up exe file so all i got to do is click it to turn it on. It didnt come with a help file but i want to do editing tot his mud.
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #3 on Thu 15 Jun 2006 03:06 AM (UTC)
Message
Well, do you want to do coding or not? If you do, I'd again suggest to use SmaugFUSS. If not, I guess I would suggest to use SmaugWiz.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Darzeth   (36 posts)  Bio
Date Reply #4 on Thu 15 Jun 2006 03:19 AM (UTC)
Message
is there a smaugfuss that has exe start up command for it cause it seems to have problems on my comp and deosnt want to start up otherwise. Cause i do want to code, but the nohup comand wont let me start the mud over here.
Top

Posted by Darzeth   (36 posts)  Bio
Date Reply #5 on Thu 15 Jun 2006 03:21 AM (UTC)
Message
i wish i can just write a makefile for my smaug code lol. to make things easier i jsut wish i can make it work so i can use the exe command that came with the mud. i can edit the code jsut cant compile it.
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #6 on Thu 15 Jun 2006 03:38 AM (UTC)
Message
Let me just ask, are you using Cygwin or no?

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Darzeth   (36 posts)  Bio
Date Reply #7 on Thu 15 Jun 2006 04:02 AM (UTC)
Message
yes im using cygwin
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #8 on Thu 15 Jun 2006 04:05 AM (UTC)
Message
Well then SmaugFUSS should be fine. It shouldn't come with a .exe anyways. What problem did you exactly have with SmaugFUSS?

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Darzeth   (36 posts)  Bio
Date Reply #9 on Thu 15 Jun 2006 04:12 AM (UTC)
Message
Compiling o/update.o....
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: cannot find
-ldl
collect2: ld returned 1 exit status
make[1]: *** [smaug] Error 1
make: *** [all] Error 2

that

and i dont know how to exactly start it up after i get that fixed.
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #10 on Thu 15 Jun 2006 04:26 AM (UTC)
Message
I've already explained how to fix it. There is a flag in the Makefile you need to toggle. If you don't understand, just let me know.

And as for starting it, run the exec or do this:
./startup &

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Darzeth   (36 posts)  Bio
Date Reply #11 on Thu 15 Jun 2006 04:28 AM (UTC)
Message
i dont know how to toggle it i should have said that sorry. im a idiot when comign to this im so new.
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #12 on Thu 15 Jun 2006 04:32 AM (UTC)
Message
Okay, look in the Makefile for a line that mentions ldl or the sort. It should say to uncomment or comment the line below. Do so by removing (or adding) a # in front of the line.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
Top

Posted by Darzeth   (36 posts)  Bio
Date Reply #13 on Thu 15 Jun 2006 04:42 AM (UTC)
Message
theres a problem im on the mud but i cant do anything it wont le tme talk or use mset or nothing
Top

Posted by Zeno   USA  (2,871 posts)  Bio
Date Reply #14 on Thu 15 Jun 2006 04:43 AM (UTC)
Message
No commands work? Does anything work?

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


56,529 views.

This is page 1, subject is 2 pages long: 1 2  [Next page]

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.