By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,958 Members | 1,179 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,958 IT Pros & Developers. It's quick & easy.

LNK2001 : Unresolved external symbol

P: 5
Im new here and im not sure whether is this the right place for me to post my question..anyway..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(struct CS2AP_RDS_S *,struct CS2AP_REC_S *)" (?CS2_RECEIVE@@YAHPAUCS2AP_RDS_S@@PAUCS2AP_REC_S@@ @Z)
sendrcv.obj : error LNK2001: unresolved external symbol "int __cdecl CS2_SEND(struct CS2AP_RDS_S *,struct CS2AP_SND_S *)" (?CS2_SEND@@YAHPAUCS2AP_RDS_S@@PAUCS2AP_SND_S@@@Z)
sendrcv.obj : error LNK2001: unresolved external symbol "int __cdecl CS2_INITIALIZE_RES(struct CS2AP_RDS_S *)" (?CS2_INITIALIZE_RES@@YAHPAUCS2AP_RDS_S@@@Z)
sendrcv.obj : error LNK2001: unresolved external symbol "int __cdecl CS2_INIT(struct CS2AP_RDS_S *)" (?CS2_INIT@@YAHPAUCS2AP_RDS_S@@@Z)
sendrcv.obj : error LNK2001: unresolved external symbol "int __cdecl CS2_ENCODE(struct CS2_TMP_OPT_S *,char *,char *,unsigned long)" (?CS2_ENCODE@@YAHPAUCS2_TMP_OPT_S@@PAD1K@Z)
sendrcv.obj : error LNK2001: unresolved external symbol "int __cdecl CS2_GET_TBUF_SIZE(struct CS2_TMP_OPT_S *,unsigned short,char *,char *)" (?CS2_GET_TBUF_SIZE@@YAHPAUCS2_TMP_OPT_S@@GPAD1@Z)
sendrcv.obj : error LNK2001: unresolved external symbol "int __cdecl CS2_PURGE_RES(struct CS2AP_RDS_S *)" (?CS2_PURGE_RES@@YAHPAUCS2AP_RDS_S@@@Z)
sendrcv.obj : error LNK2001: unresolved external symbol "int __cdecl CS2_STOP_RES(struct CS2AP_RDS_S *)" (?CS2_STOP_RES@@YAHPAUCS2AP_RDS_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
Share this question for a faster answer!
Share on Google+

Post your reply

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