Troubleshooting
Problem
Attempts to build a model in IBM Rational Rhapsody results in linker error "Can't find file: crt0.o".
Symptom
Steps to reproduce:
- Launch Rational Rhapsody which is integrated with Wind River VxWorks v6.8
- Open a project
- Click Code > Build > Build Entire Project
- During the build process, you notice the following error message:
dld: error: Can't find file: crt0.o
make.exe: *** [TcpTest.vxe] Error 1
Cause
There exists differences between the rules.rtp files provided in the Wind River versions 6.8 and 6.7
Resolving The Problem
To resolve the issue:
- Navigate to the Rational Rhapsody installation directory
C:\Program Files\IBM\Rational\Rhapsody\7.5.1
- Add the following values to Rhapsody properties file
Metaclass VxWorks6diab_RTP
Property LinkSwitches String "$OMLinkCommandSet -WDVSB_DIR=$(WIND_BASE)/target/lib"
end
Metaclass WorkbenchManaged_RTP
Property LinkSwitches String "$OMLinkCommandSet -WDVSB_DIR=$(WIND_BASE)/target/lib"
end<\code>
- Add the link switch -WDVSB_DIR=$(WIND_BASE)/target/lib to diab RTP applications
- Save the property file
- Restart Rational Rhapsody
- Perform the build operation
[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.5.1.1;7.5.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Product Synonym
Rational Rhapsody
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
swg21441419