Top Mud Sites Forum Return to TopMudSites.com
Go Back   Top Mud Sites Forum > Mud Development and Administration > MUD Coding
Click here to Register

Reply
 
Thread Tools
Old 04-19-2002, 03:30 AM   #1
Eagleon
Member
 
Join Date: Apr 2002
Location: Milwaukee, WI
Posts: 147
Eagleon is on a distinguished road
Send a message via ICQ to Eagleon Send a message via Yahoo to Eagleon
Okay, I d/led the source for a circle deriative based on the series of books called The Death Gate Cycle, which is no longer running on any muds that I know of, and am attempting to get it to make with Cygwin. I have not yet managed to learn to code, so I can't figure out these errors. It would be great if someone helped me out. Here's the messages I get when I type make in the src directory.

[code] $ make
Makefile;83; warning; overriding commands for target `all'
Makefile;2; warning; ignoring old commands for target `all'
make ../bin/circle
make[1]; Entering directory `/circle-dg/src'
Makefile;83; warning; overriding commands for target `all'
Makefile;2; warning; ignoring old commands for target `all'
make[1]; CC@; Command not found
make[1]; *** [comm.o] Error 127
make[1]; Leaving directory `/circle-dg/src'
make; *** [all] Error 2.[/quote]

If you need more info to solve this, such as lines from the makefile, just ask me. Thanks
Eagleon is offline   Reply With Quote
Old 04-19-2002, 08:23 AM   #2
Yui Unifex
Senior Member
 
Join Date: Apr 2002
Location: Florida
Posts: 323
Yui Unifex is on a distinguished road
Send a message via ICQ to Yui Unifex Send a message via AIM to Yui Unifex
Question

It looks like there's a variable in the Makefile that's undefined, or defined improperly. The CC@ tells me that it's most likely supposed to be CC, the C Compiler. Usually this is represented with $(CC), and has a line in the makefile that looks something like:
[code] CC = gcc[/quote]

So try changing the CC@ to $(CC). And if that doesn't work, post the code around the CC@ =).
Yui Unifex is offline   Reply With Quote
Old 04-19-2002, 12:50 PM   #3
Eagleon
Member
 
Join Date: Apr 2002
Location: Milwaukee, WI
Posts: 147
Eagleon is on a distinguished road
Send a message via ICQ to Eagleon Send a message via Yahoo to Eagleon
Okay, that got rid of some of the errors, but others popped up from later in the makefile.
Heres the messages:

[code] $ make
Makefile;83; warning; overriding commands for target `all'
Makefile;2; warning; ignoring old commands for target `all'
make ../bin/circle
make[1]; Entering directory `/circle-dg/src'
Makefile;83; warning; overriding commands for target `all'
Makefile;2; warning; ignoring old commands for target `all'
gcc @CFLAGS@ @MYFLAGS@ -c -o comm.o comm.c
gcc; cannot specify -o with -c or -S and multiple compilations
make[1]; *** [comm.o] Error 1
make[1]; Leaving directory `/circle-dg/src'
make; *** [all] Error 2
[/quote]

And heres the parts of the makefile that I think is causing the problem.

[code] #compiler name and flags
CC = gcc
DGFLAGS = $(DEBUGFLAGS)
MYFLAGS = @MYFLAGS@
[/quote]

then later in it:

[code] CFLAGS = @CFLAGS@ $(MYFLAGS) $(DGFLAGS) $(PROFILE)
LIBS = @LIBS@ $(DEBUGLIBS)
[/quote]

This comes right before it lists a bunch of *.o files.
Eagleon is offline   Reply With Quote
Old 04-19-2002, 01:06 PM   #4
Yui Unifex
Senior Member
 
Join Date: Apr 2002
Location: Florida
Posts: 323
Yui Unifex is on a distinguished road
Send a message via ICQ to Yui Unifex Send a message via AIM to Yui Unifex
Question

Ahh, I believe that @VARIABLE@ is intended to inherit global or parent flags.  I'm not familiar with that syntax, sorry.  But it looks like you can safely remove it.  I'd suggest removing the line:
[code] MYFLAGS = @MYFLAGS@[/quote]

and changing:

[code] CFLAGS = @CFLAGS@ $(MYFLAGS) $(DGFLAGS) $(PROFILE)
to
CFLAGS = $(DGFLAGS) $(PROFILE)

and

LIBS = @LIBS@ $(DEBUGLIBS)
to
LIBS = $(DEBUGLIBS)
[/quote]
Yui Unifex is offline   Reply With Quote
Old 04-19-2002, 02:19 PM   #5
Eagleon
Member
 
Join Date: Apr 2002
Location: Milwaukee, WI
Posts: 147
Eagleon is on a distinguished road
Send a message via ICQ to Eagleon Send a message via Yahoo to Eagleon
Oy. That made more errors than I can count. I'll stick to the things that I can actually compile, and learn to code some time in the distant future. I don't think I'll be running a Death Gate based mud anyway, I have too many ideas of my own. Thanks for the help, even though it didn't work out.
Eagleon is offline   Reply With Quote
Old 04-19-2002, 03:08 PM   #6
Yui Unifex
Senior Member
 
