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


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  Compiling the server
. . -> [Subject]  Need Help Compiling

Need Help Compiling

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


Posted by Jaguar385   (16 posts)  [Biography] bio
Date Wed 20 Jun 2001 01:19 PM (UTC)
Message
Hi... I read the FAQ on how to compile the SMAUG server using Cygwin, and I did all it asked... but when I type make in the /src dir, it replies the following:

Makefile:41: *** missing separator. Stop.

Now, I'm new to compiling, really anything, so I'm not sure how I could fix this thing, so that's why I'm writing on this bboard :)

Thanks, help or no help,
~Jaguar (Matt)
[Go to top] top

Posted by Nick Gammon   Australia  (22,982 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Thu 21 Jun 2001 09:40 PM (UTC)
Message
Sounds like you did something to the makefile (called "Makefile") at line 41. I would edit that and look closely at it. :)

- Nick Gammon

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

Posted by Jaguar385   (16 posts)  [Biography] bio
Date Reply #2 on Fri 22 Jun 2001 04:55 AM (UTC)
Message
O_FILES = act_comm.o act_info.o act_move.o act_obj.o act_wiz.o boards.o \
build.o clans.o comm.o comments.o const.o db.o deity.o fight.o \ (<--- This is line 41.*)
handler.o hashstr.o ibuild.o ident.o interp.o magic.o makeobjs.o \
mapout.o misc.o mpxset.o mud_comm.o mud_prog.o player.o polymorph.o \
requests.o reset.o save.o shops.o skills.o special.o tables.o \
track.o update.o grub.o stat_obj.o ban.o services.o planes.o \
imm_host.o $(IMC_OFILES) colorize.o

*I can't see anything wrong with 41... of course I don't even know how it's supposed to look, so the whole friggin' file may be wrong for all I know :)

Heh, thanks...
~Jaguar (matt)
[Go to top] top

Posted by Nick Gammon   Australia  (22,982 posts)  [Biography] bio   Forum Administrator
Date Reply #3 on Fri 22 Jun 2001 05:35 AM (UTC)
Message
Better email me the make file and I'll try it myself.

- Nick Gammon

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

Posted by Jaguar385   (16 posts)  [Biography] bio
Date Reply #4 on Tue 26 Jun 2001 07:40 AM (UTC)
Message
Okay, everything is working fine. ^.^
Thanks a lot, Nick :)

-Jaguar (matt)
[Go to top] top

Posted by Nick Gammon   Australia  (22,982 posts)  [Biography] bio   Forum Administrator
Date Reply #5 on Tue 26 Jun 2001 12:12 PM (UTC)
Message
In case anyone is wondering, the problem with the makefile was that somehow some lines had got wrapped (possibly by sending in an email).

Fixing up the line wrapping fixed the problem.

- Nick Gammon

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

Posted by Jaguar385   (16 posts)  [Biography] bio
Date Reply #6 on Wed 04 Jul 2001 02:55 AM (UTC)
Message
Heh. Sorry to bother you all again, but I downloaded the "already made" thing for windows (the one you don't have to compile) and I was wondering, how would I go about editing the files such as fight.c and magic.c and the others?

Hehe, thankies all.

~Jaguar(matt)
[Go to top] top

Posted by Mademoiselle   Australia  (35 posts)  [Biography] bio
Date Reply #7 on Wed 04 Jul 2001 03:27 AM (UTC)
Message
First thing you might wanna do is read through a few C Programming books. If you didn't know how to compile I'm guessing you've never touched a line of C in your life.

I've been using C/C++ casually for a few years now and I'm not even going to bother trying to get an edit to work, there's just too much happening there at once for my limited grasp of the language to deal with.
[Go to top] top

Posted by Nick Gammon   Australia  (22,982 posts)  [Biography] bio   Forum Administrator
Date Reply #8 on Wed 04 Jul 2001 09:20 PM (UTC)
Message
You can edit them with any text editor - Notepad would do. I use UltraEdit a fair bit, but there are dozens of text editors around.

However editing them won't do much on its own, then you need to compile them, to make a new executable file.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[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.


20,023 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]