> We have a file, which can be compile for C and for C++ (conditional extern "C" {...}) > If we run the gcc compiler with the file name ending with ".c", we don't have a >problem, > but if we change the file name to ".cxx", we get the error message on loading the >module. > One is inclined to say that the compiler is generating different object files. Yep, c++ vs. c linkage e.g. Therefore the symbols are different even if the source is the same ! > Based on other suggestions, it looks like the C++ version of the compiler does not > include all the "elements" from the include files module.h and version.h > (perhaps removed by optimisation) Doesn't helped my suggestion from "Re: [rtl] Using C++ in rtlinux" 29.01.01 ??? What do you get for error messages on loading the module. Regards Olaf -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED] --- For more information on Real-Time Linux see: http://www.rtlinux.org/rtlinux/