News:

Come Chat with us live! Learn how HERE!

Main Menu

Compiling Error

Started by Lonly, August 13, 2009, 10:52:46 PM

Lonly

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


I have nero's source.

Archangel

it's rather self explanatory. there's no such routine G_admin_cleanup, nor G_admin_print. define them.

Lonly

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?

Archangel

no, in whatever file they're defined in (i think g_admin.c ?)

David

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.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Lonly

how do i clear? I forgot lmao.


Lonly

Fail. Didn't work, same error(s).

Archangel


KillerWhale

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.

Lonly

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.

KillerWhale

Those particular patches take some hacking to get working right, if I recall correctly.
They won't patch cleanly with just the patch.

Lonly

actually foe got the right solution, delete the build folder and recompile, everything went fine :-}

Archangel

that's more or less what make clean does.