bug-gnulib
[Top][All Lists]
Advanced

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

timespec declaration issue on Tru64 (was: Bug in autoconf 2.62 with old


From: Ralf Wildenhues
Subject: timespec declaration issue on Tru64 (was: Bug in autoconf 2.62 with old GNU awk)
Date: Sun, 14 Dec 2008 10:39:50 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

[ adding bug-gnulib, removing bug-autoconf ]

* Daniel Richard G. wrote on Sat, Dec 13, 2008 at 11:16:28PM CET:
> However, I'm running into a more tricky issue during the build...
> 
> source='sig2str.c' object='sig2str.o' libtool=no  DEPDIR=.deps depmode=tru64 
> /bin/ksh ../build-aux/depcomp  cc -std -std  -I.    -ieee   -g -c -o 
> sig2str.o 
> sig2str.c
> cc: Error: /usr/include/sys/timers.h, line 107: The member "it_interval" has 
> an incomplete type. (incompmem)
>         struct          timespec it_interval; /* timer interval */
> ---------------------------------^
> cc: Error: /usr/include/sys/timers.h, line 108: The member "it_value" has an 
> incomplete type. (incompmem)
>         struct          timespec it_value; /* current value */
> ---------------------------------^
> *** Exit 1
> Stop.

Yes, this is where I got stuck, too, on OSF/Tru64 4.0D.  I haven't been
able to get to the bottom of it yet, but it seems that there is some
impedance mismatch between the replacement header lib/time.h and the
headers included by /usr/include/time.h.  struct timespec is defined in
/usr/include/sys/sysmisc.h, but somehow the inclusion tree ends up
expanding use before definition.

Cheers,
Ralf




reply via email to

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