[kaffe] cvs doesn't build as of 2005/05/05

Rui Tiago Cação Matos tiagomatos at gmail.com
Thu May 5 17:09:24 PDT 2005


Hello all,

the (as of now) current kaffe cvs source fails to build on ubuntu hoary
with gcc 3.4. The problem is corrected by applaying the following patch to
the file kaffe/kaffevm/systems/unix-jthreads/jthread.h:

--- jthread.h.~1.68.~   2005-04-02 18:44:45.000000000 +0100
+++ jthread.h   2005-05-05 15:33:43.000000000 +0100
@@ -319,14 +319,14 @@
 int jthreadedOpen(const char* path, int flags, int mode, int*);
 int jthreadedSocket(int af, int type, int proto, int*);
 int jthreadedConnect(int fd, struct sockaddr* addr, int len, int timeout);
-int jthreadedAccept(int fd, struct sockaddr* addr, int* len,
+int jthreadedAccept(int fd, struct sockaddr* addr, socklen_t* len,
        int timeout, int *);
 int jthreadedRead(int fd, void* buf, size_t len, ssize_t *);
 int jthreadedTimedRead(int fd, void* buf, size_t len, int timeout, ssize_t *);
 int jthreadedTimedWrite(int fd, const void* buf, size_t len, int timeout, ssize_t *);
 int jthreadedWrite(int fd, const void* buf, size_t len, ssize_t *);
 int jthreadedRecvfrom(int fd, void* buf, size_t len, int flags,
-        struct sockaddr* from, int* fromlen, int timeout, ssize_t *);
+        struct sockaddr* from, socklen_t* fromlen, int timeout, ssize_t *);
 int jthreadedWaitpid(int wpid, int* status, int options, int *);
 int jthreadedForkExec(char **argv, char **arge,
                      int ioes[/* 4 */], int *, const char *);


Cheers,

Rui
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20050506/727f5133/attachment-0002.pgp 


More information about the kaffe mailing list