Re: Interpreting object files symbols (another comment)
Re: Interpreting object files symbols (another comment)
- Subject: Re: Interpreting object files symbols (another comment)
- From: Marcus Mendenhall <email@hidden>
- Date: Tue, 30 Aug 2005 10:26:45 -0500
Message: 16
Date: Tue, 30 Aug 2005 10:13:26 -0400
From: "Yves Poissant" <email@hidden>
Subject: Interpreting object files symbols
To: <email@hidden>
Message-ID: <010201c5ad6c$ff3c6af0$1300a8c0@yvesp4p800>
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
reply-type=original
In a dylib, I have a function declared as:
BOOL UnlockTempMaps(BOOL DeleteTemps = TRUE);
in the header file. The application that uses the function calls it
with
UnlockTempMaps();
The linker complains that the symbol
__Z17UnlockTempMapsv
is undefined.
There are several other symbols in this dylib which the linker
doesn't have
problem with.
So I'm trying to figure what is that function declaration that the
linker is
looking for from the symbol "__Z17UnlockTempMapsv".
In particular, what does the appended "v" means?
And is there any clue to get from the prepended "Z17"?
Also is there any document that describe the compiler and linker
way of
building object file symbols?
Yves
First, to compile the unmangler I attached to my previous comment, do
gcc -o unmangle unmangle.cc -lstdc++
However, when I try to unmangle the name you sent, I get an error.
Are there more characters cut off the end, by any chance?
The most common reason I have had for this error is that a destructor
for the class has been declared in the header, but never instantiated.
Marcus Mendenhall
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden