| Summary | Getting a "ld: fatal: relocation error: R_SPARC_H44:" error when trying to link our application. |
|---|---|
| Article Number | 17640 |
| Environment | UNIX Orbix 3.x |
| Question/Problem Description | Getting a "ld: fatal: relocation error: R_SPARC_H44:" error when trying to link our application. Getting a "wrong ELF class: ELFCLASS32" error when trying to link our application. |
| Clarifying Information | |
| Error Message | |
| Defect/Enhancement Number | |
| Cause | These linking errors have to do with having to link into shared libraries. |
| Resolution | The application wasn't compiled with option –KPIC (or –Kpic or –xcode=pic12 or –xcode=pic32), for the generated object to be position-independent. An object like that one cannot be linked into a shared library. It is also a good idea with errors like these to plug in the error message into a search engine on the web. Most likely someone else ran into a similar problem. |
| Workaround | |
| Notes | |
| Attachment |
| Created date: | 06 September 2011 |
|---|---|
| Last Modified: | 13 February 2013 |
| Last Published: | 23 June 2012 |
| First Published date: | 10 September 2011 |
#Orbix
#KnowledgeDocs




