×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Dec 2006
    Posts
    26

    External Linking Error (Undefined Symbol)

    Hi All,
    I'm Using
    CArbide Express C++ IDE
    SDK S60_2nd_FP3 as default device

    my .mmp file is as bellow (only libraries)
    Code:
    LIBRARY euser.lib apparc.lib cone.lib eikcore.lib  
    LIBRARY eikcoctl.lib avkon.lib bafl.lib estor.lib PbkView.lib
    
    AIF MINCO1.aif ..\aif MINCO1aif.rss c8 context_pane_icon.bmp context_pane_icon_mask.bmp list_icon.bmp list_icon_mask.bmp
    but while I build or clean I'm getting these errors
    Console Dump
    Code:
    ./src/MINCO1ConfListItemList.o ./src/MINCO1ConfListSettings.o ./src/MINCO1ContainerBroadcast.o ./src/MINCO1ContainerConf.o ./src/MINCO1ContainerConfSchedule.o ./src/MINCO1ContainerContacts.o ./src/MINCO1ContainerMail.o ./src/MINCO1ContainerMailSettings.o ./src/MINCO1ContainerSettings.o ./src/MINCO1ContainerSync.o ./src/MINCO1Document.o ./src/MINCO1MailListItemList.o ./src/MINCO1MailListSettings.o ./src/MINCO1SettingListItemList.o ./src/MINCO1SettingsListSettings.o ./src/MINCO1ViewBroadcast.o ./src/MINCO1ViewConf.o ./src/MINCO1ViewConfSchedule.o ./src/MINCO1ViewContacts.o ./src/MINCO1ViewMail.o ./src/MINCO1ViewMailSettings.o ./src/MINCO1ViewSettings.o ./src/MINCO1ViewSync.o ./src/MINCOContactDbManager.o ./src/MINCOContactListArray.o ./src/MINCOContactRecord.o ./src/MINCOContainerMain.o ./src/MINCOSyncManager.o ./src/MINCOViewMain.o ./.generated/winscw_uid.o 
    
    Errors caused tool to abort.
    mwldsym2.exe|Linker|Error
    >Undefined symbol: 'CDesC16ArrayFlat::CDesC16ArrayFlat(int) (??0CDesC16ArrayFlat@@QAE@H@Z)'
    >referenced from 'void CMINCO1ContainerContacts::ConstructL(class TRect const &, class CMINCO1Document *) (?ConstructL@CMINCO1ContainerContacts@@QAEXABVTRect@@PAVCMINCO1Document@@@Z)' in MINCO1ContainerContacts.cpp:69
    mwldsym2.exe|Linker|Error
    >Undefined symbol: 'void CDesC16Array::AppendL(class TDesC16 const &) (?AppendL@CDesC16Array@@QAEXABVTDesC16@@@Z)'
    >referenced from 'void CMINCO1ContainerContacts::ConstructL(class TRect const &, class CMINCO1Document *) (?ConstructL@CMINCO1ContainerContacts@@QAEXABVTRect@@PAVCMINCO1Document@@@Z)' in MINCO1ContainerContacts.cpp:80
    mwldsym2.exe|Linker|Error
    >Undefined symbol: 'class CTextListBoxModel * CEikColumnListBox::Model(void) const (?Model@CEikColumnListBox@@QBEPAVCTextListBoxModel@@XZ)'
    >referenced from 'void CMINCO1ContainerContacts::ConstructL(class TRect const &, class CMINCO1Document *) (?ConstructL@CMINCO1ContainerContacts@@QAEXABVTRect@@PAVCMINCO1Document@@@Z)' in MINCO1ContainerContacts.cpp:83
    >referenced from 'void CMINCO1ContainerContacts::ConstructL(class TRect const &, class CMINCO1Document *) (?ConstructL@CMINCO1ContainerContacts@@QAEXABVTRect@@PAVCMINCO1Document@@@Z)' in MINCO1ContainerContacts.cpp:84
    mwldsym2.exe|Linker|Error
    >Undefined symbol: 'void SyncManager::SyncCSV(class MINCOContactDbManager &) (?SyncCSV@SyncManager@@SAXAAVMINCOContactDbManager@@@Z)'
    >referenced from 'void CMINCO1ViewSync::HandleCommandL(int) (?HandleCommandL@CMINCO1ViewSync@@UAEXH@Z)' in MINCO1ViewSync.cpp:72
    mwldsym2.exe|Linker|Error
    >Undefined symbol: 'class CContactDatabase * CContactDatabase::CreateL(class TDesC16 const &, enum CContactDatabase::TThreadAccess) (?CreateL@CContactDatabase@@SAPAV1@ABVTDesC16@@W4TThreadAccess@1@@Z)'
    >referenced from 'MINCOContactDbManager::MINCOContactDbManager(class TBuf<256> &) (??0MINCOContactDbManager@@QAE@AAV?$TBuf@$0BAA@@@@Z)' in MINCOContactDbManager.cpp:17
    mwldsym2.exe|Linker|Error
    >Undefined symbol: 'class CContactDatabase * CContactDatabase::OpenL(class TDesC16 const &, enum CContactDatabase::TThreadAccess) (?OpenL@CContactDatabase@@SAPAV1@ABVTDesC16@@W4TThreadAccess@1@@Z)'
    >referenced from 'MINCOContactDbManager::MINCOContactDbManager(class TBuf<256> &) (??0MINCOContactDbManager@@QAE@AAV?$TBuf@$0BAA@@@@Z)' in MINCOContactDbManager.cpp:22
    mwldsym2.exe|Linker|Error

    Error:
    Severity Description Resource In Folder Location Creation Time Id
    2 Undefined symbol: 'CDesC16ArrayFlat::CDesC16ArrayFlat(int) (??0CDesC16ArrayFlat@@QAE@H@Z)' referenced from 'void CMINCO1ContainerContacts::ConstructL(class TRect const &, class CMINCO1Document *) (?ConstructL@CMINCO1ContainerContacts@@QAEXABVTRect@@PAVCMINCO1Document@@@Z)' in MINCO1ContainerContacts.cpp:69 MINCO1 line 0 January 24, 2007 9:48:08 PM 2125
    2 Undefined symbol: 'class CContactCard * CContactCard::NewLC(void) (?NewLC@CContactCard@@SAPAV1@XZ)' referenced from 'int MINCOContactDbManager::AddContact(class TDesC16 &, class TDesC16 &, int &, class TDesC16 &, class TDesC16 &) (?AddContact@MINCOContactDbManager@@QAEHAAVTDesC16@@0AAH00@Z)' in MINCOContactDbManager.cpp:53 MINCO1 line 0 January 24, 2007 9:48:08 PM 2132
    2 Undefined symbol: 'class CContactDatabase * CContactDatabase::CreateL(class TDesC16 const &, enum CContactDatabase::TThreadAccess) (?CreateL@CContactDatabase@@SAPAV1@ABVTDesC16@@W4TThreadAccess@1@@Z)' referenced from 'MINCOContactDbManager::MINCOContactDbManager(class TBuf<256> &) (??0MINCOContactDbManager@@QAE@AAV?$TBuf@$0BAA@@@@Z)' in MINCOContactDbManager.cpp:17 MINCO1 line 0 January 24, 2007 9:48:08 PM 2129
    2 Undefined symbol: 'class CContactItemField * CContactItemField::NewLC(unsigned int, class TUid) (?NewLC@CContactItemField@@SAPAV1@IVTUid@@@Z)' referenced from 'int MINCOContactDbManager::AddContact(class TDesC16 &, class TDesC16 &, int &, class TDesC16 &, class TDesC16 &) (?AddContact@MINCOContactDbManager@@QAEHAAVTDesC16@@0AAH00@Z)' in MINCOContactDbManager.cpp:55 referenced from 'int MINCOContactDbManager::AddContact(class TDesC16 &, class TDesC16 &, int &, class TDesC16 &, class TDesC16 &) (?AddContact@MINCOContactDbManager@@QAEHAAVTDesC16@@0AAH00@Z)' in MINCOContactDbManager.cpp:64 referenced from 'int MINCOContactDbManager::AddContact(class TDesC16 &, class TDesC16 &, int &, class TDesC16 &, class TDesC16 &) (?AddContact@MINCOContactDbManager@@QAEHAAVTDesC16@@0AAH00@Z)' in MINCOContactDbManager.cpp:71 referenced from 'int MINCOContactDbManager::AddContact(class TDesC16 &, class TDesC16 &, int &, class TDesC16 &, class TDesC16 &) (?AddContact@MINCOContactDbManager@@QAEHAAVTDesC16@@0AAH00@Z)' in MINCOContactDbManager.cpp:78 referenced from 'int MINCOContactDbManager::AddContact(class TDesC16 &, class TDesC16 &, int &, class TDesC16 &, class TDesC16 &) (?AddContact@MINCOContactDbManager@@QAEHAAVTDesC16@@0AAH00@Z)' in MINCOContactDbManager.cpp:85 MINCO1 line 0 January 24, 2007 9:48:08 PM 2133


    they are many more similar errors....
    HElp me with this

  2. #2
    Regular Contributor
    Join Date
    Sep 2006
    Posts
    280

    Re: External Linking Error (Undefined Symbol)

    You also need to include the library cntmodel.lib

  3. #3
    Registered User
    Join Date
    Apr 2008
    Posts
    11

    Re: External Linking Error (Undefined Symbol)

    Thanks you.

Similar Threads

  1. error LNK2019: unresolved external symbol ???
    By wgarnett in forum Symbian
    Replies: 3
    Last Post: 2009-09-28, 06:53
  2. error LNK2001: Please Help
    By sourish_khan in forum Symbian
    Replies: 9
    Last Post: 2006-04-19, 11:16
  3. S80 Platform SDK and Visual Studio .NET Linking Error
    By jayantjain in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2005-10-07, 22:14
  4. how to avoid linking error
    By skdas in forum Symbian
    Replies: 6
    Last Post: 2003-07-07, 07:57
  5. Unresolved external symbols problem
    By georgica1979 in forum Symbian User Interface
    Replies: 1
    Last Post: 2003-04-06, 13:26

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×