Keren Dong wrote:
Yes, I'm sure of it.
I have wrote a individual program to test it and it can work fine, but this is a lib that is written by pure c, is this the problem?

So this is a library you are providing? Where do you have the library installed? This sounds like an error in linkage that you will need to solve. Tools that may help you find the problem include ldd and nm.

--BDS


On 2006-10-13, at 下午9:01, Benjamin Smedberg wrote:

Keren Dong wrote:
I need to call a function which is provided by a .so library, but when
running with firefox, it crashed and report:

/libexec/ld-slf.so.1: /usr/X11r6/lib/firefox/components/libtest.so:
Undefined symbol "_Z10getprivkeyPiPPh"

getprivkey() is the function that I need to call.
How to solve this?

What library is getprivkey() supplied by? Are you linking against that
library? Is that function actually exported by the library you think it is?

--BDS
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom



--
Best regards,
Keren Dong

Institue of Software, Chinese Academy of Sciences
MSN/Gtalk: [EMAIL PROTECTED]
AIM: dragonballs1983


_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to