W3C home > Mailing lists > Public > www-amaya-dev@w3.org > May 2005

Re: Difficulties encountered compiling Amaya 9.1 on Solaris 9

From: Rich Kulawiec <rsk@gsp.org>
Date: Thu, 12 May 2005 09:14:55 +0200
To: Amaya dev <www-amaya-dev@w3.org>
Message-Id: <200505120914.55319.rsk@gsp.org>

On Wed, Mar 23, 2005 at 09:05:46AM +0100, Rich Kulawiec wrote:
> Having gotten past the issue above, I'm now hitting a compilation
> error in "annotlib" which appears to be a consequence of (maybe)
> a missing inclusion.

This was eventually traced back to a crash in writeapp -- which is
built and executed during compilation.  I've made the following
change around line 604 of writeapp.c (in WriteIncludeFile()):

	for (i = 0; i < pSSchema->SsNRules; i++) {

	for (i = 0; i < pSSchema->SsNRules && i < 6; i++) {

which I'll freely admit is merely a kludge, but at least it does seem
to prevent the crash and permit Amaya to be built.  When I get a chance,
I hope to dig into this more thoroughly and find the real reason behind
the problem -- I suspect an array index incremented past the end of the

Received on Thursday, 12 May 2005 07:16:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:31:07 UTC