[Users] Re: [Devel] Compiling Presence module on Solaris 9

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Dec 13 20:42:02 CET 2006


FYI: thread moved on devel list.

bogdan

Peter Edwards wrote:

>On Wed, 2006-12-13 at 18:54 +0200, Bogdan-Andrei Iancu wrote:
>  
>
>>Hi Peter,
>>
>>the only way to go is to make a fresh and complete checkout of the CVS head.
>>
>>regards,
>>bogdan
>>    
>>
>
>Hi, bogdan,
>
>Thanks for the reply.  I'll forget about the former and concentrate on a
>clean build.  I did try a fresh compile as detailed in my original mail
>- which results in the v8plus error messages (included again below).
>
>I suspect this is because something has fundamentally changed in the
>Makefiles etc. which means my working build environment for 1.1.0, no
>longer works with the latest development release.
>
>I'm not a C guru, tho, and would appreciate any pointers you might have
>as to exactly what I need to fix my environment.  Is the gcc compiler
>warning accurate, would updating it fix the v8plus errors?
>
>Thanks,
>
>Peter.
>
>P.S. Sorry for posting to Users and Devel lists last time, I Reply To
>All'd from someone else's mail and didn't notice!
>
>  
>
>>Peter Edwards wrote:
>>
>>    
>>
>>>Hi,
>>>
>>>A while ago, I downloaded the latest .tar.gz release of OpenSER 1.1.0
>>>and managed to get it compiled and running, including TLS support, on
>>>Solaris 9 9/04. Go me.
>>>
>>>Now, I'd like to get try out the latest Presence module.  I've created
>>>the appropriate MySQL database tables, so now I need to compile the
>>>module and that's where the trouble starts.
>>>
>>>Do I:
>>>      
>>>
>
>  
>
>>>or
>>>
>>>- check out the latest version of the complete project and
>>> re-compile everything from scratch?
>>>      
>>>
>
>  
>
>>>whilst doing the latter (without TLS), results in new complaints about
>>>my gcc version (the compilation of the 1.1.0 release didn't complain)
>>>and drops out with a problem related to the selected architecture:
>>>
>>>
>>>
>>># make all
>>>Makefile.defs:651: You are using an old and unsupported gcc version
>>>(3.3.2), compile at your own risk!
>>>Compiling fifo_server.c
>>>gcc  -g -O9 -funroll-loops   -Wall  -mv8      -DNAME='"openser"'
>>>-DVERSION='"1.2.0-dev12-notls"' -DARCH='"sparc64"' -DOS='"solaris"'
>>>-DCOMPILER='"gcc 3.3.2"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_no
>>>-DCFG_DIR='"/usr/local/etc/openser/"' -DPKG_MALLOC -DSHM_MEM  -DSHM_MMAP
>>>-DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES
>>>-DSTATISTICS -DF_MALLOC  -DFAST_LOCK -DADAPTIVE_WAIT
>>>-DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H
>>>-DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION -DHAVE_DEVPOLL
>>>-DHAVE_SELECT -c fifo_server.c -o fifo_server.o
>>>/usr/ccs/bin/as: "/var/tmp//ccMSsE4v.s", line 5661: error: cannot use
>>>v8plus instructions in a non-v8plus target binary
>>>/usr/ccs/bin/as: "/var/tmp//ccMSsE4v.s", line 5683: error: cannot use
>>>v8plus instructions in a non-v8plus target binary
>>>/usr/ccs/bin/as: "/var/tmp//ccMSsE4v.s", line 5711: error: cannot use
>>>v8plus instructions in a non-v8plus target binary
>>>make: *** [fifo_server.o] Error 1
>>>#
>>>
>>>
>>>
>>>Which route should I be pursuing and does anyone have any ideas where to
>>>start fixing the appropriate compilation error?
>>>
>>>Cheers,
>>>
>>>Peter.
>>>      
>>>
>
>  
>





More information about the sr-users mailing list