bug-gnu-utils
[Top][All Lists]
Advanced

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

problem building time 1.7 on Solaris 2.6


From: Jon Schewe
Subject: problem building time 1.7 on Solaris 2.6
Date: Mon, 13 Feb 2006 05:37:31 -0600

It seems that the configure script for time 1.7 tests for a wait3 that
fills in rusage and then uses that to determine if rusage is defined in
the system.  This is an incorrect assumption in some cases, as the
rusage struct may exist, but not be filled in.  Therefore I'm getting
this error below.  Can you help?  Thanks.

checking return type of signal handlers... int
checking for struct timeval in sys/time.h... yes
checking for vprintf... yes
checking for wait3 that fills in rusage... no
checking for strerror... yes
checking for getpagesize... no
updating cache ./config.cache
creating ./config.status
creating Makefile
gcc -c -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_STRING_H=1 -Dpid_t=int -Dsize_t=unsigned -DRETSIGTYPE=int
-DHAVE_TIMEVAL=1 -DHAVE_VPRINTF=1 -DHAVE_STRERROR=1  -I. -I.    -g -O
time.c
In file included from wait.h:19,
                 from time.c:24:
/net/packages/gnu/2006-February/install/sparc-sun-solaris2.6/lib/gcc/sparc-sun-solaris2.6/4.0.2/include/sys/types.h:331:
 error: duplicate 'unsigned'
In file included from time.c:34:
resuse.h:44: error: redefinition of 'struct rusage'
time.c: In function 'run_command':
time.c:620: warning: assignment from incompatible pointer type
time.c:621: warning: assignment from incompatible pointer type
time.c:627: warning: passing argument 2 of 'signal' from incompatible
pointer type
time.c:628: warning: passing argument 2 of 'signal' from incompatible
pointer type
time.c: In function 'main':
time.c:635: warning: return type of 'main' is not 'int'
make: *** [time.o] Error 1


________________________________________________________________________
http://lug.htc.honeywell.com/people/jschewe [Honeywell Intranet Only]
*My views may not represent those of my employers

________________________________________________________________________
http://lug.htc.honeywell.com/people/jschewe [Honeywell Intranet Only]
*My views may not represent those of my employers


Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

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