<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>compilation on solaris 10/Spar</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hi experts,</FONT>

<BR><FONT SIZE=2 FACE="Arial">Anyone has experience on compilation on solaris 10/Spar?</FONT>

<BR><FONT SIZE=2 FACE="Arial">I am start user of openser and need use openser to support sctp.</FONT>

<BR><FONT SIZE=2 FACE="Arial">now I have download the source codes of openser-1.3.1-tls.</FONT>

<BR><FONT SIZE=2 FACE="Arial">then I compiled it, there have many errors that need your supports.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">e.g.</FONT>

<BR><FONT SIZE=2 FACE="Arial">openser-1.3.1-tls&gt; make all</FONT>

<BR><FONT SIZE=2 FACE="Arial">Makefile.defs:717: *** missing separator.&nbsp; Stop.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">then I commented Makefile.defs line717 and 718.</FONT>

<BR><FONT SIZE=2 FACE="Arial"># $(warning&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Old gcc detected ($(CC_SHORTVER)), use</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;gcc &gt;= 3.1 \</FONT>

<BR><FONT SIZE=2 FACE="Arial">#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for better results)</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Errors were still there.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">openser-1.3.1-tls&gt; make all</FONT>

<BR><FONT SIZE=2 FACE="Arial">Makefile:402: warning: overriding commands for target `/opt/CiscoMGC$(DESTDIR)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">Makefile:393: warning: ignoring old commands for target</FONT>

<BR><FONT SIZE=2 FACE="Arial">`/opt/CiscoMGC$(DESTDIR)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">yacc -d -b cfg cfg.y</FONT>

<BR><FONT SIZE=2 FACE="Arial">&quot;cfg.y&quot;, line 391: warning: redeclaration of precedence of SLASH.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">conflicts: 1 shift/reduce</FONT>

<BR><FONT SIZE=2 FACE="Arial">flex cfg.lex</FONT>

<BR><FONT SIZE=2 FACE="Arial">statistics.c:58: warning: #warning STATISTICS: Architecture with no</FONT>

<BR><FONT SIZE=2 FACE="Arial">support for atomic operations. Using Locks!!</FONT>

<BR><FONT SIZE=2 FACE="Arial">Makefile:402: warning: overriding commands for target `/opt/CiscoMGC$(DESTDIR)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">Makefile:393: warning: ignoring old commands for target</FONT>

<BR><FONT SIZE=2 FACE="Arial">`/opt/CiscoMGC$(DESTDIR)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">Compiling action.c</FONT>

<BR><FONT SIZE=2 FACE="Arial">gcc&nbsp; -g -O9 -funroll-loops&nbsp;&nbsp; -Wall&nbsp; -mv8&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -DNAME='&quot;openser&quot;'</FONT>

<BR><FONT SIZE=2 FACE="Arial">-DVERSION='&quot;1.3.1-notls&quot;' -DARCH='&quot;sparc64&quot;' -DOS='&quot;solaris&quot;'</FONT>

<BR><FONT SIZE=2 FACE="Arial">-DCOMPILER='&quot;gcc 2.91.66&quot;' -D__CPU_sparc64 -D__OS_solaris -D__SMP_no</FONT>

<BR><FONT SIZE=2 FACE="Arial">-DCFG_DIR='&quot;$(DESTDIR)/etc/openser/&quot;' -DPKG_MALLOC -DSHM_MEM</FONT>

<BR><FONT SIZE=2 FACE="Arial">-DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE</FONT>

<BR><FONT SIZE=2 FACE="Arial">-DHAVE_RESOLV_RES -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC</FONT>

<BR><FONT SIZE=2 FACE="Arial">-DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024</FONT>

<BR><FONT SIZE=2 FACE="Arial">-DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD</FONT>

<BR><FONT SIZE=2 FACE="Arial">-DHAVE_ALLOCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS</FONT>

<BR><FONT SIZE=2 FACE="Arial">-DHAVE_DEVPOLL -DHAVE_SELECT -c action.c -o action.o</FONT>

