Advertisement
ehime

make

May 28th, 2014
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.79 KB | None | 0 0
  1. bash-3.2$ make
  2. (cd modules/c/src; /Applications/Xcode.app/Contents/Developer/usr/bin/make)
  3. for dir in common apache2 resin_os ; do (cd $dir; /Applications/Xcode.app/Contents/Developer/usr/bin/make); done
  4. gcc -c -I/usr/include -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAS_SOCK_TIMEOUT -DHAS_JVMTI -DDEBUG -Wall stream.c
  5. stream.c:953:7: warning: unused variable 'i' [-Wunused-variable]
  6. int i;
  7. ^
  8. stream.c:79:1: warning: unused function 'poll_read' [-Wunused-function]
  9. poll_read(int fd, int s)
  10. ^
  11. 2 warnings generated.
  12. gcc -c -I/usr/include -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAS_SOCK_TIMEOUT -DHAS_JVMTI -DDEBUG -Wall config.c
  13. gcc -c -I/usr/include -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAS_SOCK_TIMEOUT -DHAS_JVMTI -DDEBUG -Wall memory.c
  14. memory.c:126:5: warning: implicit declaration of function 'cse_free' is invalid in C99 [-Wimplicit-function-declaration]
  15. cse_free(ptr->buffer);
  16. ^
  17. 1 warning generated.
  18. gcc -r -o common.o stream.o config.o memory.o
  19. ld: warning: unexpected dylib (/usr/lib/libSystem.dylib) on link line
  20. 0 0x10d5c30e7 __assert_rtn + 144
  21. 1 0x10d62c966 ld::tool::SectionRelocationsAtom<x86>::sectSymNum(bool, ld::Atom const*) + 0
  22. 2 0x10d61aef8 ld::tool::SectionRelocationsAtom<x86_64>::encodeSectionReloc(ld::Internal::FinalSection*, ld::tool::SectionRelocationsAtom<x86_64>::Entry const&, std::__1::vector<macho_relocation_info<Pointer64<LittleEndian> >, std::__1::allocator<macho_relocation_info<Pointer64<LittleEndian> > > >&) + 86
  23. 3 0x10d650060 ld::tool::SectionRelocationsAtom<x86_64>::encode() + 62
  24. 4 0x10d621ffe ld::tool::OutputFile::updateLINKEDITAddresses(ld::Internal&) + 454
  25. 5 0x10d61cce4 ld::tool::OutputFile::write(ld::Internal&) + 138
  26. 6 0x10d5c3d94 main + 1012
  27. A linker snapshot was created at:
  28. /tmp/common.o-2014-04-28-072252.ld-snapshot
  29. ld: Assertion failed: (_machoSection != 0), function machoSection, file /SourceCache/ld64/ld64-236.4/src/ld/ld.hpp, line 714.
  30. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  31. make[2]: *** [common.o] Error 1
  32. EGREP="/usr/bin/grep -E" /tmp/resin-3.2.1/libtool --silent --tag=CXX --mode=compile gcc -o mod_caucho.lo -c -I/usr/local/Cellar/apache24/2.4.9/include/apache2 -I/usr/local/Cellar/apache24/2.4.9/include/apache2 -DRESIN_HOME=\"/tmp/resin-3.2.1\" -I../common -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAS_SOCK_TIMEOUT -DHAS_JVMTI -DDEBUG -Wall -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -DDARWIN_10 -g -O2 -Wall mod_caucho.c
  33. mod_caucho.c:594:45: error: no member named 'remote_ip' in 'struct conn_rec'
  34. cse_write_string(s, CSE_REMOTE_HOST, c->remote_ip);
  35. ~ ^
  36. mod_caucho.c:596:43: error: no member named 'remote_ip' in 'struct conn_rec'
  37. cse_write_string(s, CSE_REMOTE_ADDR, c->remote_ip);
  38. ~ ^
  39. mod_caucho.c:597:31: error: no member named 'remote_addr' in 'struct conn_rec'
  40. sprintf(buf, "%u", ntohs(c->remote_addr->port));
  41. ~ ^
  42. /usr/include/sys/_endian.h:126:39: note: expanded from macro 'ntohs'
  43. #define ntohs(x) __DARWIN_OSSwapInt16(x)
  44. ^
  45. /usr/include/libkern/_OSByteOrder.h:72:40: note: expanded from macro '__DARWIN_OSSwapInt16'
  46. ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x)))
  47. ^
  48. /usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  49. __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
  50. ^
  51. mod_caucho.c:597:31: error: no member named 'remote_addr' in 'struct conn_rec'
  52. sprintf(buf, "%u", ntohs(c->remote_addr->port));
  53. ~ ^
  54. /usr/include/sys/_endian.h:126:39: note: expanded from macro 'ntohs'
  55. #define ntohs(x) __DARWIN_OSSwapInt16(x)
  56. ^
  57. /usr/include/libkern/_OSByteOrder.h:72:71: note: expanded from macro '__DARWIN_OSSwapInt16'
  58. ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x)))
  59. ^
  60. /usr/include/libkern/_OSByteOrder.h:44:34: note: expanded from macro '__DARWIN_OSSwapConstInt16'
  61. ((__uint16_t)((((__uint16_t)(x) & 0xff00) >> 8) | \
  62. ^
  63. /usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  64. __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
  65. ^
  66. mod_caucho.c:597:31: error: no member named 'remote_addr' in 'struct conn_rec'
  67. sprintf(buf, "%u", ntohs(c->remote_addr->port));
  68. ~ ^
  69. /usr/include/sys/_endian.h:126:39: note: expanded from macro 'ntohs'
  70. #define ntohs(x) __DARWIN_OSSwapInt16(x)
  71. ^
  72. /usr/include/libkern/_OSByteOrder.h:72:71: note: expanded from macro '__DARWIN_OSSwapInt16'
  73. ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x)))
  74. ^
  75. /usr/include/libkern/_OSByteOrder.h:45:32: note: expanded from macro '__DARWIN_OSSwapConstInt16'
  76. (((__uint16_t)(x) & 0x00ff) << 8)))
  77. ^
  78. /usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  79. __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
  80. ^
  81. mod_caucho.c:597:31: error: no member named 'remote_addr' in 'struct conn_rec'
  82. sprintf(buf, "%u", ntohs(c->remote_addr->port));
  83. ~ ^
  84. /usr/include/sys/_endian.h:126:39: note: expanded from macro 'ntohs'
  85. #define ntohs(x) __DARWIN_OSSwapInt16(x)
  86. ^
  87. /usr/include/libkern/_OSByteOrder.h:72:89: note: expanded from macro '__DARWIN_OSSwapInt16'
  88. ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x)))
  89. ^
  90. /usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  91. __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
  92. ^
  93. mod_caucho.c:905:23: error: no member named 'remote_ip' in 'struct conn_rec'
  94. ip = r->connection->remote_ip;
  95. ~~~~~~~~~~~~~ ^
  96. 7 errors generated.
  97. make[2]: *** [mod_caucho.lo] Error 1
  98. gcc -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAS_SOCK_TIMEOUT -DHAS_JVMTI -DDEBUG -Wall -m64 -D_FILE_OFFSET_BITS=64 -DRESIN_HOME=\"/tmp/resin-3.2.1\" -I/usr/include -I/System/Library/Frameworks/JavaVM.framework/Headers -I../common -DCPU=\"i386\" -DOS= -c -o boot.o boot.c
  99. boot.c:79:1: warning: control reaches end of non-void function [-Wreturn-type]
  100. }
  101. ^
  102. boot.c:179:5: warning: implicit declaration of function 'resin_printf_exception' is invalid in C99 [-Wimplicit-function-declaration]
  103. resin_printf_exception(env, "java/lang/NullPointerException", "argv");
  104. ^
  105. 2 warnings generated.
  106. gcc -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAS_SOCK_TIMEOUT -DHAS_JVMTI -DDEBUG -Wall -m64 -D_FILE_OFFSET_BITS=64 -DRESIN_HOME=\"/tmp/resin-3.2.1\" -I/usr/include -I/System/Library/Frameworks/JavaVM.framework/Headers -I../common -DCPU=\"i386\" -DOS= -c -o java.o java.c
  107. gcc -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAS_SOCK_TIMEOUT -DHAS_JVMTI -DDEBUG -Wall -m64 -D_FILE_OFFSET_BITS=64 -DRESIN_HOME=\"/tmp/resin-3.2.1\" -I/usr/include -I/System/Library/Frameworks/JavaVM.framework/Headers -I../common -DCPU=\"i386\" -DOS= -c -o jni_os.o jni_os.c
  108. jni_os.c:164:9: warning: unused variable 'pwd' [-Wunused-variable]
  109. char *pwd;
  110. ^
  111. jni_os.c:462:7: warning: unused variable 'read_length' [-Wunused-variable]
  112. int read_length = 0;
  113. ^
  114. 2 warnings generated.
  115. gcc -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAS_SOCK_TIMEOUT -DHAS_JVMTI -DDEBUG -Wall -m64 -D_FILE_OFFSET_BITS=64 -DRESIN_HOME=\"/tmp/resin-3.2.1\" -I/usr/include -I/System/Library/Frameworks/JavaVM.framework/Headers -I../common -DCPU=\"i386\" -DOS= -c -o jni_jvmti.o jni_jvmti.c
  116. gcc -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAS_SOCK_TIMEOUT -DHAS_JVMTI -DDEBUG -Wall -m64 -D_FILE_OFFSET_BITS=64 -DRESIN_HOME=\"/tmp/resin-3.2.1\" -I/usr/include -I/System/Library/Frameworks/JavaVM.framework/Headers -I../common -DCPU=\"i386\" -DOS= -c -o jni_jvmdi.o jni_jvmdi.c
  117. gcc -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAS_SOCK_TIMEOUT -DHAS_JVMTI -DDEBUG -Wall -m64 -D_FILE_OFFSET_BITS=64 -DRESIN_HOME=\"/tmp/resin-3.2.1\" -I/usr/include -I/System/Library/Frameworks/JavaVM.framework/Headers -I../common -DCPU=\"i386\" -DOS= -c -o jni_socket.o jni_socket.c
  118. jni_socket.c:69:1: warning: unused function 'q_strdup' [-Wunused-function]
  119. q_strdup(char *str)
  120. ^
  121. 1 warning generated.
  122. gcc -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAS_SOCK_TIMEOUT -DHAS_JVMTI -DDEBUG -Wall -m64 -D_FILE_OFFSET_BITS=64 -DRESIN_HOME=\"/tmp/resin-3.2.1\" -I/usr/include -I/System/Library/Frameworks/JavaVM.framework/Headers -I../common -DCPU=\"i386\" -DOS= -c -o memory.o memory.c
  123. memory.c:36:12: warning: unused variable 'is_init' [-Wunused-variable]
  124. static int is_init;
  125. ^
  126. memory.c:38:12: warning: unused variable 'alloc' [-Wunused-variable]
  127. static int alloc = 0;
  128. ^
  129. 2 warnings generated.
  130. gcc -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAS_SOCK_TIMEOUT -DHAS_JVMTI -DDEBUG -Wall -m64 -D_FILE_OFFSET_BITS=64 -DRESIN_HOME=\"/tmp/resin-3.2.1\" -I/usr/include -I/System/Library/Frameworks/JavaVM.framework/Headers -I../common -DCPU=\"i386\" -DOS= -c -o std.o std.c
  131. std.c:310:7: warning: unused variable 'poll_result' [-Wunused-variable]
  132. int poll_result;
  133. ^
  134. std.c:312:7: warning: unused variable 'result' [-Wunused-variable]
  135. int result;
  136. ^
  137. 2 warnings generated.
  138. gcc -bundle -undefined suppress -flat_namespace -L/usr/lib -framework JavaVM -o libresin_os.jnilib boot.o java.o jni_os.o jni_jvmti.o jni_jvmdi.o jni_socket.o memory.o std.o
  139. bash-3.2$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement