EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Linux Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=618)
-   -   linux compile fix for 0.3.4 (https://www.eqemulator.org/forums/showthread.php?t=2520)

Yodason 06-25-2002 04:49 PM

linux compile fix for 0.3.4
 
under #include <pthread.h> in mutex.h
add this line

#include "../common/unix.h"

make SURE it is in the else section of the #ifdef

spellcaster 06-26-2002 04:43 AM

Woot compiled! Now to finally see what EQEMU looks like!!

steve 06-26-2002 08:01 AM

I can just overwrite my old files I used to compile, and then recompile and use the same database? I don't see a new database sql in the source zip.

spellcaster 06-26-2002 08:19 AM

You dont, just like you dont get the cfg files :)

steve 06-26-2002 08:32 AM

Yeah, found them in the Win32 zip.

Someone with linux programming knowledge needs to go through and fix all of the compile warnings. They still successfully compile, but all of those warnings were not good. Things like 'warning: data comparison will always be false due to limited range' etc..

ShowEQ does not have compile issues nor warnings when I compile it, perhaps we should ask Zaphod (the head honcho for ShowEQ) to take a look at the code and fix the obvious things.

spellcaster 06-26-2002 08:41 AM

Sadly, I still cant get in coz it mumbles about sumfin.. grr.. EQEmu will just have to wait more..

steve 06-26-2002 08:57 AM

I can't get in either. When I connect to my own server, I can make a character, but when I try to log it in, EQ crashes.

Zaphod 06-26-2002 11:09 AM

Quote:

Originally Posted by steve
Yeah, found them in the Win32 zip.

Someone with linux programming knowledge needs to go through and fix all of the compile warnings. They still successfully compile, but all of those warnings were not good. Things like 'warning: data comparison will always be false due to limited range' etc..

ShowEQ does not have compile issues nor warnings when I compile it, perhaps we should ask Zaphod (the head honcho for ShowEQ) to take a look at the code and fix the obvious things.

Did I hear someone mention my name... heh...

At some point in the future I might just, although I am rather preoccupied with ShowEQ.

One thing people have to realize is many of the warnings are actually indicative of problems that cause bugs. Unfortunately Visual C++ will chew on absolute garbage and not give a warning, despite it generating bad behavior, and yet will also give you warnings about absolutely irrelevant nonsense. In a former life I had way too much experience with this. In some cases Visual C++ compiles code where all the C++ standards (current and former) and Microsoft's own docs say shouldn't compile and whose behavior is literally undefined without so much as a single warning.

Enjoy,
Zaphod (dohpaZ)

Yodason 06-27-2002 02:20 AM

dont worry about warnings

Trumpcard 06-27-2002 02:39 AM

Uhhhmm... That's why 9/11 happened...

Shawn319 06-27-2002 05:15 AM

rofl... sounds like something someone said to me the other day in chat... "No one is going to attack the USA" (btw he was a canadian)


All times are GMT -4. The time now is 11:41 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.