Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Compiling in cygwin.

 
Post new topic   Reply to topic Printable version
 View previous topic  instead of re-entering; adding Post :: Post deadlock.c  View next topic  
Author Message
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Mon Mar 21, 2005 7:37 pm    Post subject: Compiling in cygwin. Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website
Grelminar
Creator of Asss


Joined: Feb 26 2003
Posts: 378
Offline

PostPosted: Tue Mar 22, 2005 3:02 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Send email Visit posters website
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Tue Mar 22, 2005 9:32 am    Post subject: Reply to topic Reply with quote

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. icon_smile.gif
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Tue Mar 22, 2005 9:56 am    Post subject: Reply to topic Reply with quote

Well, I think I have a slight fix for Makefile.devcpp.

Code: Show/Hide
install:
#...
   $(INSTALL) $(DEPS)/libdb4.dll $(DEPS)/libmySQL.dll $(DEPS)/pthreadGC.dll \
      $(DEPS)/python23.dll $(DEPS)/zlib1.dll $(BINDIR)

In the above line, shouldn't $(DEPS) actually by the respective home directories? For example, I've set $(PYTHON_HOME) to C:\Python and not $(DEPS), so it's looking in the wrong place for python23.dll.

Of course, it's easily fixed for myself, but some other poor, unsuspecting dev-c++ with a different value for $(PYTHON_HOME)... icon_cry.gif

Actually... I have python23.dll in my path and it doesn't even need to be install.exe'd. But I have no clue what the protocol for that is.
Back to top
View users profile Send private message Add User to Ignore List Visit posters website
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> ASSS Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 39 page(s) served in previous 5 minutes.

phpBB Created this page in 0.484003 seconds : 28 queries executed (94.7%): GZIP compression disabled