469,632 Members | 1,732 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,632 developers. It's quick & easy.

ILINK32 Errors: Error: Unresolved external

we have two files:
1. rc4.c (defines one function "create_pin()")
2. MyImpl.c(calling the function "create_pin()"),This implements JNI
method.

1.When I am trying to create .dll file with one file rc4.obj(rc4.c),it
is creating the .dll file without any error.
Command : ILINK32 rc4.obj
2.But,when we are trying to create .dll file with two .obj files with
following errors.

Command : ILINK32 rc4.obj MyImpl.obj

Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_strcat' referenced from
D:\JNI\PININFO\RC4.OBJ
Error: Unresolved external '_strlen' referenced from
D:\JNI\PININFO\RC4.OBJ
Error: Unresolved external '_AI_MD5Random' referenced from
D:\JNI\PININFO\RC4.OB
J
Error: Unresolved external '_B_RandomInit' referenced from
D:\JNI\PININFO\RC4.OB
J
Error: Unresolved external '_strcpy' referenced from
D:\JNI\PININFO\RC4.OBJ
Error: Unresolved external '_B_RandomUpdate' referenced from
D:\JNI\PININFO\RC4.
OBJ
Error: Unresolved external '_B_CreateAlgorithmObject' referenced from
D:\JNI\PIN
INFO\RC4.OBJ
Error: Unresolved external '_AI_RC4' referenced from
D:\JNI\PININFO\RC4.OBJ
Error: Unresolved external '_B_SetAlgorithmInfo' referenced from
D:\JNI\PININFO\
RC4.OBJ
Error: Unresolved external '_B_CreateKeyObject' referenced from
D:\JNI\PININFO\R
C4.OBJ
Error: Unresolved external '_B_GenerateRandomBytes' referenced from
D:\JNI\PININ
FO\RC4.OBJ
Error: Unresolved external '_KI_Item' referenced from
D:\JNI\PININFO\RC4.OBJ
Error: Unresolved external '_B_SetKeyInfo' referenced from
D:\JNI\PININFO\RC4.OB
J
Error: Unresolved external '_B_EncryptInit' referenced from
D:\JNI\PININFO\RC4.O
BJ
Error: Unresolved external '_T_malloc' referenced from
D:\JNI\PININFO\RC4.OBJ
Error: Unresolved external '_B_EncryptUpdate' referenced from
D:\JNI\PININFO\RC4
..OBJ
Error: Unresolved external '_B_EncryptFinal' referenced from
D:\JNI\PININFO\RC4.
OBJ
Error: Unresolved external '_memcpy' referenced from
D:\JNI\PININFO\RC4.OBJ
Error: Unresolved external '_B_DestroyKeyObject' referenced from
D:\JNI\PININFO\
RC4.OBJ
Error: Unresolved external '_B_DestroyAlgorithmObject' referenced from
D:\JNI\PI
NINFO\RC4.OBJ
Error: Unresolved external '_T_memset' referenced from
D:\JNI\PININFO\RC4.OBJ
Error: Unresolved external '_T_free' referenced from
D:\JNI\PININFO\RC4.OBJ
Error: Unresolved external '_AM_RC4_ENCRYPT' referenced from
D:\JNI\PININFO\RC4.
OBJ
Error: Unresolved external '_AM_RC4_DECRYPT' referenced from
D:\JNI\PININFO\RC4.
OBJ
Error: Unresolved external '_AM_MD5_RANDOM' referenced from
D:\JNI\PININFO\RC4.O
BJ
Error: Unresolved external '_printf' referenced from
D:\JNI\PININFO\RC4.OBJ

Could someone help me to resolve this problem
Thanks in advance
Aravind
Jul 22 '05 #1
1 7948
Aravind wrote:
we have two files:
1. rc4.c (defines one function "create_pin()")
2. MyImpl.c(calling the function "create_pin()"),This implements JNI
method.

1.When I am trying to create .dll file with one file rc4.obj(rc4.c),it
is creating the .dll file without any error.
Command : ILINK32 rc4.obj
2.But,when we are trying to create .dll file with two .obj files with
following errors.

Command : ILINK32 rc4.obj MyImpl.obj

Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_strcat' referenced from
D:\JNI\PININFO\RC4.OBJ [snip]
Linking is not part of the _standard_ C++ language and best
discussed in a newsgroup about the tools. Try a Borland
newsgroup.

The unresolved symbols generally indicates that a file
containing the symbol definitions (not a header) was
not part of the project or linking phase.

Could someone help me to resolve this problem
Thanks in advance
Aravind

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.comeaucomputing.com/learn/faq/
Other sites:
http://www.josuttis.com -- C++ STL Library book

Jul 22 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by KS | last post: by
4 posts views Thread by BinWang85 | last post: by
reply views Thread by Krishnan | last post: by
6 posts views Thread by ermanu | last post: by
reply views Thread by Adam Clauss | last post: by
1 post views Thread by dasilva109 | last post: by
1 post views Thread by iiitsunny | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.