envirment: rhel 64-bit jdk1.5.0 cpu: two x5310 I got some warnings when "make": " stream.c: In function 'select_host': stream.c:1261: warning: cast from pointer to integer of different size ...... lru.c: In function 'profile_hash_code': lru.c:85: warning: cast from pointer to integer of different size " while make install, I got some erros: " mkdir: cannot create directory `/usr/share/resin/libexec64': File exists make[2]: [install] Error 1 (ignored) " anyone can help? this is the result of ./configure; make; make intall [EMAIL PROTECTED] resin]# ./configure checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk 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 ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for egrep... 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 for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking for a sed that does not truncate output... /bin/sed checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking command to parse /usr/bin/nm -B output... ok checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether -lc should be explicitly linked in... no creating libtool checking for JAVA_HOME... /usr/java/jdk1.5.0_12 checking if Java is 64-bit... yes checking for JNI in /usr/java/jdk1.5.0_12/include/linux ... found Using JVMTI for class reloading Using JVMDI for class reloading Using openssl include in ... /usr/include Using openssl lib in ... /usr/lib64 Using openssl libraries in ... -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/apache1/Makefile config.status: creating modules/c/src/apache2/Makefile config.status: creating modules/c/src/resin_os/Makefile config.status: creating contrib/init.resin config.status: executing depfiles commands 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/apache1/Makefile config.status: creating modules/c/src/apache2/Makefile config.status: creating modules/c/src/resin_os/Makefile config.status: creating contrib/init.resin config.status: creating modules/c/src/resin/Makefile config.status: creating modules/c/src/resinssl/Makefile config.status: executing depfiles commands ============================================================================== [EMAIL PROTECTED] resin]# make (cd modules/c/src; make) make[1]: Entering directory `/usr/share/resin-pro-3.1.1/modules/c/src' for dir in common resin resinssl resin_os resin_os; do (cd $dir; make); done make[2]: Entering directory `/usr/share/resin-pro-3.1.1/modules/c/src/common' gcc -c -I/usr/include -g -O2 -DPOLL -DB64 -DHAS_JVMTI -DHAS_JVMDI stream.c stream.c: In function 'select_host': stream.c:1261: warning: cast from pointer to integer of different size gcc -c -I/usr/include -g -O2 -DPOLL -DB64 -DHAS_JVMTI -DHAS_JVMDI config.c gcc -c -I/usr/include -g -O2 -DPOLL -DB64 -DHAS_JVMTI -DHAS_JVMDI memory.c /usr/bin/ld -r -o common.o stream.o config.o memory.o /usr/share/resin/libtool --silent --mode=compile gcc -o stream.lo -c -I/usr/include -g -O2 -DPOLL -DB64 -DHAS_JVMTI -DHAS_JVMDI stream.c stream.c: In function 'select_host': stream.c:1261: warning: cast from pointer to integer of different size /usr/share/resin/libtool --silent --mode=compile gcc -o config.lo -c -I/usr/include -g -O2 -DPOLL -DB64 -DHAS_JVMTI -DHAS_JVMDI config.c /usr/share/resin/libtool --silent --mode=compile gcc -o memory.lo -c -I/usr/include -g -O2 -DPOLL -DB64 -DHAS_JVMTI -DHAS_JVMDI memory.c make[2]: Leaving directory `/usr/share/resin-pro-3.1.1/modules/c/src/common' make[2]: Entering directory `/usr/share/resin-pro-3.1.1/modules/c/src/resin' gcc -g -O2 -DPOLL -DB64 -DHAS_JVMTI -DHAS_JVMDI -DRESIN_HOME=\"/usr/share/resin\" -I/usr/include - I/usr/java/jdk1.5.0_12/include -I/usr/java/jdk1.5.0_12/include/linux -I../common -DCPU=\"x86_64\" -DOS= -m64 -fPIC -D_FILE_OFFSET_BITS=64 -fpic -c -o std.o std.c gcc -g -O2 -DPOLL -DB64 -DHAS_JVMTI -DHAS_JVMDI -DRESIN_HOME=\"/usr/share/resin\" -I/usr/include - I/usr/java/jdk1.5.0_12/include -I/usr/java/jdk1.5.0_12/include/linux -I../common -DCPU=\"x86_64\" -DOS= -m64 -fPIC -D_FILE_OFFSET_BITS=64 -fpic -c -o memory.o memory.c gcc -g -O2 -DPOLL -DB64 -DHAS_JVMTI -DHAS_JVMDI -DRESIN_HOME=\"/usr/share/resin\" -I/usr/include - I/usr/java/jdk1.5.0_12/include -I/usr/java/jdk1.5.0_12/include/linux -I../common -DCPU=\"x86_64\" -DOS= -m64 -fPIC -D_FILE_OFFSET_BITS=64 -fpic -c -o jni_vfs.o jni_vfs.c gcc -g -O2 -DPOLL -DB64 -DHAS_JVMTI -DHAS_JVMDI -DRESIN_HOME=\"/usr/share/resin\" -I/usr/include - I/usr/java/jdk1.5.0_12/include -I/usr/java/jdk1.5.0_12/include/linux -I../common -DCPU=\"x86_64\" -DOS= -m64 -fPIC -D_FILE_OFFSET_BITS=64 -fpic -c -o java.o java.c gcc -g -O2 -DPOLL -DB64 -DHAS_JVMTI -DHAS_JVMDI -DRESIN_HOME=\"/usr/share/resin\" -I/usr/include - I/usr/java/jdk1.5.0_12/include -I/usr/java/jdk1.5.0_12/include/linux -I../common -DCPU=\"x86_64\" -DOS= -m64 -fPIC -D_FILE_OFFSET_BITS=64 -fpic -c -o boot.o boot.c gcc -g -O2 -DPOLL -DB64 -DHAS_JVMTI -DHAS_JVMDI -DRESIN_HOME=\"/usr/share/resin\" -I/usr/include - I/usr/java/jdk1.5.0_12/include -I/usr/java/jdk1.5.0_12/include/linux -I../common -DCPU=\"x86_64\" -DOS= -m64 -fPIC -D_FILE_OFFSET_BITS=64 -fpic -c -o profile.o profile.c gcc -g -O2 -DPOLL -DB64 -DHAS_JVMTI -DHAS_JVMDI -DRESIN_HOME=\"/usr/share/resin\" -I/usr/include - I/usr/java/jdk1.5.0_12/include -I/usr/java/jdk1.5.0_12/include/linux -I../common -DCPU=\"x86_64\" -DOS= -m64 -fPIC -D_FILE_OFFSET_BITS=64 -fpic -c -o heap.o heap.c gcc -g -O2 -DPOLL -DB64 -DHAS_JVMTI -DHAS_JVMDI -DRESIN_HOME=\"/usr/share/resin\" -I/usr/include - I/usr/java/jdk1.5.0_12/include -I/usr/java/jdk1.5.0_12/include/linux -I../common -DCPU=\"x86_64\" -DOS= -m64 -fPIC -D_FILE_OFFSET_BITS=64 -fpic -c -o lru.o lru.c lru.c: In function 'profile_hash_code': lru.c:85: warning: cast from pointer to integer of different size gcc -g -O2 -DPOLL -DB64 -DHAS_JVMTI -DHAS_JVMDI -DRESIN_HOME=\"/usr/share/resin\" -I/usr/include - I/usr/java/jdk1.5.0_12/include -I/usr/java/jdk1.5.0_12/include/linux -I../common -DCPU=\"x86_64\" -DOS= -m64 -fPIC -D_FILE_OFFSET_BITS=64 -fpic -c -o symbol.o symbol.c /usr/bin/ld -shared -fPIC -L/usr/lib64 -o libresin.so std.o memory.o jni_vfs.o java.o boot.o profile.o heap.o lru.o symbol.o -lpthread make[2]: Leaving directory `/usr/share/resin-pro-3.1.1/modules/c/src/resin' make[2]: Entering directory `/usr/share/resin-pro-3.1.1/modules/c/src/resinssl' gcc -g -O2 -DPOLL -DB64 -DHAS_JVMTI -DHAS_JVMDI -DRESIN_HOME=\"/usr/share/resin\" -I/usr/include - I/usr/java/jdk1.5.0_12/include -I/usr/java/jdk1.5.0_12/include/linux -I../common -I../resin -DCPU=\"x86_64\" -DOS= -m64 -fPIC -D_FILE_OFFSET_BITS=64 -fpic -DSSL_ENGINE -c -o ssl.o ssl.c /usr/bin/ld -shared -fPIC -L/usr/lib64 -o libresinssl.so ssl.o ../resin/memory.o ../resin/std.o ../resin/java.o - lpthread -lssl -lcrypto make[2]: Leaving directory `/usr/share/resin-pro-3.1.1/modules/c/src/resinssl' make[2]: Entering directory `/usr/share/resin-pro-3.1.1/modules/c/src/resin_os' gcc -g -O2 -DPOLL -DB64 -DHAS_JVMTI -DHAS_JVMDI -m64 -fPIC -D_FILE_OFFSET_BITS=64 -DRESIN_HOME=\"/usr/share/resin\" -I/usr/include -I/usr/java/jdk1.5.0_12/include -I/usr/java/jdk1.5.0_12/include/linux -I../common -DCPU=\"x86_64\" - DOS= -c -o jni_os.o jni_os.c /usr/bin/ld -shared -fPIC -L/usr/lib64 -o libresin_os.so jni_os.o jni_jvmti.o jni_jvmdi.o -lpthread make[2]: Leaving directory `/usr/share/resin-pro-3.1.1/modules/c/src/resin_os' make[2]: Entering directory `/usr/share/resin-pro-3.1.1/modules/c/src/resin_os' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/usr/share/resin-pro-3.1.1/modules/c/src/resin_os' make[1]: Leaving directory `/usr/share/resin-pro-3.1.1/modules/c/src' =================================================================================================== [EMAIL PROTECTED] resin]# make install (cd modules/c/src; make install) make[1]: Entering directory `/usr/share/resin-pro-3.1.1/modules/c/src' for dir in common resin resinssl resin_os resin_os; do (cd $dir; make install); done make[2]: Entering directory `/usr/share/resin-pro-3.1.1/modules/c/src/common' make[2]: Nothing to be done for `install'. make[2]: Leaving directory `/usr/share/resin-pro-3.1.1/modules/c/src/common' make[2]: Entering directory `/usr/share/resin-pro-3.1.1/modules/c/src/resin' mkdir /usr/share/resin/libexec64 mkdir: cannot create directory `/usr/share/resin/libexec64': File exists make[2]: [install] Error 1 (ignored) cp libresin.so /usr/share/resin/libexec64 make[2]: Leaving directory `/usr/share/resin-pro-3.1.1/modules/c/src/resin' make[2]: Entering directory `/usr/share/resin-pro-3.1.1/modules/c/src/resinssl' mkdir /usr/share/resin/libexec64 mkdir: cannot create directory `/usr/share/resin/libexec64': File exists make[2]: [install] Error 1 (ignored) cp libresinssl.so /usr/share/resin/libexec64 make[2]: Leaving directory `/usr/share/resin-pro-3.1.1/modules/c/src/resinssl' make[2]: Entering directory `/usr/share/resin-pro-3.1.1/modules/c/src/resin_os' mkdir /usr/share/resin/libexec64 mkdir: cannot create directory `/usr/share/resin/libexec64': File exists make[2]: [install] Error 1 (ignored) cp libresin_os.so /usr/share/resin/libexec64 make[2]: Leaving directory `/usr/share/resin-pro-3.1.1/modules/c/src/resin_os' make[2]: Entering directory `/usr/share/resin-pro-3.1.1/modules/c/src/resin_os' mkdir /usr/share/resin/libexec64 mkdir: cannot create directory `/usr/share/resin/libexec64': File exists make[2]: [install] Error 1 (ignored) cp libresin_os.so /usr/share/resin/libexec64 make[2]: Leaving directory `/usr/share/resin-pro-3.1.1/modules/c/src/resin_os' make[1]: Leaving directory `/usr/share/resin-pro-3.1.1/modules/c/src' if test /usr/share/resin != `pwd`; then \ mkdir -p /usr/share/resin/lib; \ mkdir -p /usr/share/resin/libexec; \ cp -r libexec/* /usr/share/resin/libexec; \ cp lib/*.jar /usr/share/resin/lib; \ mkdir -p /usr/share/resin/bin; \ cp bin/* /usr/share/resin/bin; \ mkdir -p /usr/share/resin/webapps; \ cp -r webapps/* /usr/share/resin/webapps; \ mkdir -p /usr/share/resin/conf; \ cp conf/resin.conf /usr/share/resin/conf/resin.conf.orig; \ cp conf/app-default.xml /usr/share/resin/conf/app-default.xml.orig; \ if test ! -r /usr/share/resin/conf/resin.conf; then \ cp conf/resin.conf /usr/share/resin/conf/resin.conf; \ cp conf/app-default.xml /usr/share/resin/conf/app-default.xml; \ fi; \ fi
_______________________________________________ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest