I've managed to fix some of the errors in unix-java.c:
lines 384-386:
a creds is a pointer to a struct (see line 383), it should be creds->pid instead of creds.pid (the same for gid and uid)
lines 425 and 427:
replace msgh with msg
But I didn't figure out yet how to fix the other errors:
line 415:
buf is declared here to be char array while in line 402 is a simple char
I don't know how this should match the return type of "jbyte" (the error in line 439)
I've managed to fix some of the errors in unix-java.c:
lines 384-386:
a creds is a pointer to a struct (see line 383), it should be creds->pid instead of creds.pid (the same for gid and uid)
lines 425 and 427:
replace msgh with msg
But I didn't figure out yet how to fix the other errors:
line 415:
buf is declared here to be char array while in line 402 is a simple char
I don't know how this should match the return type of "jbyte" (the error in line 439)