<HTML dir=ltr><HEAD></HEAD>
<BODY>
<DIV id=idOWAReplyText12374 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hi Bogdan,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>alright, thanks.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>If you need more information about the machine or want me to try something else, please let me know.</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr><FONT face=Arial size=2>Best regards</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2>Sebastian</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Bogdan-Andrei Iancu<BR><B>Sent:</B> Mo 2/11/2008 18:49<BR><B>To:</B> Schumann Sebastian<BR><B>Cc:</B> users@lists.openser.org<BR><B>Subject:</B> Re: [OpenSER-Users] Compilation problem on Debian Stable/SPARC&nbsp;architexture<BR></FONT><BR></DIV>
<DIV><PRE style="WORD-WRAP: break-word">Hi Sebastian,

I will investigate - on a first look, there are some strange things in 
the Makefile......

Regards,
Bogdan

Schumann Sebastian wrote:
&gt; Hi Bogdan,
&gt;
&gt; sure I can, could have thought about that in the first place myself.
&gt; Sorry for that,
&gt;
&gt; here the working output after starting make without debug mode:
&gt;
&gt; netra120:/usr/local/src/openser# make prefix=/usr/local all
&gt; Compiling blacklists.c
&gt; gcc -g -O9 -funroll-loops -Wall -mcpu=ultrasparc -mtune=ultrasparc
&gt; -ftree-vectorize    -DNAME='"openser"' -DVERSION='"1.3.0-notls"'
&gt; -DARCH='"sparc64"' -DOS='"linux"' -DCOMPILER='"gcc 4.1.2"'
&gt; -D__CPU_sparc64 -D__OS_linux -D__SMP_no
&gt; -DCFG_DIR='"/usr/local/etc/openser/"' -DPKG_MALLOC -DSHM_MEM  -DSHM_MMAP
&gt; -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES
&gt; -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC
&gt; -DSVNREVISION='"2:3675"'  -DFAST_LOCK -DADAPTIVE_WAIT
&gt; -DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN
&gt; -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL
&gt; -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT
&gt; -c blacklists.c -o blacklists.o
&gt; Compiling core_stats.c
&gt; gcc -g -O9 -funroll-loops -Wall -mcpu=ultrasparc -mtune=ultrasparc
&gt; -ftree-vectorize    -DNAME='"openser"' -DVERSION='"1.3.0-notls"'
&gt; -DARCH='"sparc64"' -DOS='"linux"' -DCOMPILER='"gcc 4.1.2"'
&gt; -D__CPU_sparc64 -D__OS_linux -D__SMP_no
&gt; -DCFG_DIR='"/usr/local/etc/openser/"' -DPKG_MALLOC -DSHM_MEM  -DSHM_MMAP
&gt; -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES
&gt; -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC
&gt; -DSVNREVISION='"2:3675"'  -DFAST_LOCK -DADAPTIVE_WAIT
&gt; -DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN
&gt; -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL
&gt; -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT
&gt; -c core_stats.c -o core_stats.o
&gt; Compiling crc.c
&gt; gcc -g -O9 -funroll-loops -Wall -mcpu=ultrasparc -mtune=ultrasparc
&gt; -ftree-vectorize    -DNAME='"openser"' -DVERSION='"1.3.0-notls"'
&gt; -DARCH='"sparc64"' -DOS='"linux"' -DCOMPILER='"gcc 4.1.2"'
&gt; -D__CPU_sparc64 -D__OS_linux -D__SMP_no
&gt; -DCFG_DIR='"/usr/local/etc/openser/"' -DPKG_MALLOC -DSHM_MEM  -DSHM_MMAP
&gt; -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES
&gt; -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC
&gt; -DSVNREVISION='"2:3675"'  -DFAST_LOCK -DADAPTIVE_WAIT
&gt; -DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN
&gt; -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL
&gt; -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT
&gt; -c crc.c -o crc.o
&gt; make: *** [crc.o] Interrupt 
&gt; netra120:/usr/local/src/openser# 
&gt; and so on...
&gt;
&gt; Thanks for the help.
&gt;
&gt; Best regards
&gt; Sebastian
&gt;
&gt; -----Original Message-----
&gt; From: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro] 
&gt; Sent: Friday, 08. February 2008 4:53 PM
&gt; To: Schumann Sebastian
&gt; Cc: users@lists.openser.org
&gt; Subject: Re: [OpenSER-Users] Compilation problem on Debian Stable/SPARC
&gt; architexture
&gt;
&gt; Hi Sebastian,
&gt;
&gt; Could you also post the working compile instruction (without the debug 
&gt; mode)  ? I want do diff  them .
&gt;
&gt; Thanks anre gards,
&gt; Bogdan
&gt;
&gt; Schumann Sebastian wrote:
&gt;   
&gt;&gt; Hi Bogdan,
&gt;&gt;
&gt;&gt; one more inmportant note, I discovered this morning. This error only
&gt;&gt; appears if the option mode=debug is set. A normal # make all does
&gt;&gt; compile properly! 
&gt;&gt;
&gt;&gt; Here is the output:
&gt;&gt;
&gt;&gt; netra120:/usr/local/src/openser# make mode=debug prefix=/usr/local all
&gt;&gt; bison -d -b cfg cfg.y
&gt;&gt; cfg.y: conflicts: 1 shift/reduce
&gt;&gt; flex cfg.lex
&gt;&gt; New SVN revision: 2:3654
&gt;&gt; Compiling action.c
&gt;&gt; gcc     -DNAME='"openser"' -DVERSION='"1.3.0-notls"'
&gt;&gt;     
&gt; -DARCH='"sparc64"'
&gt;   
&gt;&gt; -DOS='"linux"' -DCOMPILER='"gcc 4.1.2"' -D__CPU_sparc64 -D__OS_linux
&gt;&gt; -D__SMP_no -DCFG_DIR='"/usr/local/etc/openser/"' -DPKG_MALLOC
&gt;&gt;     
&gt; -DSHM_MEM
&gt;   
&gt;&gt; -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE
&gt;&gt; -DHAVE_RESOLV_RES -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC
&gt;&gt; -DSVNREVISION='"2:3654"'  -DEXTRA_DEBUG -DFAST_LOCK -DADAPTIVE_WAIT
&gt;&gt; -DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN
&gt;&gt; -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL
&gt;&gt; -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT
&gt;&gt;     
&gt; -DHAVE_SELECT
&gt;   
&gt;&gt; -c action.c -o action.o
&gt;&gt; Compiling blacklists.c
&gt;&gt; gcc     -DNAME='"openser"' -DVERSION='"1.3.0-notls"'
&gt;&gt;     
&gt; -DARCH='"sparc64"'
&gt;   
&gt;&gt; -DOS='"linux"' -DCOMPILER='"gcc 4.1.2"' -D__CPU_sparc64 -D__OS_linux
&gt;&gt; -D__SMP_no -DCFG_DIR='"/usr/local/etc/openser/"' -DPKG_MALLOC
&gt;&gt;     
&gt; -DSHM_MEM
&gt;   
&gt;&gt; -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE
&gt;&gt; -DHAVE_RESOLV_RES -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC
&gt;&gt; -DSVNREVISION='"2:3654"'  -DEXTRA_DEBUG -DFAST_LOCK -DADAPTIVE_WAIT
&gt;&gt; -DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN
&gt;&gt; -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL
&gt;&gt; -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT
&gt;&gt;     
&gt; -DHAVE_SELECT
&gt;   
&gt;&gt; -c blacklists.c -o blacklists.o
&gt;&gt; /tmp/ccRk3oFx.s: Assembler messages:
&gt;&gt; /tmp/ccRk3oFx.s:831: Error: Architecture mismatch on "membar".
&gt;&gt; /tmp/ccRk3oFx.s:831:  (Requires v9|v9a|v9b; requested architecture is
&gt;&gt; sparclite.)
&gt;&gt; /tmp/ccRk3oFx.s:847: Error: Architecture mismatch on "membar".
&gt;&gt; /tmp/ccRk3oFx.s:847:  (Requires v9|v9a|v9b; requested architecture is
&gt;&gt; sparclite.)
&gt;&gt; make: *** [blacklists.o] Error 1
&gt;&gt; netra120:/usr/local/src/openser# 
&gt;&gt;
&gt;&gt; Regards
&gt;&gt; Sebastian
&gt;&gt;
&gt;&gt; -----Original Message-----
&gt;&gt; From: Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro] 
&gt;&gt; Sent: Friday, 08. February 2008 11:33 AM
&gt;&gt; To: Schumann Sebastian
&gt;&gt; Cc: users@lists.openser.org
&gt;&gt; Subject: Re: [OpenSER-Users] Compilation problem on Debian
&gt;&gt;     
&gt; Stable/SPARC
&gt;   
&gt;&gt; architexture
&gt;&gt;
&gt;&gt; Hi Schumann,
&gt;&gt;
&gt;&gt; Can you post please the compile line (as printed by make) - just to 
&gt;&gt; check the compile options.
&gt;&gt;
&gt;&gt; Thanks,
&gt;&gt; Bogdan
&gt;&gt;
&gt;&gt; Schumann Sebastian wrote:
&gt;&gt;   
&gt;&gt;     
&gt;&gt;&gt; Dear all
&gt;&gt;&gt;  
&gt;&gt;&gt; I am facing problems installing OpenSER 1.3 from branch on a Debian
&gt;&gt;&gt; 4.0R2 running on a SUN UltraSPARC IIi server (sparc64).
&gt;&gt;&gt;  
&gt;&gt;&gt; After retrieving all required files and executing # make mode=debug,
&gt;&gt;&gt;     
&gt;&gt;&gt;       
&gt;&gt; the
&gt;&gt;   
&gt;&gt;     
&gt;&gt;&gt; second file's compilation fails already:
&gt;&gt;&gt;  
&gt;&gt;&gt; Compiling blacklist.c
&gt;&gt;&gt; ....
&gt;&gt;&gt; Error: Architecture mismatch on "membar".
&gt;&gt;&gt; (Requires v9|v9a|v9b; requested architexture is sparclite.)
&gt;&gt;&gt;  
&gt;&gt;&gt; Does anyone know what could be the reason for that. On i386 I never
&gt;&gt;&gt; faced problems, and as OpenSER supports Solaris, it should also
&gt;&gt;&gt;     
&gt;&gt;&gt;       
&gt;&gt; support
&gt;&gt;   
&gt;&gt;     
&gt;&gt;&gt; Debian on sparc64 architecture or not?
&gt;&gt;&gt;  
&gt;&gt;&gt; Thanks a lot in advance.
&gt;&gt;&gt;  
&gt;&gt;&gt; Best regards
&gt;&gt;&gt; Sebastian
&gt;&gt;&gt;
&gt;&gt;&gt; _______________________________________________
&gt;&gt;&gt; Users mailing list
&gt;&gt;&gt; Users@lists.openser.org
&gt;&gt;&gt; http://lists.openser.org/cgi-bin/mailman/listinfo/users
&gt;&gt;&gt;
&gt;&gt;&gt;   
&gt;&gt;&gt;     
&gt;&gt;&gt;       
&gt;&gt;   
&gt;&gt;     
&gt;
&gt;
&gt;   

</PRE></DIV></BODY></HTML>