I am getting the following errors when running make on Solaris 10 for 4.0.23

I have not done this on Solaris yet for resin 4 though I have resin 2 
made on the same box.

Are these errors something I need to worry about?

Can these be fixed by me or am I stuck waiting for a resolution from Caucho?


Thanks for any help


Alan


resin@dev> make
(cd modules/c/src; make)
for dir in common resin_os resin resinssl; do (cd $dir; make); done
cc -c  -mt -KPIC -xO2 -m64 -DHAS_SOCK_TIMEOUT -D__SOLARIS__ -DHAS_JVMTI 
stream.c
cc -c  -mt -KPIC -xO2 -m64 -DHAS_SOCK_TIMEOUT -D__SOLARIS__ -DHAS_JVMTI 
config.c
"config.c", line 609: prototype mismatch: 2 args passed, 3 expected
"config.c", line 629: prototype mismatch: 2 args passed, 3 expected
"config.c", line 1052: prototype mismatch: 2 args passed, 3 expected
"config.c", line 1155: prototype mismatch: 2 args passed, 3 expected
cc: acomp failed for config.c
*** Error code 2
make: Fatal error: Command failed for target `config.o'
Current working directory /opt/resin-pro-4.0.23-build/modules/c/src/common
cc -mt -KPIC -xO2 -m64 -DHAS_SOCK_TIMEOUT -D__SOLARIS__ -DHAS_JVMTI  
-m64 -DRESIN_HOME=\"/usr/local/resin\" -I/usr/jdk/latest/include 
-I/usr/jdk/latest/include/solaris -I../common -DCPU=\"i386\" -DOS=  -c  
boot.c
"boot.c", line 164: warning: implicit function declaration: 
resin_printf_exception
cc -mt -KPIC -xO2 -m64 -DHAS_SOCK_TIMEOUT -D__SOLARIS__ -DHAS_JVMTI  
-m64 -DRESIN_HOME=\"/usr/local/resin\" -I/usr/jdk/latest/include 
-I/usr/jdk/latest/include/solaris -I../common -DCPU=\"i386\" -DOS=  -c  
java.c
cc -mt -KPIC -xO2 -m64 -DHAS_SOCK_TIMEOUT -D__SOLARIS__ -DHAS_JVMTI  
-m64 -DRESIN_HOME=\"/usr/local/resin\" -I/usr/jdk/latest/include 
-I/usr/jdk/latest/include/solaris -I../common -DCPU=\"i386\" -DOS=  -c  
jni_os.c
cc -mt -KPIC -xO2 -m64 -DHAS_SOCK_TIMEOUT -D__SOLARIS__ -DHAS_JVMTI  
-m64 -DRESIN_HOME=\"/usr/local/resin\" -I/usr/jdk/latest/include 
-I/usr/jdk/latest/include/solaris -I../common -DCPU=\"i386\" -DOS=  -c  
jni_jvmti.c
cc -mt -KPIC -xO2 -m64 -DHAS_SOCK_TIMEOUT -D__SOLARIS__ -DHAS_JVMTI  
-m64 -DRESIN_HOME=\"/usr/local/resin\" -I/usr/jdk/latest/include 
-I/usr/jdk/latest/include/solaris -I../common -DCPU=\"i386\" -DOS=  -c  
jni_socket.c
cc -mt -KPIC -xO2 -m64 -DHAS_SOCK_TIMEOUT -D__SOLARIS__ -DHAS_JVMTI  
-m64 -DRESIN_HOME=\"/usr/local/resin\" -I/usr/jdk/latest/include 
-I/usr/jdk/latest/include/solaris -I../common -DCPU=\"i386\" -DOS=  -c  
memory.c
cc -mt -KPIC -xO2 -m64 -DHAS_SOCK_TIMEOUT -D__SOLARIS__ -DHAS_JVMTI  
-m64 -DRESIN_HOME=\"/usr/local/resin\" -I/usr/jdk/latest/include 
-I/usr/jdk/latest/include/solaris -I../common -DCPU=\"i386\" -DOS=  -c  
std.c
cc -m64 -G -mt -z defs -z text 
-R/usr/lib/64:/usr/sfw/lib/64:/usr/local/lib/sparcv9 
-YP,/usr/lib/64:/usr/sfw/lib/64:/usr/local/lib/sparcv9 -G -mt -z defs -z 
text -o libresin_os.so boot.o java.o jni_os.o jni_jvmti.o jni_socket.o 
memory.o std.o -lnsl -lsocket -lthread -lc
ld: warning: option -z[defs|nodefs] appears more than once, first 
setting taken
cc -mt -KPIC -xO2 -m64 -DHAS_SOCK_TIMEOUT -D__SOLARIS__ -DHAS_JVMTI 
-DRESIN_HOME=\"/usr/local/resin\" -I/usr/jdk/latest/include 
-I/usr/jdk/latest/include/solaris -I../common -DCPU=\"i386\" -DOS=  -m64 
-mt -KPIC -xO2  -c  jni_vfs.c
"jni_vfs.c", line 750: warning: implicit function declaration: pthread_self
cc -mt -KPIC -xO2 -m64 -DHAS_SOCK_TIMEOUT -D__SOLARIS__ -DHAS_JVMTI 
-DRESIN_HOME=\"/usr/local/resin\" -I/usr/jdk/latest/include 
-I/usr/jdk/latest/include/solaris -I../common -DCPU=\"i386\" -DOS=  -m64 
-mt -KPIC -xO2  -c  profile.c
cc -mt -KPIC -xO2 -m64 -DHAS_SOCK_TIMEOUT -D__SOLARIS__ -DHAS_JVMTI 
-DRESIN_HOME=\"/usr/local/resin\" -I/usr/jdk/latest/include 
-I/usr/jdk/latest/include/solaris -I../common -DCPU=\"i386\" -DOS=  -m64 
-mt -KPIC -xO2  -c  heap.c
"heap.c", line 63: warning: integer overflow detected: op "<<"
"heap.c", line 91: warning: integer overflow detected: op "<<"
"heap.c", line 119: warning: integer overflow detected: op "<<"
"heap.c", line 146: warning: integer overflow detected: op "<<"
"heap.c", line 149: warning: integer overflow detected: op "<<"
cc -mt -KPIC -xO2 -m64 -DHAS_SOCK_TIMEOUT -D__SOLARIS__ -DHAS_JVMTI 
-DRESIN_HOME=\"/usr/local/resin\" -I/usr/jdk/latest/include 
-I/usr/jdk/latest/include/solaris -I../common -DCPU=\"i386\" -DOS=  -m64 
-mt -KPIC -xO2  -c  lru.c
"lru.c", line 594: warning: implicit function declaration: qsort
cc -mt -KPIC -xO2 -m64 -DHAS_SOCK_TIMEOUT -D__SOLARIS__ -DHAS_JVMTI 
-DRESIN_HOME=\"/usr/local/resin\" -I/usr/jdk/latest/include 
-I/usr/jdk/latest/include/solaris -I../common -DCPU=\"i386\" -DOS=  -m64 
-mt -KPIC -xO2  -c  symbol.c
cc -mt -KPIC -xO2 -m64 -DHAS_SOCK_TIMEOUT -D__SOLARIS__ -DHAS_JVMTI 
-DRESIN_HOME=\"/usr/local/resin\" -I/usr/jdk/latest/include 
-I/usr/jdk/latest/include/solaris -I../common -DCPU=\"i386\" -DOS=  -m64 
-mt -KPIC -xO2  -c  crc64.c
"crc64.c", line 30: warning: integer overflow detected: op "<<"
cc -mt -KPIC -xO2 -m64 -DHAS_SOCK_TIMEOUT -D__SOLARIS__ -DHAS_JVMTI 
-DRESIN_HOME=\"/usr/local/resin\" -I/usr/jdk/latest/include 
-I/usr/jdk/latest/include/solaris -I../common -DCPU=\"i386\" -DOS=  -m64 
-mt -KPIC -xO2  -c  stat.c
"stat.c", line 85: warning: implicit function declaration: getloadavg
cc -mt -KPIC -xO2 -m64 -DHAS_SOCK_TIMEOUT -D__SOLARIS__ -DHAS_JVMTI 
-DRESIN_HOME=\"/usr/local/resin\" -I/usr/jdk/latest/include 
-I/usr/jdk/latest/include/solaris -I../common -DCPU=\"i386\" -DOS=  -m64 
-mt -KPIC -xO2  -c  mmap_file.c
"mmap_file.c", line 119: warning: implicit function declaration: memset
cc -m64 -G -mt -z defs -z text 
-R/usr/lib/64:/usr/sfw/lib/64:/usr/local/lib/sparcv9 
-YP,/usr/lib/64:/usr/sfw/lib/64:/usr/local/lib/sparcv9 -G -mt -z defs -z 
text -o libresin.so ../resin_os/std.o ../resin_os/memory.o 
../resin_os/java.o jni_vfs.o profile.o heap.o lru.o symbol.o crc64.o 
stat.o mmap_file.o -lnsl -lsocket -lthread -lc
ld: warning: option -z[defs|nodefs] appears more than once, first 
setting taken
cc -mt -KPIC -xO2 -m64 -DHAS_SOCK_TIMEOUT -D__SOLARIS__ -DHAS_JVMTI 
-DRESIN_HOME=\"/usr/local/resin\" -I/usr/jdk/latest/include 
-I/usr/jdk/latest/include/solaris -I../common -I../resin -DCPU=\"i386\" 
-DOS=  -m64 -mt -KPIC -xO2  -c  ssl_stub.c
cc -m64 -G -mt -z defs -z text 
-R/usr/lib/64:/usr/sfw/lib/64:/usr/local/lib/sparcv9 
-YP,/usr/lib/64:/usr/sfw/lib/64:/usr/local/lib/sparcv9 -G -mt -z defs -z 
text -o libresinssl.so ssl_stub.o ../resin_os/memory.o ../resin_os/std.o 
../resin_os/java.o -lnsl -lsocket -lthread -lc
ld: warning: option -z[defs|nodefs] appears more than once, first 
setting taken
if test -r ./modules/c/src/Makefile; then \
   cd ./modules/c/src; make; \
fi
for dir in common resin_os resin resinssl; do (cd $dir; make); done
cc -c  -mt -KPIC -xO2 -m64 -DHAS_SOCK_TIMEOUT -D__SOLARIS__ -DHAS_JVMTI 
config.c
"config.c", line 609: prototype mismatch: 2 args passed, 3 expected
"config.c", line 629: prototype mismatch: 2 args passed, 3 expected
"config.c", line 1052: prototype mismatch: 2 args passed, 3 expected
"config.c", line 1155: prototype mismatch: 2 args passed, 3 expected
cc: acomp failed for config.c
*** Error code 2
make: Fatal error: Command failed for target `config.o'
Current working directory /opt/resin-pro-4.0.23-build/modules/c/src/common
resin@dev>

-- 


Alan Wright
Athene Systems

tel 0845 230 9803


Athene Systems Limited
Registered Office:
Shieling House
Invincible Road
Farnborough
GU14 7QU

Registered in England and Wales No. 3156080



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to