Jump to content
  • 0
Sign in to follow this  
quesoph

[ Error ] Compiling with Cygwin.

Question

Is there anyone having a problem compiling a fresh checked out server with cygwin?

 

post-271-0-73973700-1373105068_thumb.jpg

 

Haven't experience this error with CentOS and MSVC++ 2010.

Share this post


Link to post
Share on other sites

9 answers to this question

Recommended Posts

  • 0

 

The error is still there:

.../src/common/console.c

 

// Copyright (c) Hercules Dev Team, licensed under GNU GPL.// See the LICENSE file// Portions Copyright (c) Athena Dev Teams#include "../common/cbasetypes.h"#include "../common/showmsg.h"#include "../common/core.h"#include "../config/core.h"#include "console.h"#ifndef MINICORE    #include "../common/ers.h"    #include "../common/malloc.h"    #include "../common/atomic.h"    #include "../common/spinlock.h"    #include "../common/thread.h"    #include "../common/mutex.h"    #include "../common/timer.h"    #include "../common/strlib.h"#endif#include <stdio.h>#include <stdlib.h>+#include <sys/time.h>

I got pass the error by adding this:

#include <sys/time.h>

 

Another error.

post-271-0-80345000-1373301664_thumb.jpg

 

This error doesn't show up with *Athena emu.

Edited by quesoph

Share this post


Link to post
Share on other sites
  • 0

By the way you probably will encounter some supposedly "sql update" error messages after map server launches, ignore them -- they're not dangerous, the code for cygwin is forgetting to skip 'r', I'll get it fixed in a upcoming commit

Share this post


Link to post
Share on other sites
  • 0

By the way you probably will encounter some supposedly "sql update" error messages after map server launches, ignore them -- they're not dangerous, the code for cygwin is forgetting to skip 'r', I'll get it fixed in a upcoming commit

Thank you so much! :)

 

and one more thing. if you comment this line:

 

 

/// Comment to disable Hercules' console_parse/// CONSOLE_INPUT allows you to type commands into the server's console,/// Disabling it saves one thread.#define CONSOLE_INPUT/// Maximum number of caracters 'CONSOLE_INPUT' will support per line.#define MAX_CONSOLE_INPUT 150

 

the compiler will produce an error. :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.