[Devel] [ openser-Bugs-1527338 ] Openser 1.1.0 doesn't build on
Solaris hosts
SourceForge.net
noreply at sourceforge.net
Wed Aug 16 14:08:45 CEST 2006
Bugs item #1527338, was opened at 2006-07-23 15:24
Message generated for change (Comment added) made by samwiseuk
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: Samwise (samwiseuk)
Date: 2006-08-16 12:08
Message:
Logged In: YES
user_id=1068470
The -minline-all-stringops options doesn't cause me any
problems using gcc 3.3.2, as installed from the Solaris 9
Software Companion CD.
The pre-requisites listed on the openser.org Install page do
indicate that gcc 3 is preferred, so I'm not sure it could
be classified as a bug (and may not even be Solaris-specific?).
Sam
----------------------------------------------------------------------
Comment By: Bob Atkins (bobatkins)
Date: 2006-08-14 23:56
Message:
Logged In: YES
user_id=655552
I can confirm that with
openser-1.1.0-cvs-20060814-121329.tgz that the problem
reported by Ryan no longer exists.
However - that doesn't mean that openser compiles on Solaris
without a problem.
Using gcc v4.0.2, the compile fails on a bad option
-minline-all-stringops is not a valid option for gcc v4.0.2
on the sparc platform. Removing this option from the
Makefile allows openser to compile and link successfully.
Question: I noticed that openser is not being linked with
-lmtmalloc. Is there any reason for this. -lmtmalloc offer
significant performance advantages for any threaded code and
I would think it would be benefitial to openser. I would be
interested in any feedback on the pros and cons of linking
with -lmtmalloc.
----------------------------------------------------------------------
Comment By: Samwise (samwiseuk)
Date: 2006-08-14 10:30
Message:
Logged In: YES
user_id=1068470
Undoubtedly.
Gah. If I'd known about this, it would have saved me a lot
of pain over the last week. :/
I'm sure I'm not the only one who perceives the latest CVS
snapshots to be "nightly builds" which may contain unstable
code. If this is where the latest version of this "release"
needs to be obtained from, is there much purpose to the
openser.org/pub/openser/ downloads site? Noone is going to
want an out-of-date tarball, are they?
Hope this thread helps others in the same situ ...
Sam.
----------------------------------------------------------------------
Comment By: Daniel-Constantin Mierla (miconda)
Date: 2006-08-14 10: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 09: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 09: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 05: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