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

Peter Edwards peter.3.edwards at bt.com
Wed Dec 13 18:22:35 CET 2006


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.

-- 
Peter Edwards
tel +44 (0) 1473 606492

This Personal email contains my own opinions, sent In
Confidence and does not represent the views of British
Telecommunications plc.

__________________________________________________________________ 

British Telecommunications plc
Registered office: 81 Newgate Street London EC1A 7AJ
Registered in England no. 1800000 

This electronic message contains information from British
Telecommunications plc which may be privileged and
confidential. The information is intended to be for the use of
the individual(s) or entity named above. If you are not the
intended recipient, be aware that any disclosure, copying,
distribution or use of the contents of this information is
prohibited. If you have received this electronic message in
error, please notify us by telephone or email (to the number
or address above) immediately. 

Activity and use of the British Telecommunications plc
email system is monitored to secure its effective operation
and for other lawful business purposes. Communications using
this system will also be monitored and may be recorded to
secure effective operation and for other lawful business purposes.




More information about the sr-users mailing list