Kaffe built statically on SunOS4.1.3_U1 - some questions

Joe Hartley jh at brainiac.com
Mon Jan 4 12:36:04 PST 1999


Godmar Back <gback at cs.utah.edu> wrote:
> > Apparently gcc2.7.2.3 doesn't like this line in include/jmalloc.h:
> > 
> > extern void*    jrealloc(void*, size_t);
> > 
> > It looks OK to me, but GCC disagrees!
> > 
> 
>  size_t has to be defined somewhere.
> I guess it needs a #include <stdlib.h> or #include "config-std.h"
> somewhere.  Try including "config-std.h"  in CharToByteDefault.c

Aha!  I was thrown by the fact that it made it past the declaration
for jmalloc(size_t) with a warning and not an error.  By #including
<sys/stdtypes.h> in jmalloc.h, I was able to get past that point of 
failure.  The compile continues...

Thanks for all the help!!


========================================================================
        Joe Hartley - jh at brainiac.com - brainiac services, inc
 PO Box 5069 : Greene, RI : 02827 - vox 401.539.9050 : fax 401.539.2070
  Without deviation from the norm, "progress" is not possible. - FZappa


More information about the kaffe mailing list