Re: Problem in compiling firefox 3 source against my extension
- From: Paddy <Paddy@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 21 Apr 2009 21:56:01 -0700
Hi,
I am facing the same kind of linking issue. Can you please provide the
solution to this problem.
Thanks in advance!
~paddy
"...np$..." wrote:
Hi All,.
The issues were fixed.
Thanks & Regards,
Muthuselvan N
On Mar 30, 10:41 am, "...np$..." <npselva...@xxxxxxxxx> wrote:
Hi All,
I have an extenstion working with Firefox 2.0. Now I am
compiling the extension source against Firefox 3.0. We used lot of
Unfrozen interfaces for my extension. Now i am getting some linker
error with error code LNK2001 and LNK2019 on compilation. I have not
included the MOZILLA_INTERNAL_API definition in the Makefile too.
Kindly let me know what I am missing or else is there any work around
to get away with this Linker error. Herewith I included the error logs
for your reference.
nsPageLearner.obj : error LNK2001: unresolved external symbol "public:
wchar_t const * __thiscall nsAString::BeginReading(void)const " (?
BeginReading@nsAString@@QBEPB_WXZ)
nsPlayBackUtils.obj : error LNK2019: unresolved external symbol
"public: wchar_t const * __thiscall nsAString::BeginReading(void)const
" (?BeginReading@nsAString@@QBEPB_WXZ) referenced in function "public:
wchar_t const * __thiscall nsString_external::get(void)const " (?
get@nsString_external@@QBEPB_WXZ)
nsRecorderImpl.obj : error LNK2001: unresolved external symbol
"public: wchar_t const * __thiscall nsAString::BeginReading(void)const
" (?BeginReading@nsAString@@QBEPB_WXZ)
nsPlayBack.obj : error LNK2001: unresolved external symbol "public:
wchar_t const * __thiscall nsAString::BeginReading(void)const " (?
BeginReading@nsAString@@QBEPB_WXZ)
nsQEngineImpl.obj : error LNK2001: unresolved external symbol "public:
wchar_t const * __thiscall nsAString::BeginReading(void)const " (?
BeginReading@nsAString@@QBEPB_WXZ)
nsPerfRecorder.obj : error LNK2019: unresolved external symbol
"public: int __thiscall nsAString::Equals(class nsAString const &,int
(__cdecl*)(wchar_t const *,wchar_t const *,unsigned int))const " (?
Equals@nsAString@@QBEHABV1@P6AHPB_W1I@Z@Z) referenced in function
"public: virtual unsigned long __stdcall nsPerfRecorder::Release
(void)" (?Release@nsPerfRecorder@@UAGKXZ)
ClientSocket.obj : error LNK2001: unresolved external symbol "public:
int __thiscall nsAString::Equals(class nsAString const &,int (__cdecl*)
(wchar_t const *,wchar_t const *,unsigned int))const " (?
Equals@nsAString@@QBEHABV1@P6AHPB_W1I@Z@Z)
nsValidator.obj : error LNK2001: unresolved external symbol "public:
int __thiscall nsAString::Equals(class nsAString const &,int (__cdecl*)
(wchar_t const *,wchar_t const *,unsigned int))const " (?
Equals@nsAString@@QBEHABV1@P6AHPB_W1I@Z@Z)
nsPageLearner.obj : error LNK2001: unresolved external symbol "public:
int __thiscall nsAString::Equals(class nsAString const &,int (__cdecl*)
(wchar_t const *,wchar_t const *,unsigned int))const " (?
Equals@nsAString@@QBEHABV1@P6AHPB_W1I@Z@Z)
nsPlayBackUtils.obj : error LNK2001: unresolved external symbol
"public: int __thiscall nsAString::Equals(class nsAString const &,int
(__cdecl*)(wchar_t const *,wchar_t const *,unsigned int))const " (?
Equals@nsAString@@QBEHABV1@P6AHPB_W1I@Z@Z)
nsRecorderImpl.obj : error LNK2001: unresolved external symbol
"public: int __thiscall nsAString::Equals(class nsAString const &,int
(__cdecl*)(wchar_t const *,wchar_t const *,unsigned int))const " (?
Equals@nsAString@@QBEHABV1@P6AHPB_W1I@Z@Z)
nsPlayBack.obj : error LNK2001: unresolved external symbol "public:
int __thiscall nsAString::Equals(class nsAString const &,int (__cdecl*)
(wchar_t const *,wchar_t const *,unsigned int))const " (?
Equals@nsAString@@QBEHABV1@P6AHPB_W1I@Z@Z)
nsQEngineImpl.obj : error LNK2001: unresolved external symbol "public:
int __thiscall nsAString::Equals(class nsAString const &,int (__cdecl*)
(wchar_t const *,wchar_t const *,unsigned int))const " (?
Equals@nsAString@@QBEHABV1@P6AHPB_W1I@Z@Z)
nsPerfRecorder.obj : error LNK2001: unresolved external symbol
"public: static int __cdecl nsAString::DefaultComparator(wchar_t const
*,wchar_t const *,unsigned int)" (?
DefaultComparator@nsAString@@SAHPB_W0I@Z)
ClientSocket.obj : error LNK2001: unresolved external symbol "public:
static int __cdecl nsAString::DefaultComparator(wchar_t const
*,wchar_t const *,unsigned int)" (?
DefaultComparator@nsAString@@SAHPB_W0I@Z)
nsValidator.obj : error LNK2001: unresolved external symbol "public:
static int __cdecl nsAString::DefaultComparator(wchar_t const
*,wchar_t const *,unsigned int)" (?
DefaultComparator@nsAString@@SAHPB_W0I@Z)
nsPageLearner.obj : error LNK2001: unresolved external symbol "public:
static int __cdecl nsAString::DefaultComparator(wchar_t const
*,wchar_t const *,unsigned int)" (?
DefaultComparator@nsAString@@SAHPB_W0I@Z)
nsPlayBackUtils.obj : error LNK2019: unresolved external symbol
"public: static int __cdecl nsAString::DefaultComparator(wchar_t const
*,wchar_t const *,unsigned int)" (?
DefaultComparator@nsAString@@SAHPB_W0I@Z) referenced in function
"public: static int __cdecl nsPlayBackUtils::CompareUTF16(class
nsAString &,class nsAString &)" (?
CompareUTF16@nsPlayBackUtils@@SAHAAVnsAString@@0@Z)
nsRecorderImpl.obj : error LNK2001: unresolved external symbol
"public: static int __cdecl nsAString::DefaultComparator(wchar_t const
*,wchar_t const *,unsigned int)" (?
DefaultComparator@nsAString@@SAHPB_W0I@Z)
nsPlayBack.obj : error LNK2001: unresolved external symbol "public:
static int __cdecl nsAString::DefaultComparator(wchar_t const
*,wchar_t const *,unsigned int)" (?
DefaultComparator@nsAString@@SAHPB_W0I@Z)
nsQEngineImpl.obj : error LNK2001: unresolved external symbol "public:
static int __cdecl nsAString::DefaultComparator(wchar_t const
*,wchar_t const *,unsigned int)" (?
DefaultComparator@nsAString@@SAHPB_W0I@Z)
nsPlayBackUtils.obj : error LNK2019: unresolved external symbol
"public: static void __cdecl nsPlayBackUtils::ReplaceStr(class
nsAString &,class nsAString &,class nsAString &)" (?
ReplaceStr@nsPlayBackUtils@@SAXAAVnsAString@@00@Z) referenced in
function "public: static unsigned int __cdecl
nsPlayBackUtils::CheckTitle(class nsIDOMWindow *,class nsAString
&,class nsAString &)" (?
CheckTitle@nsPlayBackUtils@@SAIPAVnsIDOMWindow@@AAVnsAString@@1@Z)
nsPlayBackUtils.obj : error LNK2019: unresolved external symbol
"public: static unsigned int __cdecl nsPlayBackUtils::GetAnonymousNodes
(class nsIDOMNode *,class nsIDOMNodeList * *)" (?
GetAnonymousNodes@nsPlayBackUtils@@SAIPAVnsIDOMNode@@PAPAVnsIDOMNodeList@@@Z)
referenced in function "public: static unsigned int __cdecl
nsPlayBackUtils::GetXULTextNode(class nsIDOMDocument *,class nsAString
const &,class nsIDOMNode * *)" (?
GetXULTextNode@nsPlayBackUtils@@SAIPAVnsIDOMDocument@@ABVnsAString@@PAPAVnsIDOMNode@@@Z)
nsRecorderImpl.obj : error LNK2001: unresolved external symbol
"public: static unsigned int __cdecl nsPlayBackUtils::GetAnonymousNodes
(class nsIDOMNode *,class nsIDOMNodeList * *)" (?
GetAnonymousNodes@nsPlayBackUtils@@SAIPAVnsIDOMNode@@PAPAVnsIDOMNodeList@@@Z)
nsValidator.obj : error LNK2001: unresolved external symbol "public:
static unsigned int __cdecl nsPlayBackUtils::GetAnonymousNodes(class
nsIDOMNode *,class nsIDOMNodeList * *)" (?
GetAnonymousNodes@nsPlayBackUtils@@SAIPAVnsIDOMNode@@PAPAVnsIDOMNodeList@@@Z)
nsPlayBackUtils.obj : error LNK2019: unresolved external symbol
"public: static unsigned int __cdecl
nsPlayBackUtils::GetAnonymousNodesList(class nsString_external,class
nsIDOMDocument *,class nsIDOMNodeList * *)" (?
GetAnonymousNodesList@nsPlayBackUtils@@SAIVnsString_external@@PAVnsIDOMDocument@@PAPAVnsIDOMNodeList@@@Z)
referenced in function "public: static unsigned int __cdecl
nsPlayBackUtils::GetDialogWindowType(class nsIDOMWindow *,class
nsAString &,class nsAString &)" (?
GetDialogWindowType@nsPlayBackUtils@@SAIPAVnsIDOMWindow@@AAVnsAString@@1@Z)
nsRecorderImpl.obj : error LNK2001: unresolved external symbol
"public: static unsigned int __cdecl
nsPlayBackUtils::GetAnonymousNodesList(class nsString_external,class
nsIDOMDocument *,class nsIDOMNodeList * *)" (?
GetAnonymousNodesList@nsPlayBackUtils@@SAIVnsString_external@@PAVnsIDOMDocument@@PAPAVnsIDOMNodeList@@@Z)
nsPlayBack.obj : error LNK2001: unresolved external symbol "public:
static unsigned int __cdecl nsPlayBackUtils::GetAnonymousNodesList
(class nsString_external,class nsIDOMDocument *,class nsIDOMNodeList *
*)" (?
GetAnonymousNodesList@nsPlayBackUtils@@SAIVnsString_external@@PAVnsIDOMDocument@@PAPAVnsIDOMNodeList@@@Z)
nsValidator.obj : error LNK2001: unresolved external symbol "public:
static unsigned int __cdecl nsPlayBackUtils::GetAnonymousNodesList
(class nsString_external,class nsIDOMDocument *,class nsIDOMNodeList *
*)" (?
GetAnonymousNodesList@nsPlayBackUtils@@SAIVnsString_external@@PAVnsIDOMDocument@@PAPAVnsIDOMNodeList@@@Z)
nsRecorderImpl.obj : error LNK2019: unresolved external symbol
"public: int __thiscall nsAString::Find(class nsAString const
&,unsigned int,int (__cdecl*)(wchar_t const *,wchar_t const *,unsigned
int))const " (?Find@nsAString@@QBEHABV1@IP6AHPB_W1I@Z@Z) referenced in
function "public: int __thiscall nsAString::Find(class nsAString const
&,int (__cdecl*)(wchar_t const *,wchar_t const *,unsigned int))const
" (?Find@nsAString@@QBEHABV1@P6AHPB_W1I@Z@Z)
nsPlayBack.obj : error LNK2001: unresolved external symbol "public:
int __thiscall nsAString::Find(class nsAString const &,unsigned
int,int (__cdecl*)(wchar_t const *,wchar_t const *,unsigned int))const
" (?Find@nsAString@@QBEHABV1@IP6AHPB_W1I@Z@Z)
nsQEngineImpl.obj : error LNK2001: unresolved external symbol "public:
int __thiscall nsAString::Find(class nsAString const &,unsigned
int,int (__cdecl*)(wchar_t const *,wchar_t const *,unsigned int))const
" (?Find@nsAString@@QBEHABV1@IP6AHPB_W1I@Z@Z)
nsPageLearner.obj : error LNK2001: unresolved external symbol "public:
int __thiscall nsAString::Find(class nsAString const &,unsigned
int,int (__cdecl*)(wchar_t const *,wchar_t const *,unsigned int))const
" (?Find@nsAString@@QBEHABV1@IP6AHPB_W1I@Z@Z)
nsQEngineImpl.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: static int __cdecl nsCRT::strcmp(char
const *,char const *)" (__imp_?strcmp@nsCRT@@SAHPBD0@Z) referenced in
function "public: __thiscall nsQEngineImpl::nsQEngineImpl(void)" (??
0nsQEngineImpl@@QAE@XZ)
nsPerfRecorder.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static int __cdecl nsCRT::strcmp(char
const *,char const *)" (__imp_?strcmp@nsCRT@@SAHPBD0@Z)
libqecomp_FIREFOX1_5.dll : fatal error LNK1120: 8 unresolved externals
Thanks & Regards,
Muthuselvan
- Prev by Date: Re: (Complete noob) Second test failed (identifier not found)
- Next by Date: Re: Visual C++ aliasing issue
- Previous by thread: Visual C++ aliasing issue
- Next by thread: ShellExecute and CreateProcess
- Index(es):
Relevant Pages
|