bug-guile
[Top][All Lists]
Advanced

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

struct itimerval problem


From: Neil Jerram
Subject: struct itimerval problem
Date: 20 Jul 2001 17:58:47 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

CVS guile doesn't build for me right now in either branch:

This is on Debian 2.2 GNU/Linux.

[...]
Making all in libguile
make[1]: Entering directory `/home/neil/Guile/cvs/guile-core/libguile'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I.. -I./.. -I../libltdl  
  -g -O2 -Wall -Wmissing-prototypes -c scmsigs.c
rm -f .libs/scmsigs.lo
gcc -DHAVE_CONFIG_H -I.. -I./.. -I../libltdl -g -O2 -Wall -Wmissing-prototypes 
-Wp,-MD,.deps/scmsigs.pp -c scmsigs.c  -fPIC -DPIC -o scmsigs.o
scmsigs.c: In function `scm_setitimer':
scmsigs.c:443: storage size of `new_timer' isn't known
scmsigs.c:444: storage size of `old_timer' isn't known
scmsigs.c:452: warning: implicit declaration of function `setitimer'
scmsigs.c:444: warning: unused variable `old_timer'
scmsigs.c:443: warning: unused variable `new_timer'
scmsigs.c: In function `scm_getitimer':
scmsigs.c:484: storage size of `old_timer' isn't known
scmsigs.c:488: warning: implicit declaration of function `getitimer'
scmsigs.c:484: warning: unused variable `old_timer'
scmsigs.c: In function `scm_init_scmsigs':
scmsigs.c:640: `ITIMER_REAL' undeclared (first use in this function)
scmsigs.c:640: (Each undeclared identifier is reported only once
scmsigs.c:640: for each function it appears in.)
scmsigs.c:641: `ITIMER_VIRTUAL' undeclared (first use in this function)
scmsigs.c:642: `ITIMER_PROF' undeclared (first use in this function)
make[1]: *** [scmsigs.lo] Error 1
make[1]: Leaving directory `/home/neil/Guile/cvs/guile-core/libguile'
make: *** [all-recursive] Error 1
address@hidden:~/Guile/cvs/guile-core$ 

Fix for me is to add `#include <sys/time.h>' at the top of scmsigs.c,
but I don't know how to do it properly via configure etc.

        Neil




reply via email to

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