Re: symbol nsCRT::strcmp not def.at link time (Was: Re: build problem)
Konstantin Andreev <[email protected]> Tue, 05 Jan 2010 17:25:42 +0300
| Newsgroups | gmane.comp.mozilla.devel.nspr |
|---|---|
| Message-ID | <[email protected]> |
Hello, Sebastien.
Your problem is not related to NSPR, because:
NSPR has symbol PL_strcmp, which is defined in plstr.h and exported by libplc4.so.
Personally, I have noted that Thunderbird 2.* sources use nsCRT::strcmp everywhere.
But in Thunderbird 3.0 release (08 Dec 2009) the nsCRT::strcmp has been changed to PL_strcmp everywhere.
On Wed, 30 Dec 2009, Sébastien Lorquet wrote:
> I am new to these lists so I don't know if my problem is related to the nspr mailing list or the extensions mailing list. I'll choose one in the next posts.
>
> I have made an xpcom object to be bundled in a firefox extension to expose new DOM Javascripts objects.
> I used the mozilla code base from mxr as a reference.
>
> So far, I have resolved all issues related to the extension itself, the individual cpp files are compiling fine.
>
> However, I have a link time problem.
>
> The macro NS_DOMCI_EXTENSION_ENTRY_BEGIN defined in nsIDOMClassInfo.h relies on nsCRT::strcmp from nsCRT.h
>
> This symbol is not defined a link time.
>
> #define NS_DOMCI_EXTENSION_ENTRY_BEGIN(_class) \
> if (nsCRT::strcmp(aName, #_class) == 0) { \
> static const nsIID* interfaces[] = {
>
_______________________________________________
dev-tech-nspr mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-nspr