Author Topic: Master Server - Error Compiling  (Read 5063 times)

Fun-Owner

  • Posts: 37
  • Turrets: +4/-9
Master Server - Error Compiling
« on: May 18, 2009, 01:18:30 am »
Hello :police:

I have some question:

He give some Choice too:

===== Choose one =====
* make help          : this help
* make debug         : make debug binaries
* make release       : make release binaries
* make clean         : delete all files produced by a build
* make mingw-debug   : make debug binaries using MinGW
* make mingw-release : make release binaries using MinGW
* make win-clean     : delete all files produced by a build (for Windows)

I ask somebody on IRC and he say to use make mingw-release


When i try to compile the DP Master i had some errors:

$ make mingw-release
make EXE=dpmaster.exe LDFLAGS="-lws2_32" CFLAGS="-D_WIN32_WINNT=0x0501 -Wall -O2 -DNDEBUG" dpmaster.exe
make[1]: Entering directory `/home/Administrator/master'
make[1]: *** No rule to make target `common.o', needed by `dpmaster.exe'.  Stop.
make[1]: Leaving directory `/home/Administrator/master'
make: *** [mingw-release] Error 2

Help me fix this error :)

Thank you in Advance! :telenode:

Archangel

  • Guest
Re: Master Server - Error Compiling
« Reply #1 on: May 18, 2009, 01:31:32 am »
why do you need a master server?

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Master Server - Error Compiling
« Reply #2 on: May 18, 2009, 09:22:23 am »
I'm not sure if the master works on windows.

Take just the src/master branch, and run make there, and hope.
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.

Fun-Owner

  • Posts: 37
  • Turrets: +4/-9
Re: Master Server - Error Compiling
« Reply #3 on: May 18, 2009, 05:32:27 pm »
I need the master server because i wanna make a game with my Crew with Quake 3 Engine

Fun-Owner

  • Posts: 37
  • Turrets: +4/-9
Re: Master Server - Error Compiling
« Reply #4 on: May 18, 2009, 05:33:56 pm »
I'm not sure if the master works on windows.

Take just the src/master branch, and run make there, and hope.

What you mean "Take just the Src/Master Branch?

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Master Server - Error Compiling
« Reply #5 on: May 18, 2009, 07:47:11 pm »
Use just that part of the tree, the rest of it isn't needed and the main makefile just calls that makefile, so adding an extra step is just something else to go wrong.
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.

Mathieu Olivier

  • Posts: 1
  • Turrets: +0/-0
Re: Master Server - Error Compiling
« Reply #6 on: May 22, 2009, 10:17:53 am »
Hi Fun-Owner.

From the help message you got, it seems you have downloaded the original dpmaster source code from its Subversion or Mercurial base, but not Tremulous' own version of dpmaster, so I'm not sure those forums are the best place to ask for help. Also, the version you have is a release candidate (2.0 RC4 or RC3 maybe). I suggest you wait for me to make the official 2.0 announcement and release in a few days, to make sure the version you use as a code base is as stable as possible. Although RC4 is certainly very stable and usable, I may still make a few minor changes and/or fixes before the upcoming 2.0 release.

Anyway, back to your compilation problem. You're apparently on a UNIX (Linux?) system, so you need to type "make release", not "make mingw-release", unless you want to cross-compile with MinGW to get a Win32 binary. Take a look at the help file "techinfo.txt" in the "doc" directory. There is a section called "COMPILING" that should help you solve your problem.

Feel free to repost here if you need additional help or info, or you can also PM or mail directly if you prefer (my email address is at the bottom of the dpmaster help files).

I'm not sure if the master works on windows.
Yes, it does.
« Last Edit: May 22, 2009, 10:23:07 am by Mathieu Olivier »