#1 Burning Software

It is currently Fri Apr 26, 2024 7:00 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Link Error 4217 & 2019
PostPosted: Fri Mar 18, 2005 4:33 am 
I am trying to link the static libraries into my project and I am getting the following link error and warnings:

starburn.lib(starburn.obj) : warning LNK4217: locally defined symbol _vsprintf imported in function _StarBurn_DebugPrintf
starburn.lib(starburn.obj) : warning LNK4217: locally defined symbol _sprintf imported in function "unsigned long __stdcall StarBurn_StartUpASPI(unsigned long (__cdecl**)(void),unsigned long (__cdecl**)(void *),struct HINSTANCE__ * *)" (?StarBurn_StartUpASPI@@YGKPAP6AKXZPAP6AKPAX@ZPAPAUHINSTANCE__@@@Z)
starburn.lib(starburn.obj) : warning LNK4217: locally defined symbol _strncpy imported in function "unsigned long __stdcall StarBurn_DeviceOpen(char *,void * *)" (?StarBurn_DeviceOpen@@YGKPADPAPAX@Z)
starburn.lib(starburn.obj) : warning LNK4217: locally defined symbol __snprintf imported in function "unsigned long __stdcall StarBurn_DeviceOpen(char *,void * *)" (?StarBurn_DeviceOpen@@YGKPADPAPAX@Z)
starburn.lib(starburn.obj) : warning LNK4217: locally defined symbol _memmove imported in function "void __stdcall StarBurn_DumpScsiPortInquiryData(struct SRB_HAInquiry *)" (?StarBurn_DumpScsiPortInquiryData@@YGXPAUSRB_HAInquiry@@@Z)
starburn.lib(starburn.obj) : warning LNK4217: locally defined symbol __strupr imported in function "private: unsigned long __thiscall CStarBurn_Wrapper::GetMountMgrSymbolicLinkName(char *,char *,unsigned long)" (?GetMountMgrSymbolicLinkName@CStarBurn_Wrapper@@AAEKPAD0K@Z)
starburn.lib(starburn.obj) : warning LNK4217: locally defined symbol _sscanf imported in function "private: unsigned long __thiscall CStarBurn_Wrapper::GetMountMgrSymbolicLinkName(char *,char *,unsigned long)" (?GetMountMgrSymbolicLinkName@CStarBurn_Wrapper@@AAEKPAD0K@Z)
starburn.lib(starburn.obj) : warning LNK4217: locally defined symbol _strstr imported in function "private: unsigned long __thiscall CStarBurn_Wrapper::GetMountMgrSymbolicLinkName(char *,char *,unsigned long)" (?GetMountMgrSymbolicLinkName@CStarBurn_Wrapper@@AAEKPAD0K@Z)
starburn.lib(starburn.obj) : warning LNK4217: locally defined symbol _free imported in function "private: void __thiscall CStarBurn_VCDDATATrack::PatchAdditionalFile(unsigned char *,char *)" (?PatchAdditionalFile@CStarBurn_VCDDATATrack@@AAEXPAEPAD@Z)
starburn.lib(starburn.obj) : warning LNK4217: locally defined symbol _calloc imported in function "private: void __thiscall CStarBurn_VCDDATATrack::PatchAdditionalFile(unsigned char *,char *)" (?PatchAdditionalFile@CStarBurn_VCDDATATrack@@AAEXPAEPAD@Z)
starburn.lib(starburn.obj) : warning LNK4217: locally defined symbol _wcscpy imported in function "public: void __thiscall CStarBurn_CdvdBurnerGrabber::ImportDirectory(class CStarBurn_ISO9660FileTree *,unsigned char,char *,long,unsigned long,class CStarBurn_FileTreeNode *)" (?ImportDirectory@CStarBurn_CdvdBurnerGrabber@@QAEXPAVCStarBurn_ISO9660FileTree@@EPADJKPAVCStarBurn_FileTreeNode@@@Z)
starburn.lib(starburn.obj) : warning LNK4217: locally defined symbol _wcsncpy imported in function "public: void __thiscall CStarBurn_CdvdBurnerGrabber::ImportDirectory(class CStarBurn_ISO9660FileTree *,unsigned char,char *,long,unsigned long,class CStarBurn_FileTreeNode *)" (?ImportDirectory@CStarBurn_CdvdBurnerGrabber@@QAEXPAVCStarBurn_ISO9660FileTree@@EPADJKPAVCStarBurn_FileTreeNode@@@Z)
starburn.lib(starburn.obj) : warning LNK4217: locally defined symbol __splitpath imported in function _StarBurn_UpStart@0
starburn.lib(starburn.obj) : warning LNK4217: locally defined symbol _toupper imported in function _StarBurn_GetDeviceNameByDeviceAddress@20
starburn.lib(starburn.obj) : warning LNK4217: locally defined symbol _malloc imported in function _UDF_MemoryAllocate@4
starburn.lib(starburn.obj) : warning LNK4217: locally defined symbol _wcscmp imported in function "protected: unsigned long __thiscall CStarBurn_JolietFileTreeNode::CreateJolietList(void)" (?CreateJolietList@CStarBurn_JolietFileTreeNode@@IAEKXZ)
starburn.lib(starburn.obj) : warning LNK4217: locally defined symbol _wcslen imported in function "private: virtual class CStarBurn_FileTreeNode * __thiscall CStarBurn_JolietFileTree::CheckName(class CStarBurn_FileTreeNode *,class CStarBurn_FileTreeNode *)" (?CheckName@CStarBurn_JolietFileTree@@EAEPAVCStarBurn_FileTreeNode@@PAV2@0@Z)
starburn.lib(starburn.obj) : warning LNK4217: locally defined symbol __stricmp imported in function "protected: void __thiscall CStarBurn_UDF_TreeNode::MakeNameUnique(void)" (?MakeNameUnique@CStarBurn_UDF_TreeNode@@IAEXXZ)
starburn.lib(starburn.obj) : error LNK2019: unresolved external symbol _StarWave_CompressedFileReaderObjectBeginSeek@4 referenced in function "public: __thiscall CStarBurn_StarWaveFile::CStarBurn_StarWaveFile(char *)" (??0CStarBurn_StarWaveFile@@QAE@PAD@Z)
starburn.lib(starburn.obj) : error LNK2019: unresolved external symbol _StarWave_CompressedFileReaderObjectDestroy@4 referenced in function "public: __thiscall CStarBurn_StarWaveFile::CStarBurn_StarWaveFile(char *)" (??0CStarBurn_StarWaveFile@@QAE@PAD@Z)
starburn.lib(starburn.obj) : error LNK2019: unresolved external symbol _StarWave_CompressedFileReaderObjectUncompressedSizeGet@8 referenced in function "public: __thiscall CStarBurn_StarWaveFile::CStarBurn_StarWaveFile(char *)" (??0CStarBurn_StarWaveFile@@QAE@PAD@Z)
starburn.lib(starburn.obj) : error LNK2019: unresolved external symbol _StarWave_CompressedFileReaderObjectCreate@8 referenced in function "public: __thiscall CStarBurn_StarWaveFile::CStarBurn_StarWaveFile(char *)" (??0CStarBurn_StarWaveFile@@QAE@PAD@Z)
starburn.lib(starburn.obj) : error LNK2019: unresolved external symbol _StarWave_CompressedFileReaderObjectRead@12 referenced in function "private: virtual void __thiscall CStarBurn_StarWaveFile::RealRead(union _LARGE_INTEGER,unsigned char *)" (?RealRead@CStarBurn_StarWaveFile@@EAEXT_LARGE_INTEGER@@PAE@Z)
starburn.lib(starburn.obj) : error LNK2019: unresolved external symbol _StarLink_CheckFix@8 referenced in function "public: unsigned char __thiscall CStarBurn_EDCECC::CheckLB(unsigned char *,unsigned char)" (?CheckLB@CStarBurn_EDCECC@@QAEEPAEE@Z)
starburn.lib(starburn.obj) : error LNK2019: unresolved external symbol _StarCode_Scramble@4 referenced in function "private: void __thiscall CStarBurn_ISO9660FileTreeLeadInRawPQ::FormatLeadIn(void)" (?FormatLeadIn@CStarBurn_ISO9660FileTreeLeadInRawPQ@@AAEXXZ)
starburn.lib(starburn.obj) : error LNK2019: unresolved external symbol _StarCode_Encode@12 referenced in function "private: void __thiscall CStarBurn_ISO9660FileTreeLeadInRawPQ::FormatLeadIn(void)" (?FormatLeadIn@CStarBurn_ISO9660FileTreeLeadInRawPQ@@AAEXXZ)
starburn.lib(starburn.obj) : error LNK2019: unresolved external symbol __imp__asctime referenced in function "private: void __thiscall CStarBurn_CdvdBurnerGrabber::SendDvdStructuresTimeStampNow(void)" (?SendDvdStructuresTimeStampNow@CStarBurn_CdvdBurnerGrabber@@AAEXXZ)
starburn.lib(starburn.obj) : error LNK2019: unresolved external symbol _StarWave_CompressedFileSupportedIs@4 referenced in function _StarBurn_IsAudioFileSupported@4
starburn.lib(starburn.obj) : error LNK2019: unresolved external symbol _StarWave_UncompressedFileSupportedIs@4 referenced in function _StarBurn_IsAudioFileSupported@4
starburn.lib(starburn.obj) : error LNK2019: unresolved external symbol _StarWave_UpStart@0 referenced in function _StarBurn_UpStart@0
starburn.lib(starburn.obj) : error LNK2019: unresolved external symbol _StarWave_DownShut@0 referenced in function _StarBurn_DownShut@0
starburn.lib(starburn.obj) : error LNK2019: unresolved external symbol __imp__localtime referenced in function _UDF_FormatTimestampAsCurrentLocalTime@4
starburn.lib(starburn.obj) : error LNK2019: unresolved external symbol __imp__time referenced in function _UDF_FormatTimestampAsCurrentLocalTime@4
starburn.lib(starburn.obj) : error LNK2019: unresolved external symbol __imp__rand referenced in function _UDF_FormatISO9660FileSystemPacket@20
starburn.lib(starburn.obj) : error LNK2019: unresolved external symbol __imp__srand referenced in function _UDF_FormatISO9660FileSystemPacket@20

