[kaffe] Re: NetBSD/m68k with jit

Dalibor Topic robilad at kaffe.org
Sun Jun 27 09:32:22 PDT 2004


Dalibor Topic wrote:
> Hi Kiyo,
> 
> Kiyo Inaba wrote:
> 
>> I am updating my base for NetBSD/m68k to more recent version from CVS.
>> And I found recent addition of check for kaffe/kaffevm/mem/gc-mem.c
>> make it can not be compiled.

>> ../../../kaffe-snap-040610/kaffe/kaffevm/mem/gc-mem.c:968: `PROT_READ' 
>> undeclared (first use in this function)

> In theory, there PROT_* values should be in <sys/mman.h>. Are they there 
> on your system? Does configure find the include file in your config.log?
> 
> I've fixed a compilation problem on Cygwin on 13th june that dealt with 
> a similar problem. Check out this thread:
> http://thread.gmane.org/gmane.comp.java.vm.kaffe.general/5035

I've checked in a fix. I hope it works, I've added the includes 
mentioned in the NetBSD 1.5 man pages for mprotect to the file.

cheers,
dalibor topic




More information about the kaffe mailing list