<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>FW: [Users] compiling OpenSER on Solaris 10 x86</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>UPDATE:<BR>
<BR>
I somehow managed to start building now I get another error. I used lex on the file and then typed make and it worked.. seems to a problem with my gcc or make :/<BR>
<BR>
Anyone seem this?<BR>
<BR>
Compiling db/db_fifo.c<BR>
gcc&nbsp; -g -O9 -funroll-loops&nbsp; -Wcast-align&nbsp; -Wall&nbsp;&nbsp; -minline-all-stringops -falign-loops -mtune=athlon&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -DNAME='&quot;openser&quot;' -DVERSION='&quot;1.1.0-notls&quot;' -DARCH='&quot;i386&quot;' -DOS='&quot;solaris&quot;' -DCOMPILER='&quot;gcc 3.4.6&quot;' -D__CPU_i386 -D__OS_solaris -D__SMP_no -DCFG_DIR='&quot;/usr/local/etc/openser/&quot;' -DPKG_MALLOC -DSHM_MEM&nbsp; -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DF_MALLOC -DSTATISTICS&nbsp; -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024&nbsp; -DHAVE_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD -DHAVE_ALLOCA_H -DUSE_SIGACTION -DHAVE_DEVPOLL -DHAVE_SELECT -c db/db_fifo.c -o db/db_fifo.o<BR>
Assembler: db_fifo.c<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;/var/tmp//ccvSC5ba.s&quot;, line 679 : Illegal mnemonic<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Near line: &quot;&nbsp;&nbsp;&nbsp; ffreep&nbsp; %st(0)&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;/var/tmp//ccvSC5ba.s&quot;, line 679 : Syntax error<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Near line: &quot;&nbsp;&nbsp;&nbsp; ffreep&nbsp; %st(0)&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;/var/tmp//ccvSC5ba.s&quot;, line 2088 : Illegal mnemonic<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Near line: &quot;&nbsp;&nbsp;&nbsp; ffreep&nbsp; %st(0)&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;/var/tmp//ccvSC5ba.s&quot;, line 2088 : Syntax error<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Near line: &quot;&nbsp;&nbsp;&nbsp; ffreep&nbsp; %st(0)&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;/var/tmp//ccvSC5ba.s&quot;, line 2090 : Illegal mnemonic<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Near line: &quot;&nbsp;&nbsp;&nbsp; ffreep&nbsp; %st(0)&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;/var/tmp//ccvSC5ba.s&quot;, line 2090 : Syntax error<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Near line: &quot;&nbsp;&nbsp;&nbsp; ffreep&nbsp; %st(0)&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;/var/tmp//ccvSC5ba.s&quot;, line 2091 : Illegal mnemonic<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Near line: &quot;&nbsp;&nbsp;&nbsp; ffreep&nbsp; %st(0)&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;/var/tmp//ccvSC5ba.s&quot;, line 2091 : Syntax error<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Near line: &quot;&nbsp;&nbsp;&nbsp; ffreep&nbsp; %st(0)&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;/var/tmp//ccvSC5ba.s&quot;, line 2109 : Illegal mnemonic<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Near line: &quot;&nbsp;&nbsp;&nbsp; ffreep&nbsp; %st(0)&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;/var/tmp//ccvSC5ba.s&quot;, line 2109 : Syntax error<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Near line: &quot;&nbsp;&nbsp;&nbsp; ffreep&nbsp; %st(0)&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;/var/tmp//ccvSC5ba.s&quot;, line 2171 : Illegal mnemonic<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Near line: &quot;&nbsp;&nbsp;&nbsp; ffreep&nbsp; %st(0)&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;/var/tmp//ccvSC5ba.s&quot;, line 2171 : Syntax error<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Near line: &quot;&nbsp;&nbsp;&nbsp; ffreep&nbsp; %st(0)&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;/var/tmp//ccvSC5ba.s&quot;, line 2562 : Illegal mnemonic<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Near line: &quot;&nbsp;&nbsp;&nbsp; ffreep&nbsp; %st(0)&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;/var/tmp//ccvSC5ba.s&quot;, line 2562 : Syntax error<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Near line: &quot;&nbsp;&nbsp;&nbsp; ffreep&nbsp; %st(0)&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;/var/tmp//ccvSC5ba.s&quot;, line 2594 : Illegal mnemonic<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Near line: &quot;&nbsp;&nbsp;&nbsp; ffreep&nbsp; %st(0)&quot;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;/var/tmp//ccvSC5ba.s&quot;, line 2594 : Syntax error<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Near line: &quot;&nbsp;&nbsp;&nbsp; ffreep&nbsp; %st(0)&quot;<BR>
make: *** [db/db_fifo.o] Error 1<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: users-bounces@openser.org on behalf of Nick De Cristofaro<BR>
Sent: Fri 9/22/2006 8:24 AM<BR>
To: users@openser.org<BR>
Subject: [Users] compiling OpenSER on Solaris 10 x86<BR>
<BR>
I'm having a lot of difficulty compiling OpenSER on Solaris 10. Firstly<BR>
I was missing a lot of packages which I needed to download from<BR>
sunfreeware.com (gcc, ld) the /usr/bin/ccs version of make does not work<BR>
on the makefile<BR>
<BR>
here is the error:<BR>
<BR>
bash-3.00# make<BR>
make: Fatal error in reader: Makefile.sources, line 18: Unexpected end<BR>
of line seen<BR>
<BR>
<BR>
I looked in the file but I don't see how it would complaing of some<BR>
unexpected end of line.<BR>
<BR>
I then followed to try GNU's make I downloaded. and then I get an error<BR>
on the /usr/bin/ccs/lex and yacc's (it mentioned to use yacc and not<BR>
bison) the error was:<BR>
<BR>
bash-3.00# /usr/local/bin/make all<BR>
yacc -d -b cfg cfg.y<BR>
<BR>
conflicts: 1 shift/reduce<BR>
lex cfg.lex<BR>
&quot;cfg.lex&quot;:line 102: Error: missing translation value<BR>
make: *** [lex.yy.c] Error 1<BR>
<BR>
Then I decided to try flex instead of lex.<BR>
<BR>
bash-3.00# /usr/local/bin/make all<BR>
yacc -d -b cfg cfg.y<BR>
<BR>
conflicts: 1 shift/reduce<BR>
flex cfg.lex<BR>
flex: fatal internal error, exec failed<BR>
make: *** [lex.yy.c] Broken Pipe<BR>
make: *** Deleting file `lex.yy.c'<BR>
<BR>
<BR>
so I'm kindda stuck, it's apparently been compiled on the x68 s10<BR>
platform before so there must be some sort of makefile modifications I<BR>
must make everywhere ?<BR>
<BR>
Anyone know what may be going on? I was hoping there would be a package<BR>
OpenSER version for solaris built somewhere :S<BR>
<BR>
Thanks!<BR>
Nick<BR>
<BR>
_______________________________________________<BR>
Users mailing list<BR>
Users@openser.org<BR>
<A HREF="http://openser.org/cgi-bin/mailman/listinfo/users">http://openser.org/cgi-bin/mailman/listinfo/users</A><BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>