Join Date: Apr 2002
Location: Florida
Posts: 323
Yui Unifex is on a distinguished road
Send a message via ICQ to Yui Unifex Send a message via AIM to Yui Unifex
Question

I decided to read up on the @THINGY@ semantics of makefiles. Apparently they do inherit variables, but from Autoconf. Apparently the makefile you have is a template or something or other (I'm not particularly fond of autoconf/configure). Try running "./configure" before running "make".

If you haven't already deleted the system, that is =P.
Yui Unifex is offline   Reply With Quote
Old 04-19-2002, 03:37 PM   #7
cainers
New Member
 
Join Date: Apr 2002
Posts: 12
cainers is on a distinguished road
Yes, this is probably too little too late but....

Death Gate Mud is a derivative of an old circlemud version. 2.2 i think. As such you would need to run the ./configure script to create a makefile that will run on your system.

I agree with Yui, and as such a scrapped the config script on my circle deriv. A friend of mine provided us with a new Makefile which we've used ever since.

Best Regards
cainers is offline   Reply With Quote
Old 04-19-2002, 06:52 PM   #8
Eagleon
Member
 
Join Date: Apr 2002
Location: Milwaukee, WI
Posts: 147
Eagleon is on a distinguished road
Send a message via ICQ to Eagleon Send a message via Yahoo to Eagleon
Okay, I haven't deleted the system just yet. I thought I had already ran the configure thing, but it is clear to me now that I didn't. Okay, I ran it, had some trouble with a missing conf.h.in file, copied conf.h, renamed it to conf.h.in, and that seemed to work. Now, a problem: I can't get it to make with makefile.in instead of just makefile. Heh. What's the syntax? I tried just 'make makefile.in', but it doesn't work. Probrally stupidly simple, but oh well.
Eagleon is offline   Reply With Quote
Old 04-19-2002, 08:06 PM   #9
Yui Unifex
Senior Member
 
Join Date: Apr 2002
Location: Florida
Posts: 323
Yui Unifex is on a distinguished road
Send a message via ICQ to Yui Unifex Send a message via AIM to Yui Unifex
Question

Makefile.in is the template that configure uses to generate the *real* Makefile. It should be generated automagically if you run configure. When you ran configure, didn't it say "generating Makefile..." and the like?

Copying/renaming conf.h.in may result in some weirdness, because conf.h is supposed to be *generated* from conf.h.in =).
Yui Unifex is offline   Reply With Quote
Old 04-20-2002, 12:14 AM   #10
Eagleon
Member
 
Join Date: Apr 2002
Location: Milwaukee, WI
Posts: 147
Eagleon is on a distinguished road
Send a message via ICQ to Eagleon Send a message via Yahoo to Eagleon
See, the problem was that I didn't _have_ conf.h.in. I had conf.h, but no conf.h.in. Heh heh. Okay, I'm going to try looking for the source again, deleting the thing, and starting over, removing any stupid changes I may have made. Lol.
Eagleon is offline   Reply With Quote
Old 04-20-2002, 12:32 AM   #11
Eagleon
Member
 
Join Date: Apr 2002
Location: Milwaukee, WI
Posts: 147
Eagleon is on a distinguished road
Send a message via ICQ to Eagleon Send a message via Yahoo to Eagleon
Okay, got it back again, and this is what I got at the end of the configuration:

[code] updating cache ./config.cache
creating ./config.status
creating src/Makefile
creating src/conf.h
cp; cannot stat `./src/conf.h.in'; No such file or directory
sed; can't read conftest.in; No such file or directory
[/quote]

See what I mean?
Eagleon is offline   Reply With Quote
Old 04-20-2002, 11:43 AM   #12
Yui Unifex
Senior Member
 
Join Date: Apr 2002
Location: Florida
Posts: 323
Yui Unifex is on a distinguished road
Send a message via ICQ to Yui Unifex Send a message via AIM to Yui Unifex
Question

Well, I decided to take a look at the codebase you're talking about to see if anything could be salvaged. I downloaded the base here. It's having the exact same problems you described. Unfortunately, their usage of the configuration template (conf.h.in) isn't limited to only a few #defines (in which case I'd be able to give you a simple list).

So there's nothing we can do without a large investment of time in hunting down the areas that need the configuration file. I suggest giving those people found in the credits (in the NOTES file) an email, as they surely didn't wish to release a codebase in this state.
Yui Unifex is offline   Reply With Quote
Reply


Thread Tools


Circle - Death Gate make errors - Similar Threads
Thread Thread Starter Forum Replies Last Post
Death Traps karlan MUD Builders and Areas 22 05-11-2003 11:13 PM
Character Death karlan Advanced MUD Concepts 13 04-08-2003 09:50 AM
Death Systems Crystal MUD Administration 9 03-05-2003 12:00 PM
Rom 2.4 Mob errors Torren MUD Coding 8 05-08-2002 09:58 PM
Errors crashing compile Sevoric MUD Coding 24 04-28-2002 01:37 PM

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -4. The time now is 10:47 PM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Style based on a design by Essilor
Copyright Top Mud Sites.com 2014