Compiling server problems

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
rnb7
Peon
Peon
Posts: 3
Joined: 29 Aug 2006, 20:52

Compiling server problems

Post by rnb7 »

hi all.
i downloaded the themanaworld DevPack, installed DevC++ and then installed the DevPack. Then I tryed to compile it, but it appears that i'm missing some kind of standart *nix libraries for Windows (e.g. *nix header files under /sys, some network files - In.h and some others, which appers to be standart on *nix systems) . where i can download these standart headers for windows ?

its a win98 box
Matt
Grand Knight
Grand Knight
Posts: 1759
Joined: 07 Aug 2004, 10:47
Location: Germany->Bavaria

Post by Matt »

Well I've never heard of some standart headers, i know standard headers but...

<Zombiemode>
AAAAAH NEED MOOOORE DETAILS, INFORMATIONS, BRAINS...
User avatar
LadyMarie27
Peon
Peon
Posts: 15
Joined: 26 Aug 2006, 21:30

Post by LadyMarie27 »

Maybe he means the includings which arent included in Dev C++,
atleast I remember when I had Dev C++ they didnt putted in the includes/classes from like Visual Studio.
Image
http:\\forum.elitepvpers.de
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: 25 Aug 2005, 16:08
Location: Germany

Post by Crush »

Did you set up the path for the sdl includes like described during the installation of the devpak?
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
rnb7
Peon
Peon
Posts: 3
Joined: 29 Aug 2006, 20:52

Post by rnb7 »

Crush wrote:Did you set up the path for the sdl includes like described during the installation of the devpak?
yes. i'm missing these files when trying to compile the tmw_server. I think they are some kind of standard *nix files. The problem is that I down't know where to download their win version.
Compiler: Default compiler
Building Makefile: "D:\eathena\Makefile.win"
Executing make...
make.exe -f "D:\eathena\Makefile.win" all
g++.exe -c src/char/char.c -o src/char/char.o -I"D:/DEV-CPP/lib/gcc/mingw32/3.4.2/include" -I"D:/DEV-CPP/include/c++/3.4.2/backward" -I"D:/DEV-CPP/include/c++/3.4.2/mingw32" -I"D:/DEV-CPP/include/c++/3.4.2" -I"D:/DEV-CPP/include" -I"D:/Dev-Cpp/include/SDL" -I"D:/Dev-Cpp/include" -I"D:/eathena/src/common"

src/char/char.c:5:24: sys/socket.h: No such file or directory
src/char/char.c:8:24: netinet/in.h: No such file or directory
src/char/char.c:11:23: sys/ioctl.h: No such file or directory
src/char/char.c:16:23: arpa/inet.h: No such file or directory
src/char/char.c:17:19: netdb.h: No such file or directory
In file included from src/char/char.c:21:

....

// more lines with errs ...
User avatar
LadyMarie27
Peon
Peon
Posts: 15
Joined: 26 Aug 2006, 21:30

Post by LadyMarie27 »

Yes, as it looks you are missing the common libary files or they are in the wrong folder. Cant give you a download link for them but maybe google'ing after those may give you one.
Image
http:\\forum.elitepvpers.de
User avatar
ElvenProgrammer
Founder
Founder
Posts: 2526
Joined: 13 Apr 2004, 19:11
Location: Italy
Contact:

Post by ElvenProgrammer »

The devpak is meant to compile tmw client and will work only with that. It doesn't work completely with tmwserv and doesn't at all for eAthena. In order to compile eAthena you need to use cygwin (AFAIK it's the only way) or get the precompiled binaries and you're done. If you still want to compile it there's a cywin tutorial at eAthena's website.

Regards
rnb7
Peon
Peon
Posts: 3
Joined: 29 Aug 2006, 20:52

Post by rnb7 »

ElvenProgrammer wrote:or get the precompiled binaries
from where ? thats what i'm asking :roll:
User avatar
ElvenProgrammer
Founder
Founder
Posts: 2526
Joined: 13 Apr 2004, 19:11
Location: Italy
Contact:

Post by ElvenProgrammer »

rnb7 wrote:
ElvenProgrammer wrote:or get the precompiled binaries
from where ? thats what i'm asking :roll:
Well that wasn't exactly what you asked for, anyway http://platinum.linux.pl/users/athena/e ... er.tar.bz2
Post Reply