|
|||||||
This is a discussion on "Circle - Death Gate make errors" in the Top Mud Sites MUD Coding forum : 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 ... |
|
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our MUD community today! If you have any problems with the registration process or your account login, please contact us. If you are a registered member of the old TMS forums, please click here
|
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
|
Member
|
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 |
|
|
|
|
|
#2 |
|
Senior Member
|
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@ =). |
|
|
|
|
|
#3 |
|
Member
|
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. |
|
|
|
|
|
#4 |
|
Senior Member
|
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] |
|
|
|
|
|
#5 |
|
Member
|
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.
|
|
|
|
|
|
#6 |
|
Senior Member
|
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. |
|
|
|
|
|
#7 |
|
New Member
Join Date: Apr 2002
Posts: 12
![]() |
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 |
|
|
|
|
|
#8 |
|
Member
|
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.
|
|
|
|
|
|
#9 |
|
Senior Member
|
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 =). |
|
|
|
|
|
#10 |
|
Member
|
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.
|
|
|
|
|
|
#11 |
|
Member
|
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? |
|
|
|
|
|
#12 |
|
Senior Member
|
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. |
|
|
|
![]() |
| 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 10:13 PM |
| Character Death | karlan | Advanced MUD Concepts | 13 | 04-08-2003 08:50 AM |
| Death Systems | Crystal | MUD Administration | 9 | 03-05-2003 11:00 AM |
| Rom 2.4 Mob errors | Torren | MUD Coding | 8 | 05-08-2002 08:58 PM |
| Errors crashing compile | Sevoric | MUD Coding | 24 | 04-28-2002 12:37 PM |
|
|