Troubleshooting
Problem
Attempts to execute Dishwasher model in Animation mode using IBM Rational Rhapsody for ADA configured with GNAT 2010 compiler results in the error gnatmake: *** link failed.
Symptom
The complete error is as follows:
"Building ------------ DefaultComponent.exe ------------
Executing: "C:\Users\IBM_ADMIN\IBM\Rational\Rhapsody\8.0\Share\etc\GnatMake.bat" DefaultComponent.bat build
Invoking MakeFile
Building dishwasher
gnatbind -aO./ -aOC:\Users\IBM_ADMIN\IBM\Rational\Rhapsody\8.0\Share\LangAda95\src\RiA_Framework\GNAT_Win32 -aOC:\Users\IBM_ADMIN\IBM\Rational\Rhapsody\8.0\Share\LangAda95\aom_new_95 -I- -x maindefaultcomponent.ali
gnatlink -g -o DefaultComponent.exe -aOC:\Users\IBM_ADMIN\IBM\Rational\Rhapsody\8.0\Share\LangC\lib C:\Users\IBM_ADMIN\IBM\Rational\Rhapsody\8.0\Share\LangC\lib\AdaWinaomanim.lib C:\Users\IBM_ADMIN\IBM\Rational\Rhapsody\8.0\Share\LangC\lib\AdaWinoxfinst.lib
.
.
.
gnatlink: cannot call C:/Gnat\bin\gcc.exe
gnatmake: *** link failed.
Finished Building dishwasher
Build Done"
Cause
This error is caused due to a faulty make.exe.
Resolving The Problem
To resolve the problem, follow the steps below:
- Navigate to the URL to fetch the correct make file:
http://gnuwin32.sourceforge.net/packages/make.htm
- Download and install the Setup program and the dependencies zip file.
- Copy the make.exe and library files into the bin folder of GNAT 2010 Installation directory.
- Rebuild the Frame work.
Note: It is recommended to use the licensed versions of GNAT compiler, as free compilers will not support few features. They are meant only for education purpose, not for real time development.
Product Synonym
Rational Rhapsody
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
swg21625475