When using C and C programming, the following error may occur when compiling
Undefined first referenced symbol in file__gxx_personality_v0 /var/tmp//cc4zpxHn.oMAPI_trace /var/tmp//cc4zpxHn.old: fatal: Symbol referencing errors No output written to a.outcollect2:. Ld returned 1 exit status
Can't find the specified symbol, and these symbols, such as Mapi_Trace, is clearly defined in a file, at this time, the possible reason is that when using C and C write programs, there is no attention to the use of the hyperfix name, the suffix of C language The name is generally .C and C suffix names such as .c .cpp, etc., if using C programming, but use the .C's suffix name, only you use G to compile (no specified), G to the program The function name is still processed by the rule of the C language, not in the C name rules, but in other C files that call the function, you use .c as a suffix name, then possible There are more mistakes. In summary, the suffix is not to be used.