473,398 Members | 2,427 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

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 8381
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: KS | last post by:
I am getting linker error for a code that was tested and running. I opened the project in VS.NET 2003 and now i get these errors - I am sure it is some options issue. Can anyone please help? ...
4
by: BinWang85 | last post by:
The following is the code: #include <iostream.h> #include <math.h> //needed for decimal calculations int main() { int employee_num; double FetchHours(void);
0
by: Krishnan | last post by:
Hi I am trying to build a small client-server program using OpenSSL functions. I get errors on trying to build the program using Visual Studio .Net (Visual C++ 7.0). I am new to Visual Studio...
3
by: Leith Bade | last post by:
I have been trying to use the new Visual C++ Toolkit 2003 with the VC6 IDE I set up the executable, inlcude, and library directories to point to the new compilers I had to fix a few errors in the...
3
by: Chucker | last post by:
Hi Folks, I got a Wrapper Dll around a native C++ static library. In .NET 1.1 this worked fine. When moving to .NET 2.0 I get a couple of unresolved externals / linker errors: Error 16 error...
6
by: ermanu | last post by:
Hello we don't know much about C. But we have to resolve this problem in order to work on our project. We're getting below errors whenever we try to build the code. We're trying to build the code...
0
by: Adam Clauss | last post by:
I have managed C++ library (is bridging between a Win32 .dll and a C# application). All was well when compiled under VS2003, but I am running into a series of linking errors when compiling...
1
by: dasilva109 | last post by:
Hi guys I am new to C++ and need urgent help with this part of my code for a uni coursework I have to submit by Thursday //ClientData.h #ifndef CLIENTDATA_H #define CLIENTDATA_H #include...
1
by: iiitsunny | last post by:
i have ported one project which was working in VC6 to VC7. Now the project is working fine in VC7 also. I have made some additions in VC7 environment only. But the problem is that the project is not...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.