Tremulous Forum

Mods => Modding Center => Topic started by: Lonly on August 13, 2009, 10:52:46 PM

Title: Compiling Error
Post by: Lonly on August 13, 2009, 10:52:46 PM
make[2]: Entering directory `/c/trunk'
make[2]: `build/release-mingw32-x86/base/vm/cgame.qvm' is up to date.
Q3ASM build/release-mingw32-x86/base/vm/game.qvm
error: symbol G_admin_cleanup undefined
error: symbol G_admin_print undefined
Multiple definitions for $415_24_24
make[2]: *** [build/release-mingw32-x86/base/vm/game.qvm] Error 97
make[2]: Leaving directory `/c/trunk'
make[1]: *** [targets] Error 2
make[1]: Leaving directory `/c/trunk'
make: *** [release] Error 2

All the defines where deleted since it was too long. For the full thing is :

http://www.mediafire.com/download.php?jymmzjgdmzi (http://www.mediafire.com/download.php?jymmzjgdmzi)

I have nero's source.
Title: Re: Compiling Error
Post by: Archangel on August 13, 2009, 10:56:32 PM
it's rather self explanatory. there's no such routine G_admin_cleanup, nor G_admin_print. define them.
Title: Re: Compiling Error
Post by: Lonly on August 13, 2009, 11:08:11 PM
Quote from: Archangel on August 13, 2009, 10:56:32 PM
it's rather self explanatory. there's no such routine G_admin_cleanup, nor G_admin_print. define them.

You mean in the makefile?
Title: Re: Compiling Error
Post by: Archangel on August 13, 2009, 11:17:13 PM
no, in whatever file they're defined in (i think g_admin.c ?)
Title: Re: Compiling Error
Post by: David on August 13, 2009, 11:42:45 PM
It's a q3asm error, not a gcc error.  (He cut all the useful bit of the error from the bit he posted here >_>).

Try doing a make clean before running make.
Title: Re: Compiling Error
Post by: Lonly on August 14, 2009, 01:53:03 AM
how do i clear? I forgot lmao.
Title: Re: Compiling Error
Post by: Archangel on August 14, 2009, 02:18:09 AM
Quote from: David on August 13, 2009, 11:42:45 PM
make clean
Title: Re: Compiling Error
Post by: Lonly on August 14, 2009, 06:26:58 PM
Fail. Didn't work, same error(s).
Title: Re: Compiling Error
Post by: Archangel on August 15, 2009, 02:08:11 AM
paste the whole error?
Title: Re: Compiling Error
Post by: KillerWhale on August 15, 2009, 05:24:24 PM
Please, before you post the entire error, make sure you use the "code" tag.

Also.
Quote from: Lonly on August 13, 2009, 10:52:46 PM
I have nero's source.

Quote from: Lonly on August 13, 2009, 10:52:46 PM
nero's source.

Quote from: Lonly on August 13, 2009, 10:52:46 PM
nero

Found your problem.


Nero's QVM is known to be prone to all sorts of weird errors, segfaults, and basically anything that can go wrong with a QVM.
Title: Re: Compiling Error
Post by: Lonly on August 15, 2009, 06:17:56 PM
when i had nero's qvm plain it compiled fine, now that i add 4 commands (denyclass, allowclass, denyweapon, allowweapon), it crashes. And i cant post whole error its too big to post.
Title: Re: Compiling Error
Post by: KillerWhale on August 15, 2009, 06:37:33 PM
Those particular patches take some hacking to get working right, if I recall correctly.
They won't patch cleanly with just the patch.
Title: Re: Compiling Error
Post by: Lonly on August 16, 2009, 06:36:02 PM
actually foe got the right solution, delete the build folder and recompile, everything went fine :-}
Title: Re: Compiling Error
Post by: Archangel on August 16, 2009, 08:12:01 PM
that's more or less what make clean does.