Author Topic: Weird compilation...  (Read 4917 times)

Redman

  • Posts: 103
  • Turrets: +6/-6
Weird compilation...
« on: July 21, 2009, 08:59:20 pm »
I tried to compile latest Lakitu7's QVM (revision 178 I think 174) and...



I also tried compiling revision 150, but still same errors. I used Risujin's guide do set up my MinGW and MSys.
I'm using Windows XP 32-bit.

Thanks for reading.

P.S.

ALWAYS some weird error during compilation / bug in-game appears when I try to compile Lakitu7's QVM. One time, I "successfully" compiled code, but whole admin system was broken (only console was working, lol).

Archangel

  • Guest
Re: Weird compilation...
« Reply #1 on: July 21, 2009, 09:13:30 pm »
looks like you're using mingw/msys. try reinstalling, the wrapper script to cc is messed up from the looks of it.

Redman

  • Posts: 103
  • Turrets: +6/-6
Re: Weird compilation...
« Reply #2 on: July 21, 2009, 10:09:02 pm »
Reinstalled both, still the same errors. Maybe I downloaded wrong version of MinGW/MSys/win32api? Files I used:

MinGW-5.1.4.exe (installed "Previous")
MSYS-1.0.11.exe
w32api-3.11.tar.gz edit: I put everything it contains into c:/msys/1.0/mingw/

Everything from sourceforge.
« Last Edit: July 21, 2009, 10:12:04 pm by Redman »

gimhael

  • Posts: 546
  • Turrets: +70/-16
Re: Weird compilation...
« Reply #3 on: July 21, 2009, 10:36:14 pm »
Your makefile calls ./cc as c-compiler, but this is the creative commons license file. Probably you have "." first in your $PATH. Try "make CC=gcc" or make "CC=/full/path/to/cc".

Redman

  • Posts: 103
  • Turrets: +6/-6
Re: Weird compilation...
« Reply #4 on: July 22, 2009, 01:26:30 am »
BIG thanks for helping, "make CC=gcc" is working. Compilation is errorless now, but, oh no, it's the same bug I had before! Whole admin system is broken, only console works. Calling any command returns "permission denied", even !help, but I have highest admin level. Also, there's a spam in console after running a map. It says there are lot of syntax errors in custom commands. Hey, I think it's admin.dat's fault that nothing works, I'll delete custom commands and run server again, hope it will help...

(edit) Still doesn't work... Does anyone have got an idea what's going on?

P.S. What for is gamex86.dll? I think in Quake 3 you can run DLL instead of QVM, but I'm not sure.
« Last Edit: July 22, 2009, 01:29:41 am by Redman »

Archangel

  • Guest
Re: Weird compilation...
« Reply #5 on: July 22, 2009, 01:56:32 am »
it's because you're running the server inside of a client

Redman

  • Posts: 103
  • Turrets: +6/-6
Re: Weird compilation...
« Reply #6 on: July 22, 2009, 11:54:44 am »
Wtf? I'm running dedicated server (it appears on servers list) and then client. Lakitu7's QVM not compiled by me doesn't have broken admin system.

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Weird compilation...
« Reply #7 on: July 22, 2009, 12:55:06 pm »
Try moving admin.dat and see if it works with a default one.
There are two different formats admin.dats can use, the broken QVM may be wanting it in a different format.
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.