Tremulous Forum

Mods => Modding Center => Topic started by: Fun-Owner on May 18, 2009, 01:18:30 am

Title: Master Server - Error Compiling
Post by: Fun-Owner 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:
Title: Re: Master Server - Error Compiling
Post by: Archangel on May 18, 2009, 01:31:32 am
why do you need a master server?
Title: Re: Master Server - Error Compiling
Post by: David 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.
Title: Re: Master Server - Error Compiling
Post by: Fun-Owner 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
Title: Re: Master Server - Error Compiling
Post by: Fun-Owner 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?
Title: Re: Master Server - Error Compiling
Post by: David 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.
Title: Re: Master Server - Error Compiling
Post by: Mathieu Olivier 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 (http://www.mingw.org/) 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.