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: Tue Aug 29, 2006 9:52 pm

Compiling server problems

Post by rnb7 » Wed Aug 30, 2006 5:58 pm

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
Knight
Knight
Posts: 1746
Joined: Sat Aug 07, 2004 11:47 am
Location: Germany->Bavaria

Post by Matt » Wed Aug 30, 2006 6:00 pm

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: Sat Aug 26, 2006 10:30 pm

Post by LadyMarie27 » Wed Aug 30, 2006 6:04 pm

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: Thu Aug 25, 2005 5:08 pm
Location: Germany

Post by Crush » Wed Aug 30, 2006 6:33 pm

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: Tue Aug 29, 2006 9:52 pm

Post by rnb7 » Wed Aug 30, 2006 8:39 pm

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: Sat Aug 26, 2006 10:30 pm

Post by LadyMarie27 » Thu Aug 31, 2006 9:49 am

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
TMW Adviser
TMW Adviser
Posts: 2526
Joined: Tue Apr 13, 2004 8:11 pm
Location: Italy
Contact:

Post by ElvenProgrammer » Thu Aug 31, 2006 2:53 pm

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: Tue Aug 29, 2006 9:52 pm

Post by rnb7 » Thu Aug 31, 2006 8:01 pm

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

Post by ElvenProgrammer » Thu Aug 31, 2006 8:11 pm

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