Hi Peter,

mail moved on devel mailing list as it is about the devel version.

I just tried to follow my own advice and get a fresh CVS checkout on a solaris machine (SunOS sparc-solaris1 5.9 Generic_112233-03 sun4u sparc SUNW,Ultra-60) and try to compile the presence module. Here are the errors got:

Compiling pidf.c
/opt/SUNWspro/bin/cc -xcode=pic32 -g -xO5 -fast -native -xarch=v8plusa -xCC -xc99=no_lib -DNAME='"openser"' -DVERSION='"1.2.0-dev13-notls"' -DARCH='"sparc64"' -DOS='"solaris"' -DCOMPILER='"/opt/SUNWspro/bin/cc 5.5"' -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 -DDBG_QM_MALLOC -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION -DUSE_PTHREAD_MUTEX -DHAVE_DEVPOLL -DHAVE_SELECT -I/usr/include/libxml2 -I/usr/local/include/libxml2 -I/usr/local/include -c pidf.c -o pidf.o
"pidf.c", line 178: undefined struct/union member: psvi
"pidf.c", line 178: improper member use: psvi
"pidf.c", line 179: improper member use: line
"pidf.c", line 179: improper member use: line
"pidf.c", line 180: improper member use: extra
"pidf.c", line 180: improper member use: extra
cc: acomp failed for pidf.c
make[1]: *** [pidf.o] Error 2

look like there are some differences in the libxml lib between Linux and Solaris. I will took to the developer to try to avoid using the internal libxml2 structures and use only the API to avoid this kind of problems.

regards,
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.



_______________________________________________
Devel mailing list
Devel@openser.org
http://openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to