Closed Bug 16149 Opened 25 years ago Closed 25 years ago

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

Categories

(Core Graveyard :: Java: OJI, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: blackconnect, Assigned: edburns)

References

Details

Attachments

(1 file)

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).
Attached patch fix for this bugSplinter Review
Status: NEW → ASSIGNED
Blocks: 15902
Keywords: patch
This has been fixed for a while.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Verified per Ed's comments
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: