public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Kent Perrier <kent.perrier@pgs.com>
To: "gnu-win32@cygnus.com" <gnu-win32@cygnus.com>
Subject: Re: Compiling gnuchess under gnu-win32 [Solution]
Date: Sun, 31 Jan 1999 23:52:00 -0000	[thread overview]
Message-ID: <369231B9.FFB7D21C@pgs.com> (raw)
In-Reply-To: <368BA1F8.70ABDC7D@pgs.com>

Kent Perrier wrote:
> 
> Has anyone compiled gnuchess under gnu-win32?  After I modified the
> makefile to look in /usr/local/include (so it can find curses.h)
> everything compiles fine until it comes to gnuan.c
> I get these two errors:
> 
> ./gnuan.c: In function 'InputCommand':
> ./gnuan.c:1727: too few arguments to function `difftime'
> make: *** [gnuan.o] Error 1
> /home/gnuchess-4.0pl79/src$
> 

The following fix was sent to me by Dr. Volker Zell.  It appears to fix
the problem.  The compile
is running right now and it is building its opening book database.

#ifndef __CYGWIN__
    elapsed_time = difftime(end_time - start_time);
    fprintf (fpout, "\n           Elapsed time was %ld seconds.\n",
elapsed_time);
#else
    fprintf (fpout, "\n           Elapsed time is missing in
CYGWIN.\n");
#endif

Kent
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

  reply	other threads:[~1999-01-31 23:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-31  8:13 Compiling gnuchess under gnu-win32 Kent Perrier
1999-01-31 23:52 ` Kent Perrier [this message]
1999-01-31 23:52   ` Compiling gnuchess under gnu-win32 [Solution] Mumit Khan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=369231B9.FFB7D21C@pgs.com \
    --to=kent.perrier@pgs.com \
    --cc=gnu-win32@cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).