Link problem. (unresolved external symbol "void __cdecl SetSecurityContext") see 15902

VERIFIED FIXED

Status

Core Graveyard
Java: OJI
P3
normal
VERIFIED FIXED
18 years ago
7 years ago

People

(Reporter: Igor Kushnirskiy, Assigned: edburns)

Tracking

Trunk
x86
Windows NT

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

18 years ago
When I am trying to use SetSecurityContext (see 15902)
I have following error:
--
PlugletEngine.obj : error LNK2001: unresolved external symbol "void __cdecl SetS
ecurityContext(struct JNIEnv_ *,struct nsISecurityContext *)" (?SetSecurityConte
xt@@YAXPAUJNIEnv_@@PAUnsISecurityContext@@@Z)
.\WIN32_D.OBJ\nppluglet.dll : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
--

The reason of this problem is:
 we have to declare function with PR_EXTERN(_type) to make it visible outside
 our dll and we need to implement it using PR_IMPLEMENT(_type).
(Reporter)

Comment 1

18 years ago
Created attachment 2097 [details] [diff] [review]
fix for this bug
(Assignee)

Updated

18 years ago
Status: NEW → ASSIGNED
(Assignee)

Updated

18 years ago
Blocks: 15902

Updated

18 years ago
Keywords: patch
(Assignee)

Comment 2

18 years ago
This has been fixed for a while.
Status: ASSIGNED → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED

Comment 3

18 years ago
Verified per Ed's comments
Status: RESOLVED → VERIFIED

Updated

7 years ago
Component: Java: OJI → Java: OJI
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.