| Summary | Compiler reports "wrong ELF class" error when compiling Orbix C demos. |
|---|---|
| Article Number | 35102 |
| Environment | Orbix 6 All supported platforms |
| Question/Problem Description | Attempting to building the Orbix C demos results in "wrong ELF class" error reported. "wrong ELF class" exception Orbix demos contain a mix of 32- and 64-bit libraries. |
| Clarifying Information | |
| Error Message | Example Error Message: ld: fatal: file grid.client.o: wrong ELF class: ELFCLASS64 |
| Defect/Enhancement Number | |
| Cause | C compiler will throw a "wrong ELF class" error if linking a mix of 32- and 64-bit libraries. |
| Resolution | There are a number of reasons why an environment mey contain a mix of 32- and 64-bit libraries. For the Orbix demos, please ensure the libraries in the "demo/demolib" directory have been compiled with the same bit-version as the demos. |
| Workaround | |
| Notes | For more information on the "wrong ELF class" error, please see article number 000013824. |
| Attachment |
| Created date: | 28 September 2012 |
|---|---|
| Last Modified: | 28 September 2012 |
| Last Published: | 28 September 2012 |
| First Published date: | 28 September 2012 |
#Orbix
#KnowledgeDocs




