ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RP] Problems building current CVS, HAVE_USLEEP


From: Norbert Koch
Subject: [RP] Problems building current CVS, HAVE_USLEEP
Date: Fri May 30 12:18:02 2003
User-agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Rational FORTRAN, berkeley-unix)

Hi!

I don't succeed building the current CVS version on my
FreeBSD 4.8-STABLE i386 box.  The error output is

source='input.c' object='input.o' libtool=no  depfile='.deps/input.Po' 
tmpdepfile='.deps/input.TPo'  depmode=gcc /bin/bash ../depcomp  gcc 
-DHAVE_CONFIG_H -I. -I. -I.      -g -O2 -Wall -O2  -I/usr/X11R6/include -c 
`test -f input.c || echo './'`input.c
input.c: In function `ring_bell':
input.c:348: storage size of `tv' isn't known
input.c:348: warning: unused variable `tv'
*** Error code 1


I've poked around a bit and saw that neither HAVE_USLEEP is defined
nor the struct timeval is known.  In combination, this causes grief.

I don't know, where HAVE_USLEEP should be set, it seems not to be
handled by configure.  usleep(3) is known, declared in unistd.h and
defined in libc.  If I manually define it, compilation succeeds and -
up to now - works as expected.

norbert.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]