[Devel] [ openser-Bugs-1527338 ] Openser 1.1.0 doesn't build on Solaris hosts

SourceForge.net noreply at sourceforge.net
Mon Aug 14 12:24:24 CEST 2006


Bugs item #1527338, was opened at 2006-07-23 18:24
Message generated for change (Comment added) made by miconda
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1527338&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: ver 1.1.x
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel-Constantin Mierla (miconda)
Summary: Openser 1.1.0 doesn't build on Solaris hosts

Initial Comment:
When I attempt to build openser 1.1.0 on a Solaris 10 server, I am greeted 
with the following errors:

$ gmake prefix=/opt/openser-1.1.0 all

[ ..... ]
gcc  -g -O9 -funroll-loops   -Wall  -mcpu=ultrasparc -mtune=ultrasparc     
-DNAME='"openser"' -DVERSION='"1.1.0-notls"' -DARCH='"sparc64"' -
DOS='"solaris"' -DCOMPILER='"gcc 3.4.3"' -D__CPU_sparc64 -
D__OS_solaris -D__SMP_no -DCFG_DIR='"/opt/openser-1.1.0/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 cfg.tab.c -o 
cfg.tab.o
/usr/ccs/bin/yaccpar:5: warning: ignoring #pragma ident 
cfg.y: In function `yyparse':
cfg.y:859: error: `IPTOS_MINCOST' undeclared (first use in this function)
cfg.y:859: error: (Each undeclared identifier is reported only once
cfg.y:859: error: for each function it appears in.)
/usr/ccs/bin/yaccpar:164: warning: label `yynewstate' defined but not 
used
/usr/ccs/bin/yaccpar:374: warning: label `yyerrlab' defined but not used
gmake: *** [cfg.tab.o] Error 1

Is there a header file missing?

Thanks,
- Ryan

----------------------------------------------------------------------

>Comment By: Daniel-Constantin Mierla (miconda)
Date: 2006-08-14 13:24

Message:
Logged In: YES 
user_id=1246013

These are tarballs from the day of the release.

There is a service which creates daily tarballs for
different versions of OpenSER. For openser 1.1.0, the latest
cvs version is:
http://www.openser.org/downloads/snapshots/openser-1.1.0/openser-1.1.0-cvs-latest.tgz

You can see the index at:
http://www.openser.org/downloads/snapshots/

Maybe it has to be more clear on the download page of
openser.org site.


----------------------------------------------------------------------

Comment By: Samwise (samwiseuk)
Date: 2006-08-14 12:54

Message:
Logged In: YES 
user_id=1068470

I got the same error with the tarball download available
from the FTP site with Solaris 9.  This is because the
tarball is dated 10 July and the required fix wasn't
submitted until 17 July, accordig to this archived post:

Re: [Devel] OpenSER 1.1 on NetBSD 3.0 + SEMS
http://www.mail-archive.com/devel@openser.org/msg03237.html

I posted to the developer list on 10 Aug, asking if someone
could freshen the archive file on the website but there's
been no response, as yet.

Meantime, checking out rel_1_1_0 from CVS definitely
compiles on Solaris.

Peter.

----------------------------------------------------------------------

Comment By: Daniel-Constantin Mierla (miconda)
Date: 2006-08-14 12:39

Message:
Logged In: YES 
user_id=1246013

Have you tried with the latest version of 1.1.0 from CVS
(branch rel_1_1_0). There were some fixes related to this issue.

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2006-08-05 08:42

Message:
Logged In: NO 

I can confirm the same error when compiling on a Solaris 2.8
system with gcc-4.0.2

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1527338&group_id=139143



More information about the Devel mailing list