473,748 Members | 10,048 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

LNK2001 : Unresolved external symbol

5 New Member
Im new here and im not sure whether is this the right place for me to post my question..anywa y..hope that you can help me..i have been stucked in this problem since last wk..My problem is..I'm using VC++6.0 to compile my C code in order to get a DLL file for my C# program..but then..when i compile and build..i get 9 errors..n here they are...

*beginning*
sendrcv.obj : error LNK2001: unresolved external symbol "int __cdecl CS2_RECEIVE(str uct CS2AP_RDS_S *,struct CS2AP_REC_S *)" (?CS2_RECEIVE@@ YAHPAUCS2AP_RDS _S@@PAUCS2AP_RE C_S@@@Z)
sendrcv.obj : error LNK2001: unresolved external symbol "int __cdecl CS2_SEND(struct CS2AP_RDS_S *,struct CS2AP_SND_S *)" (?CS2_SEND@@YAH PAUCS2AP_RDS_S@ @PAUCS2AP_SND_S @@@Z)
sendrcv.obj : error LNK2001: unresolved external symbol "int __cdecl CS2_INITIALIZE_ RES(struct CS2AP_RDS_S *)" (?CS2_INITIALIZ E_RES@@YAHPAUCS 2AP_RDS_S@@@Z)
sendrcv.obj : error LNK2001: unresolved external symbol "int __cdecl CS2_INIT(struct CS2AP_RDS_S *)" (?CS2_INIT@@YAH PAUCS2AP_RDS_S@ @@Z)
sendrcv.obj : error LNK2001: unresolved external symbol "int __cdecl CS2_ENCODE(stru ct CS2_TMP_OPT_S *,char *,char *,unsigned long)" (?CS2_ENCODE@@Y AHPAUCS2_TMP_OP T_S@@PAD1K@Z)
sendrcv.obj : error LNK2001: unresolved external symbol "int __cdecl CS2_GET_TBUF_SI ZE(struct CS2_TMP_OPT_S *,unsigned short,char *,char *)" (?CS2_GET_TBUF_ SIZE@@YAHPAUCS2 _TMP_OPT_S@@GPA D1@Z)
sendrcv.obj : error LNK2001: unresolved external symbol "int __cdecl CS2_PURGE_RES(s truct CS2AP_RDS_S *)" (?CS2_PURGE_RES @@YAHPAUCS2AP_R DS_S@@@Z)
sendrcv.obj : error LNK2001: unresolved external symbol "int __cdecl CS2_STOP_RES(st ruct CS2AP_RDS_S *)" (?CS2_STOP_RES@ @YAHPAUCS2AP_RD S_S@@@Z)
Debug/sendrcv.dll : fatal error LNK1120: 8 unresolved externals
Error executing link.exe.

sendrcv.dll - 9 error(s), 0 warning(s)
*end*

Can anyone pls kindly help me??Thanks alot..
May 3 '07 #1
0 1895

Sign in to post your reply or Sign up for a free account.

Similar topics

10
763
by: Bil Muh | last post by:
Hello Developers, I use VC++ .NET v2003. By using Windows Forms .NET, I am developing an application which will work with TCP/IP functions. I can Build my application in Debug Mode normally, but, whenever I want to Build at Release Mode, compiler gives LNK2001, LNK2019 ve LNK1120 errors. I read the MSDN documents, unfortunately, I could not solve my problem. I am requesting your help. All errors are below with my application name...
2
5282
by: rangalo | last post by:
Hi All, I have succeeded in compiling a massive project, originally from vc6 to VS .Net 2005. Now, while linking I am having loads of linker errors with the above code. LNK20019 and LNK2001. Giving error msg that some symbol is not found. Actually, the library with the symbol has been already compiled as dll. here is the buildlog of one of the projects in the solution. I also attach the implementation of a small class which is referenced...
5
2850
by: eberesche | last post by:
Hello, as a novice in ASN.1 I have me to a project in C ++ under use of ASN.1 - structures risquély. One of my colleagues means, this would deal something with masochism ;-). Result should be a DLL which provides the exchange of documents between a DMS and a remote data base. My developing environment is MSVS v.7.1, and the ASN.1 - source texts are generated with the compiler asn1c-0.9.20. Therefore I have in the project cpp-, as well as c...
2
2999
by: Angus | last post by:
Hello I am using some classes from a third party and have included them in my projecxt and am compiling and linking with them. Everything compiles ok but I get these link errors: I added all your files to my project and recompiled. Now everything compiles as before but get these link errors:
2
7151
by: Maydogg6 | last post by:
I need a hand with some stubborn link errors. I'm trying to recreate and old program from 6.0 into .NET, but for some reason when I try to compile I'm getting linking errors for all my function calls that deal with sockets. I've included <winsock2.h> in stdafx.h and I linked to ws2_32.lib by going to project properties->linker->general->additional library directories and typing in ws2_32.lib. Am I missing some include files or have the...
6
121914
by: sadegh | last post by:
Hi I have a problem with my program in VC++6 When I compile it, the following errors are listed. I spend a lot of time on the groups.google.com to find its reason, but none of comments could not help me. Does any body know what is the problem?. Thanks. OtherFunctions.obj : error LNK2001: unresolved external symbol "int
5
4795
by: bonnielym84 | last post by:
Im new here..didnt noe whether is this the rite way to post my problem..Really need help here..i've been stucked in this error from last wk..My problem is like this..Im using VC++ 6.0 to compile my C codes so that i could generate a dll file out of it and used in my C# program.. When I compile, got no error and no warning. But when i build it, i have these errors.. *beginning* sendrcv.obj : error LNK2001: unresolved external symbol "int...
1
2391
by: mahricky | last post by:
i have the following error msg when i buid one of my cpp projects in visual studio 6. pls help me, it's very urgent. extures.obj : error LNK2001: unresolved external symbol "public: __thiscall Scene::Scene(void)" (??0Scene@@QAE@XZ) textures.obj : error LNK2001: unresolved external symbol "public: __thiscall Robot::Robot(void)" (??0Robot@@QAE@XZ) textures.obj : error LNK2001: unresolved external symbol "public: __thiscall...
0
2707
by: Ryan Gaffuri | last post by:
hlink72@hotmail.com (Eric) wrote in message news:<ab8d8b14.0308220550.54fb5f22@posting.google.com>... LNK1120 is a standard C++ error. you using Visual C++? Means your references a class that doesnt exist or something similiar to that. explanation on microsoft.com its not an oracle specific problem.
0
8989
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
9537
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9367
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...
0
9243
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
4599
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4869
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3309
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
2
2780
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2213
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.