Re: building with CTL support
Christopher Seawood <[email protected]> Thu, 24 Apr 2003 14:26:11 -0700
| Newsgroups | gmane.comp.mozilla.internationalization,gmane.comp.mozilla.builds |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
Jungshik Shin wrote: > Has any one tried building Mozilla with CTL enabled > (enable-ctl) on Linux recently? There are several tinderboxes on the Ports page which build with --enable-ctl. > I ran 'nm' over nsULE.o (one of object files linked in) and obtained > the following: > > U NS_CheckThreadSafe > U NS_CurrentThread > U _GLOBAL_OFFSET_TABLE_ > ...... > U _ZN7nsDebug12PreConditionEPKcS1_S1_i > U _ZN7nsDebug9AssertionEPKcS1_S1_i > U _ZN8nsMemory4FreeEPv > > However, libxpcom.so has apparently all of them. For instance, > 'nm' on libxpcom.so gave me > > 001292e4 T _ZN8nsMemory22GetGlobalMemoryServiceEv > 001291fa T _ZN8nsMemory4FreeEPv > 0012916c T _ZN8nsMemory5AllocEj Those symbols are not the same. They are mangled differently (ZN7 vs ZN8, for starters). It looks like you're linking against a different version of xpcom than those object files were compiled against. Make sure that you don't have a system version of xpcom installed and are pulling that version in before the in-tree version due to ld's handling of -L . - cls