473,695 Members | 2,600 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ILINK32 Errors: Error: Unresolved external

we have two files:
1. rc4.c (defines one function "create_pin ()")
2. MyImpl.c(callin g 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_RandomUpdat e' referenced from
D:\JNI\PININFO\ RC4.
OBJ
Error: Unresolved external '_B_CreateAlgor ithmObject' referenced from
D:\JNI\PIN
INFO\RC4.OBJ
Error: Unresolved external '_AI_RC4' referenced from
D:\JNI\PININFO\ RC4.OBJ
Error: Unresolved external '_B_SetAlgorith mInfo' referenced from
D:\JNI\PININFO\
RC4.OBJ
Error: Unresolved external '_B_CreateKeyOb ject' referenced from
D:\JNI\PININFO\ R
C4.OBJ
Error: Unresolved external '_B_GenerateRan domBytes' 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_EncryptUpda te' referenced from
D:\JNI\PININFO\ RC4
..OBJ
Error: Unresolved external '_B_EncryptFina l' referenced from
D:\JNI\PININFO\ RC4.
OBJ
Error: Unresolved external '_memcpy' referenced from
D:\JNI\PININFO\ RC4.OBJ
Error: Unresolved external '_B_DestroyKeyO bject' referenced from
D:\JNI\PININFO\
RC4.OBJ
Error: Unresolved external '_B_DestroyAlgo rithmObject' 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_ENCRYP T' referenced from
D:\JNI\PININFO\ RC4.
OBJ
Error: Unresolved external '_AM_RC4_DECRYP T' 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 8408
Aravind wrote:
we have two files:
1. rc4.c (defines one function "create_pin ()")
2. MyImpl.c(callin g 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.l earn.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
1450
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? Linking... atls.lib(atlbase.obj) : error LNK2001: unresolved external symbol ___security_cookie PenPacketInfoDlg.obj : error LNK2019: unresolved external
4
3376
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
2019
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 environment, pls bear with me if this one is a trivial question Here's the procedure I followed (1) Copied libeay32.lib and ssleay32.lib to C:\program files\Microsoft Visual Studio .NET\Vc7\li (2) Copied the OpenSSL header files to c:\program...
3
7365
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 MFC6 <afxtempl.h> to get it to compile with the better standards confomance (mainly omitted typename, and lazyness with specialized templates - using BASE_CLASS & TYPE instead of CObList & CObList*) Now I get some strange linker errors, and I don't...
3
8066
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 LNK2028: unresolved token (0A000007) "extern "C" void __clrcall ___CxxCallUnwindDtor(void (__clrcall*)(void *),void *)" (?___CxxCallUnwindDtor@@$$J0YMXP6MXPAX@Z0@Z) referenced in function "public: virtual __thiscall...
6
1969
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 in Visual Studio C++. Here are the errors: ------------------------------------------- test error LNK2019: unresolved external symbol _find_child_nxpv referenced in function "void __cdecl processFile(char const *)" (?processFile@@YAXPBD@Z) test...
0
4882
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 against VS2005. They all/mostly seem to be within the STL. Any idea what might cause something like this? Linking errors follow. ---
1
2178
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 <string>
1
10355
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 working in the release mode. I mean it is shooting off linking errors. I am required to generate an exe file and am looking for some suggestions!!! thank you all Linker Errors are something like this... error LNK2001: unresolved external...
0
8649
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9004
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8864
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8838
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7683
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5842
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4592
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3025
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
1986
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.