Rogue Wave Knowledge Base
Search:    
Browse by category:
Knowledgebase | Glossary | Ask a Question |

Currency Library fails to build on AIX 5.3 with xlC 8.0.0.15

Article ID: 1360
Last updated: 29 Feb, 2008
Revision: 1
print  Print
share  Share
Views: 2606
Posted: 22 Feb, 2008
by --
Updated: 29 Feb, 2008
by

PROBLEM


When building SourcePro Edition 9 or Edition 9 Update 1 on AIX 5.3 with xlC 8.0.0.15, the currency library build will fail with the following error:

"./../../../rw/currency/utlconst.cc", line 58.10: 1540-0064 (S) Syntax error:  "~" was expected but "~0" was found.
"./../../../rw/currency/utlconst.cc", line 54.27: 1540-0700 (I) The previous message was produced while processing "RWIntutilConstants<unsigned long>::LowerMask".
"./../../../rw/currency/utlconst.cc", line 122.13: 1540-0700 (I) The previous message was produced while processing "RWIntutilConstants<unsigned long>::RWIntutilConstants()".
"./../../../rw/currency/intutil.h", line 51.42: 1540-0700 (I) The previous message was produced while processing "RWIntutilConstantsVarUL".



CAUSE


The compiler will not recognize expressions such as (T(~0)), which are used in the utlconst.cc file.


ACTION


This issue is fixed in Edition 10 of SourcePro, and the fix has been ported back to Edition 9 / Edition 9 Update 1.  You should remove or rename the existing utlconst.cc file in the rw/currency/ directory of your SourcePro installation, and replace it with the attached utlconst.cc file.  Then run the build again, and the currency library should build correctly.
This article was:   Helpful | Not helpful Report an issue


Attached files
item utlconst.cc (4 kb) Download

Also listed in
folder SourcePro -> Analysis
folder SourcePro -> Analysis -> Currency
folder SourcePro -> Releases -> Edition 9 SP
folder SourcePro -> Releases -> Edition 9 Update 1 SP

Prev     Next
SourcePro Static build looking for a shared Standard Library...       SourcePro install problem on Linux platform

Others in this category
b Incorrect RCB Compiler & OS Selections in SuSE Linux Enterprise Server (SLES) 9
b SourcePro Static build looking for a shared Standard Library version
b SourcePro install problem on Linux platform
b Use Stream Versions to Improve Efficiency or Provide Compatibility
b On AIX 5.3, RCB only generates static libs (*.a) and not dynamic libs (*.so)
b What is a static initialization problem?
b How to create a single SourcePro threads rollup library?
b Display Issues during SourcePro installation
b Problem Installing SourcePro on 64bit Linux