News:

Come Chat with us live! Learn how HERE!

Main Menu

Master Server - Error Compiling

Started by Fun-Owner, May 18, 2009, 01:18:30 AM

Fun-Owner

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


David

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

I need the master server because i wanna make a game with my Crew with Quake 3 Engine

Fun-Owner

Quote from: 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.

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

David

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

#6
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).

Quote from: David on May 18, 2009, 09:22:23 AM
I'm not sure if the master works on windows.
Yes, it does.