I’ve got 2 projects using the same custom librarie (written in C).
One is a C project and the second is a C++ project.
Both projects are configured the same, but only the C project compiles
In the C++ project I’ve got the following error:
Idefix.o: In function
GPI(void)': Idefix.o(.text+0xe08): undefined reference to mpc85xx_get_ccsr(void)’
Idefix.o(.text+0xe08): relocation truncated to fit: R_PPC_REL24
“mpc85xx_get_ccsr(void)” is obviously a function of the custom librarie.
Any idea how to solve this?
- Momentics (Windows hosted)
- QNX 6.3.0 SP1
- gcc 2.95.3