CIRCLE archives -- December 1997 (#503)
Date:         Tue, 9 Dec 1997 13:26:16 -0500
Reply-To:     Circle Discussion List <CIRCLE@POST.QUEENSU.CA>
Sender:       Circle Discussion List <CIRCLE@POST.QUEENSU.CA>
From:         Aaron Miller <archmage@CRYOGEN.COM>
Subject:      Re: cygnus gnu
In-Reply-To:  <199712082037.UAA12250@zen.co.uk>
Content-Type: text/plain; charset="us-ascii"

>Hi I'm hoping one of you could help me. >Does anyone have the patches to compile circle30bpl12 >using cygnus gnu in windows 95???? >I'd be most gratefull as its driving me mad.. I know the feeling :) I have mine compiling, but not yet running correctly.. here is what i did.

#1 Install Cygnus Gnu Win 32 CORRECTLY (you would be surprised how few people do that)

#2 Use this as your conf.h: --Snip Here-- #define CIRCLE_WINBLOWS #define RETSIGTYPE int #define STDC_HEADERS 1 #define TIME_WITH_SYS_TIME 1 #define HAVE_CRYPT 1 #define HAVE_ARPA_TELNET_H 1 #define HAVE_ASSERT_H 1 #define HAVE_ERRNO_H 1 #define HAVE_FCNTL_H 1 #define HAVE_LIMITS_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STRING_H 1 #define HAVE_SYS_FCNTL_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_UNISTD_H 1 --Snip Here--

#3 Apply this patch: (patch < comm.patch) --Snip Here-- --- comm.c Sun Apr 14 14:28:45 1996 +++ comm.2 Tue Dec 09 13:23:25 1997 @@ -78,7 +78,9 @@ /* functions in this file */ int get_from_q(struct txt_q *queue, char *dest, int *aliased); void init_game(int port); -void signal_setup(void); +#ifndef CIRCLE_WINBLOWS + void signal_setup(void); +#endif void game_loop(int mother_desc); int init_socket(int port); int new_descriptor(int s); @@ -232,10 +234,12 @@

boot_db();

+#ifndef CIRCLE_WINBLOWS #ifndef CIRCLE_WINDOWS log("Signal trapping."); signal_setup(); #endif +#endif

log("Entering game loop.");

@@ -1513,6 +1517,7 @@ * SunOS Release 4.0.2 (sun386) needs this too, according to Tim Aldric. */

+#ifndef CIRCLE_WINBLOWS #ifndef POSIX #define my_signal(signo, func) signal(signo, func) #else @@ -1590,7 +1595,7 @@ }

#endif /* CIRCLE_WINDOWS */ - +#endif

/* **************************************************************** * Public routines for system-to-player-communication * --Snip Here--

#4 Compile!

#5 It should now compile fine. I have been having problems getting it to run correctly with stock code, but I believe this my system.. Good luck!

+------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+


Back to: Top of message | Previous page | Main CIRCLE page


Back to the Queen's List Archive Index.