BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 07-04-2009, 01:07 PM   #1
robertmills
New Member
 
Join Date: Jul 2009
Model: 9530
PIN: N/A
Carrier: Verizon
Posts: 1
Question Error Compiling Desktop USBSample

Please Login to Remove!

Hi, I am trying to play around with the USBSample that is provided when you download the JDE. I see that the initial project was built for VC++ 6. Upon opening in VS 2008 and trying to compile (after it does project conversion) I get a plethora of link errors. Any ideas what I need to do to get this project to compile correctly? Thanks in advance!

Code:
USBClient.obj : error LNK2019: unresolved external symbol ___security_cookie referenced in function _main
sha.lib(Sha.obj) : error LNK2001: unresolved external symbol ___security_cookie
comsuppwd.lib(comutil.obj) : error LNK2001: unresolved external symbol ___security_cookie
comsuppwd.lib(invkprxy.obj) : error LNK2001: unresolved external symbol ___security_cookie
USBClient.obj : error LNK2019: unresolved external symbol ___CxxFrameHandler3 referenced in function __ehhandler$_main
comsuppwd.lib(comutil.obj) : error LNK2001: unresolved external symbol ___CxxFrameHandler3
USBClient.obj : error LNK2019: unresolved external symbol @__security_check_cookie@4 referenced in function __ehhandler$_main
sha.lib(Sha.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
comsuppwd.lib(comutil.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
comsuppwd.lib(invkprxy.obj) : error LNK2001: unresolved external symbol @__security_check_cookie@4
comsuppwd.lib(comraise.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
comsuppwd.lib(invkprxy.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
comsuppwd.lib(invkerr.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
USBClient.obj : error LNK2019: unresolved external symbol __RTC_CheckEsp referenced in function _main
sha.lib(Sha.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
comsuppwd.lib(comutil.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
comsuppwd.lib(comsupp.obj) : error LNK2001: unresolved external symbol __RTC_CheckEsp
comsuppwd.lib(invkerr.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
USBClient.obj : error LNK2019: unresolved external symbol @_RTC_CheckStackVars@8 referenced in function _main
sha.lib(Sha.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
comsuppwd.lib(comsupp.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
comsuppwd.lib(invkprxy.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars@8
comsuppwd.lib(comraise.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
comsuppwd.lib(invkprxy.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
comsuppwd.lib(invkerr.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
USBClient.obj : error LNK2001: unresolved external symbol __RTC_Shutdown
sha.lib(Sha.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
comsuppwd.lib(comutil.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
comsuppwd.lib(comsupp.obj) : error LNK2001: unresolved external symbol __RTC_Shutdown
comsuppwd.lib(comraise.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
comsuppwd.lib(invkprxy.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
comsuppwd.lib(invkerr.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
USBClient.obj : error LNK2001: unresolved external symbol __RTC_InitBase
sha.lib(Sha.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
comsuppwd.lib(comutil.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
comsuppwd.lib(comsupp.obj) : error LNK2001: unresolved external symbol __RTC_InitBase
USBClient.obj : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@)
comsuppwd.lib(comraise.obj) : error LNK2001: unresolved external symbol "const type_info::`vftable'" (??_7type_info@@6B@)
USBClient.obj : error LNK2019: unresolved external symbol _strncmp referenced in function "public: int __thiscall USBClient::run(void)" (?run@USBClient@@QAEHXZ)
USBClient.obj : error LNK2019: unresolved external symbol _strcpy referenced in function "public: int __thiscall USBClient::run(void)" (?run@USBClient@@QAEHXZ)
USBClient.obj : error LNK2019: unresolved external symbol _strcmp referenced in function "public: int __thiscall USBClient::run(void)" (?run@USBClient@@QAEHXZ)
USBClient.obj : error LNK2019: unresolved external symbol _printf referenced in function "public: int __thiscall USBClient::run(void)" (?run@USBClient@@QAEHXZ)
USBClient.obj : error LNK2019: unresolved external symbol _memset referenced in function "public: int __thiscall USBClient::run(void)" (?run@USBClient@@QAEHXZ)
sha.lib(Sha.obj) : error LNK2001: unresolved external symbol _memset
comsuppwd.lib(invkprxy.obj) : error LNK2001: unresolved external symbol _memset
USBClient.obj : error LNK2019: unresolved external symbol "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) referenced in function __unwindfunclet$??4_bstr_t@@QAEAAV0@PB_W@Z$0
comsuppwd.lib(comutil.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)
comsuppwd.lib(comraise.obj) : error LNK2001: unresolved external symbol "void __cdecl operator delete(void *)" (??3@YAXPAX@Z)
USBClient.obj : error LNK2019: unresolved external symbol __wassert referenced in function "public: class _bstr_t & __thiscall _bstr_t::operator=(wchar_t const *)" (??4_bstr_t@@QAEAAV0@PB_W@Z)
USBClient.obj : error LNK2019: unresolved external symbol "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) referenced in function "public: static void * __cdecl _bstr_t::Data_t::operator new(unsigned int)" (??2Data_t@_bstr_t@@SAPAXI@Z)
comsuppwd.lib(comutil.obj) : error LNK2001: unresolved external symbol "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z)
USBClient.obj : error LNK2019: unresolved external symbol _memcpy_s referenced in function "public: __thiscall _variant_t::_variant_t(struct tagVARIANT &,bool)" (??0_variant_t@@QAE@AAUtagVARIANT@@_N@Z)
USBClient.obj : error LNK2019: unresolved external symbol _strlen referenced in function "private: bool __thiscall USBClient::Send(char *)" (?Send@USBClient@@AAE_NPAD@Z)
USBClient.obj : error LNK2019: unresolved external symbol _sprintf_s referenced in function "public: char const * __thiscall _com_error::ErrorMessage(void)const " (?ErrorMessage@_com_error@@QBEPBDXZ)
USBClient.obj : error LNK2019: unresolved external symbol _memcmp referenced in function _IsEqualGUID
USBClient.obj : error LNK2019: unresolved external symbol _putch referenced in function "public: virtual long __stdcall USBClient::raw_OnChallenge(long,unsigned char * const)" (?raw_OnChallenge@USBClient@@UAGJJQAE@Z)
OLDNAMES.lib(putch.obj) : error LNK2001: unresolved external symbol _putch
USBClient.obj : error LNK2019: unresolved external symbol _getch referenced in function "public: virtual long __stdcall USBClient::raw_OnChallenge(long,unsigned char * const)" (?raw_OnChallenge@USBClient@@UAGJJQAE@Z)
OLDNAMES.lib(getch.obj) : error LNK2001: unresolved external symbol _getch
USBClient.obj : error LNK2001: unresolved external symbol __purecall
LINK : error LNK2001: unresolved external symbol _mainCRTStartup
sha.lib(Sha.obj) : error LNK2019: unresolved external symbol _memcpy referenced in function _sha_hash
OLDNAMES.lib(putch.obj) : error LNK2001: unresolved external symbol __putch
OLDNAMES.lib(getch.obj) : error LNK2001: unresolved external symbol __getch
comsuppwd.lib(comutil.obj) : error LNK2019: unresolved external symbol _free referenced in function "wchar_t * __stdcall _com_util::ConvertStringToBSTR(char const *)" (?ConvertStringToBSTR@_com_util@@YGPA_WPBD@Z)
comsuppwd.lib(comutil.obj) : error LNK2019: unresolved external symbol _malloc referenced in function "wchar_t * __stdcall _com_util::ConvertStringToBSTR(char const *)" (?ConvertStringToBSTR@_com_util@@YGPA_WPBD@Z)
comsuppwd.lib(comutil.obj) : error LNK2019: unresolved external symbol @_RTC_CheckStackVars2@12 referenced in function "wchar_t * __stdcall _com_util::ConvertStringToBSTR(char const *)" (?ConvertStringToBSTR@_com_util@@YGPA_WPBD@Z)
comsuppwd.lib(invkprxy.obj) : error LNK2001: unresolved external symbol @_RTC_CheckStackVars2@12
comsuppwd.lib(comutil.obj) : error LNK2019: unresolved external symbol __except_handler4 referenced in function "wchar_t * __stdcall _com_util::ConvertStringToBSTR(char const *)" (?ConvertStringToBSTR@_com_util@@YGPA_WPBD@Z)
comsuppwd.lib(invkprxy.obj) : error LNK2001: unresolved external symbol __except_handler4
comsuppwd.lib(comutil.obj) : error LNK2019: unresolved external symbol __alloca_probe_16 referenced in function "wchar_t * __stdcall _com_util::ConvertStringToBSTR(char const *)" (?ConvertStringToBSTR@_com_util@@YGPA_WPBD@Z)
comsuppwd.lib(invkprxy.obj) : error LNK2001: unresolved external symbol __alloca_probe_16
comsuppwd.lib(comutil.obj) : error LNK2019: unresolved external symbol @_RTC_AllocaHelper@12 referenced in function "wchar_t * __stdcall _com_util::ConvertStringToBSTR(char const *)" (?ConvertStringToBSTR@_com_util@@YGPA_WPBD@Z)
comsuppwd.lib(invkprxy.obj) : error LNK2001: unresolved external symbol @_RTC_AllocaHelper@12
comsuppwd.lib(comutil.obj) : error LNK2019: unresolved external symbol _atexit referenced in function "void __cdecl `dynamic initializer for 'vtMissing''(void)" (??__EvtMissing@@YAXXZ)
comsuppwd.lib(comraise.obj) : error LNK2019: unresolved external symbol __CxxThrowException@8 referenced in function "void __stdcall _com_raise_error(long,struct IErrorInfo *)" (?_com_raise_error@@YGXJPAUIErrorInfo@@@Z)
comsuppwd.lib(invkprxy.obj) : error LNK2001: unresolved external symbol __fltused
.\Debug/USBClient.exe : fatal error LNK1120: 36 unresolved externals
Offline  
Old 10-26-2009, 03:42 PM   #2
gerdijo
New Member
 
Join Date: Oct 2009
Model: 8800
PIN: N/A
Carrier: Verizon
Posts: 1
Default

I am having the same issue. I was just curious if you were ever able to find a solution to this problem.
Offline  
Old 02-15-2010, 03:35 PM   #3
gerryscat
New Member
 
Join Date: Feb 2010
Model: Storm
PIN: N/A
Carrier: rogers
Posts: 1
Default

me too, same problem
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Beautiful Leather Journal - Vintage Brown picture

Beautiful Leather Journal - Vintage Brown

$10.20



NOS Vintage ROLODEX Electronic POCKET Directory NAMES Numbers COVER Sealed 1993 picture

NOS Vintage ROLODEX Electronic POCKET Directory NAMES Numbers COVER Sealed 1993

$9.77



Vintage 1/4-20 Threaded 3/8 #50 Hexagon Head Screw Type Drill Bushing Lot of 5 picture

Vintage 1/4-20 Threaded 3/8 #50 Hexagon Head Screw Type Drill Bushing Lot of 5

$11.00



Vintage Starrett Depth Micrometer 440 Set in Original Box picture

Vintage Starrett Depth Micrometer 440 Set in Original Box

$45.00



Flat File Vintage Large Brown Wooden Drafting Cabinet picture

Flat File Vintage Large Brown Wooden Drafting Cabinet

$250.00



Vintage Journal 220 Antique Paper 7 X 5 inches Leather Bound Handmade Diary picture

Vintage Journal 220 Antique Paper 7 X 5 inches Leather Bound Handmade Diary

$19.79







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.