Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003588 [Resin] minor always 06-29-09 19:30 08-24-09 09:59
Reporter emil View Status public  
Assigned To ferg
Priority normal Resolution unable to reproduce  
Status closed   Product Version 4.0.1
Summary 0003588: build problems on mac os x
Description (rep by Jon Stevens)

configure/make fails on osx 10.5.7 (64bit core 2 duo, macbook pro)

[17][ ~/checkout/resin-4.0.0 ]% ./configure
checking build system type... i386-apple-darwin9.7.0
checking host system type... i386-apple-darwin9.7.0
checking target system type... i386-apple-darwin9.7.0
checking for a BSD-compatible install... /opt/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is GNU
ld... no
checking for egrep... (cached) /usr/bin/grep -E
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/epoll.h usability... no
checking sys/epoll.h presence... no
checking for sys/epoll.h... no
ROOT:
ROOT2: /usr/local/resin
ROOT3: /usr/local/resin
checking for JAVA_HOME... /System/Library/Frameworks/JavaVM.framework/Home
checking for /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld option to reload
object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 196608
checking command to parse /usr/bin/nm -p output from gcc object... rm:
conftest.dSYM: is a directory
ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
rm: conftest.dSYM: is a directory
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker
(/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries...
yes
checking dynamic linker characteristics... darwin9.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld
checking if the linker (/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) is GNU
ld... no
checking whether the g++ linker
(/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries...
yes
checking for g++ option to produce PIC... -fno-common
checking if g++ PIC flag -fno-common works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker
(/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld) supports shared libraries...
yes
checking dynamic linker characteristics... darwin9.7.0 dyld
(cached) (cached) checking how to hardcode library paths into programs...
immediate
appending configuration tag "F77" to libtool
Using shared library flags from /usr/sbin/apxs
-n checking if Java is 64-bit...
yes
Using Apache CFLAGS: -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK
-no-cpp-precomp
checking for JNI in /System/Library/Frameworks/JavaVM.framework/Home/include
... found
Using JVMTI for class reloading
Using openssl include in ... /usr/include
Using openssl lib in ... /usr/lib
Using openssl libraries ... -lssl -lcrypto
configure: creating ./config.status
config.status: creating Makefile
config.status: creating modules/c/src/Makefile
config.status: creating modules/c/src/common/Makefile
config.status: creating modules/c/src/apache2/Makefile
config.status: creating modules/c/src/resin_os/Makefile
config.status: creating init.d/resin
config.status: executing depfiles commands


Resin Configuration summary:

  RESIN_HOME: /usr/local/resin
      root: /usr/local/resin
      conf: /usr/local/resin/conf
      log : /usr/local/resin/log
      init:

  + poll() for keepalives
  + OpenSSL 0.9.7l 28 Sep 2006
      OpenSSL include: /usr/include
      OpenSSL lib: /usr/lib
      OpenSSL libraries: -lssl -lcrypto

  JAVA_HOME: /System/Library/Frameworks/JavaVM.framework/Home
    + 64-bit JNI in
-I/System/Library/Frameworks/JavaVM.framework/Home/include
      JNI CFLAGS: -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64
-DHAS_SOCK_TIMEOUT -DHAS_JVMTI

[18][ ~/checkout/resin-4.0.0 ]% make
(cd modules/c/src; make)
for dir in common resin_os ; do (cd $dir; make); done
gcc -c -I/usr/include -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64
-DHAS_SOCK_TIMEOUT -DHAS_JVMTI stream.c
gcc -c -I/usr/include -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64
-DHAS_SOCK_TIMEOUT -DHAS_JVMTI config.c
gcc -c -I/usr/include -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64
-DHAS_SOCK_TIMEOUT -DHAS_JVMTI memory.c
/Users/jon/checkout/resin-4.0.0/libtool --silent --mode=compile gcc -o
stream.lo -c -I/usr/include -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64
-DHAS_SOCK_TIMEOUT -DHAS_JVMTI stream.c
/Users/jon/checkout/resin-4.0.0/libtool --silent --mode=compile gcc -o
config.lo -c -I/usr/include -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64
-DHAS_SOCK_TIMEOUT -DHAS_JVMTI config.c
/Users/jon/checkout/resin-4.0.0/libtool --silent --mode=compile gcc -o
memory.lo -c -I/usr/include -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64
-DHAS_SOCK_TIMEOUT -DHAS_JVMTI memory.c
gcc -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -DHAS_SOCK_TIMEOUT
-DHAS_JVMTI -m64 -DRESIN_HOME=\"/usr/local/resin\" -I/usr/include
-I/System/Library/Frameworks/JavaVM.framework/Home/include -I../common
-DCPU=\"i386\" -DOS= -c -o boot.o boot.c
gcc -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -DHAS_SOCK_TIMEOUT
-DHAS_JVMTI -m64 -DRESIN_HOME=\"/usr/local/resin\" -I/usr/include
-I/System/Library/Frameworks/JavaVM.framework/Home/include -I../common
-DCPU=\"i386\" -DOS= -c -o java.o java.c
gcc -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -DHAS_SOCK_TIMEOUT
-DHAS_JVMTI -m64 -DRESIN_HOME=\"/usr/local/resin\" -I/usr/include
-I/System/Library/Frameworks/JavaVM.framework/Home/include -I../common
-DCPU=\"i386\" -DOS= -c -o jni_os.o jni_os.c
gcc -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -DHAS_SOCK_TIMEOUT
-DHAS_JVMTI -m64 -DRESIN_HOME=\"/usr/local/resin\" -I/usr/include
-I/System/Library/Frameworks/JavaVM.framework/Home/include -I../common
-DCPU=\"i386\" -DOS= -c -o jni_jvmti.o jni_jvmti.c
gcc -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -DHAS_SOCK_TIMEOUT
-DHAS_JVMTI -m64 -DRESIN_HOME=\"/usr/local/resin\" -I/usr/include
-I/System/Library/Frameworks/JavaVM.framework/Home/include -I../common
-DCPU=\"i386\" -DOS= -c -o jni_socket.o jni_socket.c
gcc -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -DHAS_SOCK_TIMEOUT
-DHAS_JVMTI -m64 -DRESIN_HOME=\"/usr/local/resin\" -I/usr/include
-I/System/Library/Frameworks/JavaVM.framework/Home/include -I../common
-DCPU=\"i386\" -DOS= -c -o memory.o memory.c
gcc -g -O2 -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -DHAS_SOCK_TIMEOUT
-DHAS_JVMTI -m64 -DRESIN_HOME=\"/usr/local/resin\" -I/usr/include
-I/System/Library/Frameworks/JavaVM.framework/Home/include -I../common
-DCPU=\"i386\" -DOS= -c -o std.o std.c
gcc -arch x86_64 -L/usr/lib -framework JavaVM -o libresin_os.jnilib boot.o
java.o jni_os.o jni_jvmti.o jni_socket.o memory.o std.o
Undefined symbols:
  "_main", referenced from:
      start in crt1.10.5.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [libresin_os.jnilib] Error 1
make[1]: *** [plugins] Error 2
make: *** [all] Error 2
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
06-29-09 19:30 emil New Issue
08-24-09 09:59 ferg Assigned To  => ferg
08-24-09 09:59 ferg Status new => closed
08-24-09 09:59 ferg Resolution open => unable to reproduce
08-24-09 09:59 ferg Fixed in Version  => 4.0.2


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
27 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker