On Wed, Dec 10, 2003 at 04:21:38PM +0100, Christian Biesinger wrote: > Ramin Dousti wrote: > >I've noticed that the symbols being looked for are there but with a > >different prefix assigned to them by g++. Can someone please shed some > >light onto this problem? Here is an example of such an error: > > Have you compiled XPCOM with one compiler, and your component with > another one? C++ code compiled by gcc 2.x is not compatible with code > from gcc 3.x, and vice versa...
No. All the packages used by this application have been compiled on the same machine and with the same compiler. However, after the compilation I copy all the needed .so's and the main binary to another machine where these errors occur. As root priveledges are required to run the application and since I do not have root on the developement machine I cannot confirm that these errors happen on the machine where the compilation takes place. Can a function, "MyFunc", be archived into an .so lib as a symbol "xyzMyFunc" and the call to that function in the main binary be translated to "abcMyFuc" by the same compiler? I know that this question is not directly an xpcom question but my lack of thorough understanding of both xpcom and the internals of gcc made me post this question here where I believe many coding guru's read and answer questions like this one. Ramin _______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
