Mantis - Resin
Viewing Issue Advanced Details
4678 major always 07-22-11 07:52 08-04-11 18:32
nits4resin  
ferg  
normal  
closed 4.0.19  
fixed  
none    
none 4.0.21  
0004678: Build Problem in Sparc Solaries
Hi,

I am trying to build resin 4.0.19 on Sun 64 bit machine.

========================
bash-2.03$ uname -a
SunOS HOST_MACHINE_NAME 5.8 Generic_108528-23 sun4u sparc SUNW,Sun-Fire-V210
========================

following is my configuration
./configure --enable-64bit CC=cc

After firing command make getting following error..

=======================================
bash-2.03$ make
:
:
:
:
cc -g -DPOLL -D_POSIX_PTHREAD_SEMANTICS -DB64 -xarch=v9 -DHAS_SOCK_TIMEOUT -D__SOLARIS__ -DHAS_JVMTI -DRESIN_HOME=\"/usr/local/resin\" -I/usr/local/ssl/include -I/?/javac/jdk1.6.0_26_sparcv9/include -I/?/javac/jdk1.6.0_26_sparcv9/include/solaris -I../common -DCPU=\"sparcv9\" -DOS= -xarch=v9 -KPIC -c -o mmap_file.o mmap_file.c
"mmap_file.c", line 115: warning: implicit function declaration: memset
"mmap_file.c", line 121: warning: improper pointer/integer combination: op "="
cc -shared -shared -fPIC -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
cc: Warning: multiple use of -h option, previous one discarded.
cc: Warning: illegal option -fPIC
ld: warning: option -h appears more than once, first setting taken
ld: fatal: option -h and building a dynamic executable are incompatible
ld: fatal: Flags processing errors
make[2]: *** [libresin.so] Error 1
make[2]: Leaving directory `/?. /resin-pro-4.0.19/modules/c/src/resin?

===================================


following is the version of cc
========================
bash-2.03$ which cc
/users/SUNWspro11/bin/cc
bash-2.03$ cc -V
cc: Sun C 5.8 2005/10/13

==========================

Pl see this issue.

Regards,
Nits
Machine details

bash-2.03$
bash-2.03$ uname -a
SunOS HOST_MACHINE_NAME 5.8 Generic_108528-23 sun4u sparc SUNW,Sun-Fire-V210
bash-2.03$
bash-2.03$ isainfo -v
64-bit sparcv9 applications
32-bit sparc applications
bash-2.03$

 configure_log.txt [^] (5,552 bytes) 07-22-11 07:52

Notes
(0005410)
nits4resin   
07-28-11 21:54   
Any updates over it.