I imported my design from NBEclipse IDE old version (I couldn't find the version number from the 'About...') to RC7a. While the project was compiled, error messages showed up. Error message is: undefined reference to `Multi_I2CInit'
The project could be complied on old NBEclipse IDE without any problems.
Hardware: MOD5213
Could anyone tell me how to solve this issue? Thanks.
I2C issue with RC7 release
Re: I2C issue with RC7 release
Thanks for the reply. I tried to create a new project and imported file systems (only *.h and *.cpp files are imported) from my old project. I also include the following code at the top of the source code:
#ifndef MCF5213
#define MCF5213
#endif
But the problem is still there.
I build a simple testing project, as attached.
#ifndef MCF5213
#define MCF5213
#endif
But the problem is still there.
I build a simple testing project, as attached.
- Attachments
-
- main.cpp
- Error: undefined reference to 'multi_I2CInit'
Error location: line 40 - (848 Bytes) Downloaded 398 times
Re: I2C issue with RC7 release
Hi,
Sorry about this, I thought this fix was already in 2.37a but I was wrong. There was a bug in this release that has been fixed. A new 2.4 release should be out any day now.
I2CMulti.cpp
Line 48:
#if ( defined MCF5270 || defined MCD5213 || defined MCF5208 )
Should be:
#if ( defined MCF5270 || defined MCF5213 || defined MCF5208 )
Recompile your system files after changing this and all should be OK.
Sorry about this, I thought this fix was already in 2.37a but I was wrong. There was a bug in this release that has been fixed. A new 2.4 release should be out any day now.
I2CMulti.cpp
Line 48:
#if ( defined MCF5270 || defined MCD5213 || defined MCF5208 )
Should be:
#if ( defined MCF5270 || defined MCF5213 || defined MCF5208 )
Recompile your system files after changing this and all should be OK.