Article View: gnu.chess
Article #4039XBoard Compile Error
From: Remi D. Khu
Date: Fri, 19 Apr 1996 00:00
Date: Fri, 19 Apr 1996 00:00
31 lines
1352 bytes
1352 bytes
While compiling xboard-3.4.pl1.tar.gz on Linux 1.2.13 using gcc 1.6.3 I received
the following error:
gcc -DHAVE_CONFIG_H -I. -I. -I/usr/X11R6/include -c backend.c
backend.c: In function `GetTimeMark':
backend.c:6085: storage size of `timeVal' isn't known
backend.c:6086: storage size of `timeZone' isn't known
make: *** [backend.o] Error 1
Here is that section of backend.c:
-----------------------------------------------------------------
#if HAVE_GETTIMEOFDAY
struct timeval timeVal;
struct timezone timeZone;
gettimeofday(&timeVal, &timeZone);
tm->sec = (long) timeVal.tv_sec;
tm->ms = (int) (timeVal.tv_usec / 1000L);
---------------------------------------------------------------------
I've checked to make sure that <sys/time.h> and <unistd.h> exist. Does anyone
have a fix for this?
TTIA,
---
Remi D. Khu
rkhu@earthlink.net
---------------------------------------------------------------------
Technical Details
Message-ID:
<4l760f$neo@argentina.it.earthlink.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d71d,30ddeb2f6fb85572,start X-Google-Attributes: gid10d71d,public From: rkhu@earthlink.net (Remi D. Khu) Subject: XBoard Compile Error Date: 1996/04/19 Message-ID: <4l760f$neo@argentina.it.earthlink.net> X-Deja-AN: 148296104 organization: Earthlink Network, Inc. reply-to: rkhu@earthlink.net newsgroups: gnu.chess