[kaffe] strange failure on OpenBSD/sparc

Guilhem Lavaux guilhem at kaffe.org
Sat Apr 24 23:25:04 PDT 2004


Riccardo wrote:

>Compiling on OpenbSD/Sparc the latest kaffe (it was not a clean build 
>though since the last one) I get this strange failure:
>                 from ../../config/md.h:1,
>                 from ../../../kaffe/kaffe/kaffevm/mem/gc-mem.h:17,
>                 from ../../../kaffe/kaffe/kaffevm/mem/gc-incremental.c:
>21,
>                 from ../../../kaffe/kaffe/kaffevm/gc.c:15:
>/usr/include/sys/resource.h:56: field `ru_utime' has incomplete type
>/usr/include/sys/resource.h:57: field `ru_stime' has incomplete type
>  
>

Here is the responsible error. It seems to come from buggy header. We 
have to include something else in config/sparc/openbsd2/md.h ...

grep ru_utime /usr/include/*.h /usr/include/sys/*.h ? (I guess we may 
find it in #include <sys/time.h>)

Cheers,

Guilhem.

>I wonder what is happening here. GCC problems? Linker ? something is 
>going crazy probably.
>
>Of course the amount of warnings for a single file are amazing!
>
>-Riccardo
>





More information about the kaffe mailing list