<BR><FONT SIZE=2 FACE="Arial">parser/msg_parser.h: In function `char_msg_val':</FONT>

<BR><FONT SIZE=2 FACE="Arial">In file included from action.h:27,</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from action.c:44:</FONT>

<BR><FONT SIZE=2 FACE="Arial">parser/msg_parser.h:300: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">forward.h: In function `msg_send':</FONT>

<BR><FONT SIZE=2 FACE="Arial">In file included from action.c:49:</FONT>

<BR><FONT SIZE=2 FACE="Arial">forward.h:95: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">forward.h:103: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">forward.h:107: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">mem/../lock_alloc.h: In function `lock_set_alloc':</FONT>

<BR><FONT SIZE=2 FACE="Arial">In file included from mem/../locking.h:66,</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from mem/../statistics.h:115,</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from mem/shm_mem.h:33,</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from ut.h:52,</FONT>

<BR><FONT SIZE=2 FACE="Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from action.c:54:</FONT>

<BR><FONT SIZE=2 FACE="Arial">mem/../lock_alloc.h:68: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">ut.h: In function `int2bstr':</FONT>

<BR><FONT SIZE=2 FACE="Arial">In file included from action.c:54:</FONT>

<BR><FONT SIZE=2 FACE="Arial">ut.h:172: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">ut.h: In function `un_escape':</FONT>

<BR><FONT SIZE=2 FACE="Arial">ut.h:365: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">ut.h: In function `shm_str_dup':</FONT>

<BR><FONT SIZE=2 FACE="Arial">ut.h:498: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">ut.h: In function `pkg_str_dup':</FONT>

<BR><FONT SIZE=2 FACE="Arial">ut.h:515: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">ut.h: In function `str_strcmp':</FONT>

<BR><FONT SIZE=2 FACE="Arial">ut.h:532: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">ut.h:535: parse error before `int'</FONT>

<BR><FONT SIZE=2 FACE="Arial">ut.h:539: `minlen' undeclared (first use in this function)</FONT>

<BR><FONT SIZE=2 FACE="Arial">ut.h:539: (Each undeclared identifier is reported only once</FONT>

<BR><FONT SIZE=2 FACE="Arial">ut.h:539: for each function it appears in.)</FONT>

<BR><FONT SIZE=2 FACE="Arial">ut.h:547: `alen' undeclared (first use in this function)</FONT>

<BR><FONT SIZE=2 FACE="Arial">ut.h:547: `blen' undeclared (first use in this function)</FONT>

<BR><FONT SIZE=2 FACE="Arial">ut.h: In function `str_strcasecmp':</FONT>

<BR><FONT SIZE=2 FACE="Arial">ut.h:563: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">ut.h:566: parse error before `int'</FONT>

<BR><FONT SIZE=2 FACE="Arial">ut.h:570: `minlen' undeclared (first use in this function)</FONT>

<BR><FONT SIZE=2 FACE="Arial">ut.h:578: `alen' undeclared (first use in this function)</FONT>

<BR><FONT SIZE=2 FACE="Arial">ut.h:578: `blen' undeclared (first use in this function)</FONT>

<BR><FONT SIZE=2 FACE="Arial">action.c: In function `run_action_list':</FONT>

<BR><FONT SIZE=2 FACE="Arial">action.c:140: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">action.c: In function `do_assign':</FONT>

<BR><FONT SIZE=2 FACE="Arial">action.c:193: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">action.c:202: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">action.c:222: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">action.c:228: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">action.c: In function `do_action':</FONT>

<BR><FONT SIZE=2 FACE="Arial">action.c:302: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">action.c:309: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">action.c:335: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">action.c:498: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">action.c:524: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">action.c:682: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">action.c:710: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">action.c:723: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">action.c:757: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">action.c:763: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">action.c:807: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">action.c:819: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">action.c:870: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">action.c:896: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">action.c:904: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">action.c:930: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">action.c:939: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">action.c:945: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">action.c:966: parse error before `)'</FONT>

<BR><FONT SIZE=2 FACE="Arial">make: *** [action.o] Error 1</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Your any help is much appreciated!</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">BR,</FONT>

<BR><FONT SIZE=2 FACE="Arial">Eric</FONT>
</P>

</BODY>
</HTML>