The c project is composed by a lot of classes and files. The C++ library is compiled into a ".a" file. When I add the .a file as library to the MakeFile of the C project, it shows a lot of errors like undefined reference to '__gxx_personality_v0' that may related to the difference between C and C++.
I'm using gcc to compile the C project. But whatever functions I'm calling in the C project are declared as extern C in the header file of the C++ library.
I really appreciate any help!