Any Ideas?


Top
  
 
 Post subject:
PostPosted: Fri Mar 18, 2005 11:46 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
You seems to be linking your app itself with STATIC RTL and you should be doing it with DYNAMIC RTL. Yes, to have StarBurn SDK stalically linked to your app you need your app itself to use dynamic RTL. Weird but true :)

I'd also recommend you to start from the tiny (just one dialog, no controls) project and try to link StarBurn with it. At this stage we would be able to help you (of course if you do not want us to see your final app source code).

Let me know if these advices helped.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 18, 2005 6:56 pm 
This makes no sense. I have statically linked my project because I don't want to worry about shipping the proper dlls. You are saying that I either need to ship your dlls or Microsoft's.

I don't want to ship any!

anton (staff) wrote:
You seems to be linking your app itself with STATIC RTL and you should be doing it with DYNAMIC RTL. Yes, to have StarBurn SDK stalically linked to your app you need your app itself to use dynamic RTL. Weird but true :)


Top
  
 
 Post subject:
PostPosted: Fri Mar 18, 2005 7:02 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Modern OSes do have MS VC 7.0 or 7.1 RTL already. You can statically link link StarBurn.lib to your app and rely in MS RTL (default OS one).

richs wrote:
This makes no sense. I have statically linked my project because I don't want to worry about shipping the proper dlls. You are saying that I either need to ship your dlls or Microsoft's.

I don't want to ship any!

anton (staff) wrote:
You seems to be linking your app itself with STATIC RTL and you should be doing it with DYNAMIC RTL. Yes, to have StarBurn SDK stalically linked to your app you need your app itself to use dynamic RTL. Weird but true :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 23 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group