Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bash-3.2$ make
- (cd modules/c/src; /Applications/Xcode.app/Contents/Developer/usr/bin/make)
- for dir in common apache2 resin_os ; do (cd $dir; /Applications/Xcode.app/Contents/Developer/usr/bin/make); done
- 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
- stream.c:953:7: warning: unused variable 'i' [-Wunused-variable]
- int i;
- ^
- stream.c:79:1: warning: unused function 'poll_read' [-Wunused-function]
- poll_read(int fd, int s)
- ^
- 2 warnings generated.
- 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
- 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
- memory.c:126:5: warning: implicit declaration of function 'cse_free' is invalid in C99 [-Wimplicit-function-declaration]
- cse_free(ptr->buffer);
- ^
- 1 warning generated.
- gcc -r -o common.o stream.o config.o memory.o
- ld: warning: unexpected dylib (/usr/lib/libSystem.dylib) on link line
- 0 0x10d5c30e7 __assert_rtn + 144
- 1 0x10d62c966 ld::tool::SectionRelocationsAtom<x86>::sectSymNum(bool, ld::Atom const*) + 0
- 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
- 3 0x10d650060 ld::tool::SectionRelocationsAtom<x86_64>::encode() + 62
- 4 0x10d621ffe ld::tool::OutputFile::updateLINKEDITAddresses(ld::Internal&) + 454
- 5 0x10d61cce4 ld::tool::OutputFile::write(ld::Internal&) + 138
- 6 0x10d5c3d94 main + 1012
- A linker snapshot was created at:
- /tmp/common.o-2014-04-28-072252.ld-snapshot
- ld: Assertion failed: (_machoSection != 0), function machoSection, file /SourceCache/ld64/ld64-236.4/src/ld/ld.hpp, line 714.
- clang: error: linker command failed with exit code 1 (use -v to see invocation)
- make[2]: *** [common.o] Error 1
- 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
- mod_caucho.c:594:45: error: no member named 'remote_ip' in 'struct conn_rec'
- cse_write_string(s, CSE_REMOTE_HOST, c->remote_ip);
- ~ ^
- mod_caucho.c:596:43: error: no member named 'remote_ip' in 'struct conn_rec'
- cse_write_string(s, CSE_REMOTE_ADDR, c->remote_ip);
- ~ ^
- mod_caucho.c:597:31: error: no member named 'remote_addr' in 'struct conn_rec'
- sprintf(buf, "%u", ntohs(c->remote_addr->port));
- ~ ^
- /usr/include/sys/_endian.h:126:39: note: expanded from macro 'ntohs'
- #define ntohs(x) __DARWIN_OSSwapInt16(x)
- ^
- /usr/include/libkern/_OSByteOrder.h:72:40: note: expanded from macro '__DARWIN_OSSwapInt16'
- ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x)))
- ^
- /usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
- __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
- ^
- mod_caucho.c:597:31: error: no member named 'remote_addr' in 'struct conn_rec'
- sprintf(buf, "%u", ntohs(c->remote_addr->port));
- ~ ^
- /usr/include/sys/_endian.h:126:39: note: expanded from macro 'ntohs'
- #define ntohs(x) __DARWIN_OSSwapInt16(x)
- ^
- /usr/include/libkern/_OSByteOrder.h:72:71: note: expanded from macro '__DARWIN_OSSwapInt16'
- ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x)))
- ^
- /usr/include/libkern/_OSByteOrder.h:44:34: note: expanded from macro '__DARWIN_OSSwapConstInt16'
- ((__uint16_t)((((__uint16_t)(x) & 0xff00) >> 8) | \
- ^
- /usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
- __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
- ^
- mod_caucho.c:597:31: error: no member named 'remote_addr' in 'struct conn_rec'
- sprintf(buf, "%u", ntohs(c->remote_addr->port));
- ~ ^
- /usr/include/sys/_endian.h:126:39: note: expanded from macro 'ntohs'
- #define ntohs(x) __DARWIN_OSSwapInt16(x)
- ^
- /usr/include/libkern/_OSByteOrder.h:72:71: note: expanded from macro '__DARWIN_OSSwapInt16'
- ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x)))
- ^
- /usr/include/libkern/_OSByteOrder.h:45:32: note: expanded from macro '__DARWIN_OSSwapConstInt16'
- (((__uint16_t)(x) & 0x00ff) << 8)))
- ^
- /usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
- __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
- ^
- mod_caucho.c:597:31: error: no member named 'remote_addr' in 'struct conn_rec'
- sprintf(buf, "%u", ntohs(c->remote_addr->port));
- ~ ^
- /usr/include/sys/_endian.h:126:39: note: expanded from macro 'ntohs'
- #define ntohs(x) __DARWIN_OSSwapInt16(x)
- ^
- /usr/include/libkern/_OSByteOrder.h:72:89: note: expanded from macro '__DARWIN_OSSwapInt16'
- ((__uint16_t)(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt16(x) : _OSSwapInt16(x)))
- ^
- /usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
- __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
- ^
- mod_caucho.c:905:23: error: no member named 'remote_ip' in 'struct conn_rec'
- ip = r->connection->remote_ip;
- ~~~~~~~~~~~~~ ^
- 7 errors generated.
- make[2]: *** [mod_caucho.lo] Error 1
- 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
- boot.c:79:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- boot.c:179:5: warning: implicit declaration of function 'resin_printf_exception' is invalid in C99 [-Wimplicit-function-declaration]
- resin_printf_exception(env, "java/lang/NullPointerException", "argv");
- ^
- 2 warnings generated.
- 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
- 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
- jni_os.c:164:9: warning: unused variable 'pwd' [-Wunused-variable]
- char *pwd;
- ^
- jni_os.c:462:7: warning: unused variable 'read_length' [-Wunused-variable]
- int read_length = 0;
- ^
- 2 warnings generated.
- 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
- 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
- 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
- jni_socket.c:69:1: warning: unused function 'q_strdup' [-Wunused-function]
- q_strdup(char *str)
- ^
- 1 warning generated.
- 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
- memory.c:36:12: warning: unused variable 'is_init' [-Wunused-variable]
- static int is_init;
- ^
- memory.c:38:12: warning: unused variable 'alloc' [-Wunused-variable]
- static int alloc = 0;
- ^
- 2 warnings generated.
- 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
- std.c:310:7: warning: unused variable 'poll_result' [-Wunused-variable]
- int poll_result;
- ^
- std.c:312:7: warning: unused variable 'result' [-Wunused-variable]
- int result;
- ^
- 2 warnings generated.
- 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
- bash-3.2$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement