 |
Server Help Community forums for Subgame, ASSS, and bots
|
Author |
Message |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Mon Mar 21, 2005 7:37 pm Post subject: Compiling in cygwin. |
 |
|
|
|
I'm getting all sorts of redefinition errors realting to pthreads. Names pid_t, struct timespec, _POSIX_THREAD_SAFE_FUNCTIONS, _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_PRIORITY_SCHEDULING, pthread_t, pthread_attr_t, pthread_once_t, pthread_key_t, and uhh all those things. They seem to be defined in the cygwin types headers and the asss stuff.
Also, O_BINARY is already defined in /usr/include/sys/fcntl.h with a value other than 0.
Thanks. _________________ This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him. |
|
Back to top |
|
 |
Grelminar Creator of Asss
Joined: Feb 26 2003 Posts: 378 Offline
|
Posted: Tue Mar 22, 2005 3:02 am Post subject: |
 |
|
|
|
Uh, I haven't tried cygwin in a while. I thought the makefile handled it properly, but it might not. Basically you should just treat it as unix. Make sure WIN32 is _not_ defined, and don't use the includes from ../windeps (or, at least not the pthread ones, since that seems to be causing you problems). |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Tue Mar 22, 2005 9:32 am Post subject: |
 |
|
|
|
Oh, my bad. I was trying to use make in cygwin instead of make in Dev-C++. Makefile.devcpp (sensibly) wouldn't work in nmake and I totally forgot MinGW came with its own version of make.
Sorry, and thanks.  |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
|
Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
Software by php BB © php BB Group Server Load: 39 page(s) served in previous 5 minutes.
|