FW: [Users] compiling OpenSER on Solaris 10 x86

Nick De Cristofaro nickdc at link2exchange.com
Fri Sep 22 19:55:50 CEST 2006


UPDATE: 

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 :/

Anyone seem this?

Compiling db/db_fifo.c
gcc  -g -O9 -funroll-loops  -Wcast-align  -Wall   -minline-all-stringops -falign-loops -mtune=athlon      -DNAME='"openser"' -DVERSION='"1.1.0-notls"' -DARCH='"i386"' -DOS='"solaris"' -DCOMPILER='"gcc 3.4.6"' -D__CPU_i386 -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 -DF_MALLOC -DSTATISTICS  -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 db/db_fifo.c -o db/db_fifo.o
Assembler: db_fifo.c
        "/var/tmp//ccvSC5ba.s", line 679 : Illegal mnemonic
        Near line: "    ffreep  %st(0)"
        "/var/tmp//ccvSC5ba.s", line 679 : Syntax error
        Near line: "    ffreep  %st(0)"
        "/var/tmp//ccvSC5ba.s", line 2088 : Illegal mnemonic
        Near line: "    ffreep  %st(0)"
        "/var/tmp//ccvSC5ba.s", line 2088 : Syntax error
        Near line: "    ffreep  %st(0)"
        "/var/tmp//ccvSC5ba.s", line 2090 : Illegal mnemonic
        Near line: "    ffreep  %st(0)"
        "/var/tmp//ccvSC5ba.s", line 2090 : Syntax error
        Near line: "    ffreep  %st(0)"
        "/var/tmp//ccvSC5ba.s", line 2091 : Illegal mnemonic
        Near line: "    ffreep  %st(0)"
        "/var/tmp//ccvSC5ba.s", line 2091 : Syntax error
        Near line: "    ffreep  %st(0)"
        "/var/tmp//ccvSC5ba.s", line 2109 : Illegal mnemonic
        Near line: "    ffreep  %st(0)"
        "/var/tmp//ccvSC5ba.s", line 2109 : Syntax error
        Near line: "    ffreep  %st(0)"
        "/var/tmp//ccvSC5ba.s", line 2171 : Illegal mnemonic
        Near line: "    ffreep  %st(0)"
        "/var/tmp//ccvSC5ba.s", line 2171 : Syntax error
        Near line: "    ffreep  %st(0)"
        "/var/tmp//ccvSC5ba.s", line 2562 : Illegal mnemonic
        Near line: "    ffreep  %st(0)"
        "/var/tmp//ccvSC5ba.s", line 2562 : Syntax error
        Near line: "    ffreep  %st(0)"
        "/var/tmp//ccvSC5ba.s", line 2594 : Illegal mnemonic
        Near line: "    ffreep  %st(0)"
        "/var/tmp//ccvSC5ba.s", line 2594 : Syntax error
        Near line: "    ffreep  %st(0)"
make: *** [db/db_fifo.o] Error 1



-----Original Message-----
From: users-bounces at openser.org on behalf of Nick De Cristofaro
Sent: Fri 9/22/2006 8:24 AM
To: users at openser.org
Subject: [Users] compiling OpenSER on Solaris 10 x86
 
I'm having a lot of difficulty compiling OpenSER on Solaris 10. Firstly
I was missing a lot of packages which I needed to download from
sunfreeware.com (gcc, ld) the /usr/bin/ccs version of make does not work
on the makefile

here is the error:

bash-3.00# make
make: Fatal error in reader: Makefile.sources, line 18: Unexpected end
of line seen


I looked in the file but I don't see how it would complaing of some
unexpected end of line.

I then followed to try GNU's make I downloaded. and then I get an error
on the /usr/bin/ccs/lex and yacc's (it mentioned to use yacc and not
bison) the error was:

bash-3.00# /usr/local/bin/make all
yacc -d -b cfg cfg.y

conflicts: 1 shift/reduce
lex cfg.lex
"cfg.lex":line 102: Error: missing translation value
make: *** [lex.yy.c] Error 1

Then I decided to try flex instead of lex.

bash-3.00# /usr/local/bin/make all
yacc -d -b cfg cfg.y

conflicts: 1 shift/reduce
flex cfg.lex
flex: fatal internal error, exec failed
make: *** [lex.yy.c] Broken Pipe
make: *** Deleting file `lex.yy.c'


so I'm kindda stuck, it's apparently been compiled on the x68 s10
platform before so there must be some sort of makefile modifications I
must make everywhere ?

Anyone know what may be going on? I was hoping there would be a package
OpenSER version for solaris built somewhere :S

Thanks!
Nick

_______________________________________________
Users mailing list
Users at openser.org
http://openser.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060922/29d2a35f/attachment.htm>


More information about the sr-users mailing list