building Julia, too many errors emitted

84 views
Skip to first unread message

Federico Calboli

unread,
Jun 16, 2013, 9:26:41 AM6/16/13
to juli...@googlegroups.com
I all, I'm on OSX 108.8.4, latest XCode, gfortran 4.7 from macports and after doing a git update (git fetch; git merge origin), after make I get the following:

make
    FLISP src/julia_flisp.boot
    FLISP src/julia_flisp.boot.inc
    CC src/ast.o
    CC src/codegen.o
    CC src/sys.o
sys.c:94:52: error: use of undeclared identifier 'uv_stat_t'; did you mean 'au_stat_t'?
DLLEXPORT int jl_sizeof_stat(void) { return sizeof(uv_stat_t); }
                                                   ^
sys.c:105:41: error: use of undeclared identifier 'uv_stat_t'; did you mean 'au_stat_t'?
        memcpy(statbuf, req.ptr, sizeof(uv_stat_t));
                                        ^
/usr/include/secure/_string.h:55:41: note: expanded from macro 'memcpy'
   ? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest))     \
                                        ^
sys.c:105:41: error: use of undeclared identifier 'uv_stat_t'; did you mean 'au_stat_t'?
        memcpy(statbuf, req.ptr, sizeof(uv_stat_t));
                                        ^
/usr/include/secure/_string.h:56:38: note: expanded from macro 'memcpy'
   : __inline_memcpy_chk (dest, src, len))
                                     ^
sys.c:117:41: error: use of undeclared identifier 'uv_stat_t'; did you mean 'au_stat_t'?
        memcpy(statbuf, req.ptr, sizeof(uv_stat_t));
                                        ^
/usr/include/secure/_string.h:55:41: note: expanded from macro 'memcpy'
   ? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest))     \
                                        ^
sys.c:117:41: error: use of undeclared identifier 'uv_stat_t'; did you mean 'au_stat_t'?
        memcpy(statbuf, req.ptr, sizeof(uv_stat_t));
                                        ^
/usr/include/secure/_string.h:56:38: note: expanded from macro 'memcpy'
   : __inline_memcpy_chk (dest, src, len))
                                     ^
sys.c:129:41: error: use of undeclared identifier 'uv_stat_t'; did you mean 'au_stat_t'?
        memcpy(statbuf, req.ptr, sizeof(uv_stat_t));
                                        ^
/usr/include/secure/_string.h:55:41: note: expanded from macro 'memcpy'
   ? __builtin___memcpy_chk (dest, src, len, __darwin_obsz0 (dest))     \
                                        ^
sys.c:129:41: error: use of undeclared identifier 'uv_stat_t'; did you mean 'au_stat_t'?
        memcpy(statbuf, req.ptr, sizeof(uv_stat_t));
                                        ^
/usr/include/secure/_string.h:56:38: note: expanded from macro 'memcpy'
   : __inline_memcpy_chk (dest, src, len))
                                     ^
sys.c:136:14: error: use of undeclared identifier 'uv_stat_t'; did you mean 'au_stat_t'?
    return ((uv_stat_t*) statbuf)->st_dev;
             ^
sys.c:136:24: error: expected expression
    return ((uv_stat_t*) statbuf)->st_dev;
                       ^
sys.c:141:14: error: use of undeclared identifier 'uv_stat_t'; did you mean 'au_stat_t'?
    return ((uv_stat_t*) statbuf)->st_ino;
             ^
sys.c:141:24: error: expected expression
    return ((uv_stat_t*) statbuf)->st_ino;
                       ^
sys.c:146:14: error: use of undeclared identifier 'uv_stat_t'; did you mean 'au_stat_t'?
    return ((uv_stat_t*) statbuf)->st_mode;
             ^
sys.c:146:24: error: expected expression
    return ((uv_stat_t*) statbuf)->st_mode;
                       ^
sys.c:151:14: error: use of undeclared identifier 'uv_stat_t'; did you mean 'au_stat_t'?
    return ((uv_stat_t*) statbuf)->st_nlink;
             ^
sys.c:151:24: error: expected expression
    return ((uv_stat_t*) statbuf)->st_nlink;
                       ^
sys.c:156:14: error: use of undeclared identifier 'uv_stat_t'; did you mean 'au_stat_t'?
    return ((uv_stat_t*) statbuf)->st_uid;
             ^
sys.c:156:24: error: expected expression
    return ((uv_stat_t*) statbuf)->st_uid;
                       ^
sys.c:161:14: error: use of undeclared identifier 'uv_stat_t'; did you mean 'au_stat_t'?
    return ((uv_stat_t*) statbuf)->st_gid;
             ^
sys.c:161:24: error: expected expression
    return ((uv_stat_t*) statbuf)->st_gid;
                       ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [sys.o] Error 1
make[1]: *** [julia-release] Error 2
make: *** [release] Error 2

Any ideas of what's up?

BW

F

Tim Holy

unread,
Jun 16, 2013, 9:49:13 AM6/16/13
to juli...@googlegroups.com
Try
make -C deps/libuv clean

Federico Calboli

unread,
Jun 16, 2013, 9:52:33 AM6/16/13
to juli...@googlegroups.com


On Sunday, 16 June 2013 14:49:13 UTC+1, Tim wrote:
Try
make -C deps/libuv clean


Worked, thanks!

F
Reply all
Reply to author
Forward
0 new messages