×

Discussion Board

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

    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
    Registered User
    Join Date
    Jul 2005
    Location
    Bengaluru, India
    Posts
    747

    Re: Linking Error(Undefined Symbol)

    I think you've to add these lib files: eikctl.lib, cntmodel.lib

  3. #3
    Regular Contributor
    Join Date
    Jan 2007
    Posts
    69

    Re: Linking Error(Undefined Symbol)

    Add all the missing libraries in the
    Project->Properties->c/C++Linker->libraries

  4. #4
    Regular Contributor
    Join Date
    Nov 2005
    Location
    Aalborg, Denmark
    Posts
    296

    Re: Linking Error(Undefined Symbol)

    And probably also bafl.lib for the CDesCArray

  5. #5
    Registered User
    Join Date
    Sep 2007
    Posts
    8

    Question Re: Linking Error(Undefined Symbol)

    Hi
    I'm newbie in symbian programming, I've downloaded the latest Audio Proxy Server (Full Duplex) v2.43 example for S60 3rd Edition FP1 SDK.
    I want to just run this example once on emulator or a device by my own

    but when i tried to build this project there are so many errors which i'd successfully solved but for following errors I'm confused
    what to do which lib files do i need to include & how? Please help me its for my academic project...


    here is a dump of those 20 errors


    Severity and Description Path Resource Location Creation Time Id

    1) Undefined symbol: 'class TVersion RAPSSession::Version(void) const (?Version@RAPSSession@@QBE?AVTVersion@@XZ)' streamer Unknown 1205961651531 97

    2) Undefined symbol: 'int RAPSSession::Connect(void) (?Connect@RAPSSession@@QAEHXZ)' streamer Unknown 1205961651531 96

    3) Undefined symbol: 'int RAPSSession::Gain(void) (?Gain@RAPSSession@@QAEHXZ)' streamer Unknown 1205961651531 106

    4) Undefined symbol: 'int RAPSSession::GetVadMode(int &) (?GetVadMode@RAPSSession@@QAEHAAH@Z)' streamer Unknown 1205961651531 99

    5) Undefined symbol: 'int RAPSSession::InitializePlayer(class TAPSInitSettings &) (?InitializePlayer@RAPSSession@@QAEHAAVTAPSInitSettings@@@Z)' streamer Unknown 1205961651531 110

    6) Undefined symbol: 'int RAPSSession::InitializeRecorder(class TAPSInitSettings &) (?InitializeRecorder@RAPSSession@@QAEHAAVTAPSInitSettings@@@Z)' streamer Unknown 1205961651531 111

    7) Undefined symbol: 'int RAPSSession::MaxGain(void) (?MaxGain@RAPSSession@@QAEHXZ)' streamer Unknown 1205961651531 105

    8) Undefined symbol: 'int RAPSSession::MaxVolume(void) (?MaxVolume@RAPSSession@@QAEHXZ)' streamer Unknown 1205961651531 107

    9) Undefined symbol: 'int RAPSSession::Read(void) (?Read@RAPSSession@@QAEHXZ)' streamer Unknown 1205961651531 112

    10) Undefined symbol: 'int RAPSSession::SetCng(int) (?SetCng@RAPSSession@@QAEHH@Z)' streamer Unknown 1205961651531 98

    11) Undefined symbol: 'int RAPSSession::SetDecoderMode(enum TAPSCodecMode) (?SetDecoderMode@RAPSSession@@QAEHW4TAPSCodecMode@@@Z)' streamer Unknown 1205961651531 103

    12) Undefined symbol: 'int RAPSSession::SetEncoderMode(enum TAPSCodecMode) (?SetEncoderMode@RAPSSession@@QAEHW4TAPSCodecMode@@@Z)' streamer Unknown 1205961651531 102

    13) Undefined symbol: 'int RAPSSession::SetGain(int) (?SetGain@RAPSSession@@QAEHH@Z)' streamer Unknown 1205961651531 108

    14) Undefined symbol: 'int RAPSSession::SetPlc(int) (?SetPlc@RAPSSession@@QAEHH@Z)' streamer Unknown 1205961651531 101

    15) Undefined symbol: 'int RAPSSession::SetVadMode(int) (?SetVadMode@RAPSSession@@QAEHH@Z)' streamer Unknown 1205961651531 100

    16) Undefined symbol: 'int RAPSSession::Stop(void) (?Stop@RAPSSession@@QAEHXZ)' streamer Unknown 1205961651531 113

    17) Undefined symbol: 'int RAPSSession::Volume(void) (?Volume@RAPSSession@@QAEHXZ)' streamer Unknown 1205961651531 109

    18) Undefined symbol: 'int RAPSSession::Write(void) (?Write@RAPSSession@@QAEHXZ)' streamer Unknown 1205961651531 114

    19) Undefined symbol: 'void RAPSSession::ActivateLoudspeaker(int) (?ActivateLoudspeaker@RAPSSession@@QAEXH@Z)' streamer Unknown 1205961651531 104

    20) Undefined symbol: 'void RAPSSession::Close(void) (?Close@RAPSSession@@QAEXXZ)' streamer Unknown 1205961651531 95


    plesae help me
    thanx in advance

  6. #6
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,570

    Re: Linking Error(Undefined Symbol)

    API-s from the SDK API Plug-in pack are usually not supported for WINSCW build - as stated in the FAQ. So - besides you want to make sure that you have actually downloaded and deployed the plugin pack - you should rather build for GCCE platform.

  7. #7
    Registered User
    Join Date
    Sep 2007
    Posts
    8

    Question Re: Linking Error(Undefined Symbol)

    Quote Originally Posted by wizard_hu_ View Post
    API-s from the SDK API Plug-in pack are usually not supported for WINSCW build - as stated in the FAQ. So - besides you want to make sure that you have actually downloaded and deployed the plugin pack - you should rather build for GCCE platform.
    first of all thank you for the advice !

    I've tried build for GCCE phone debug but now it shows following error

    *** missing separator. Stop.[\Symbian\9.2\S60_3rd_FP1_3\EPOC32\BUILD\APSEx\group\STREAMER\GCCE\STREAMER.GCCE]

    at line no.94


    I'd gone through that STREAMER.GCCE file but nothing found special to recognize

    can someone help me?
    thank you

  8. #8
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,492

    Re: Linking Error(Undefined Symbol)

    Quote Originally Posted by sskulkarni_pune View Post
    first of all thank you for the advice !

    I've tried build for GCCE phone debug but now it shows following error

    *** missing separator. Stop.[\Symbian\9.2\S60_3rd_FP1_3\EPOC32\BUILD\APSEx\group\STREAMER\GCCE\STREAMER.GCCE]

    at line no.94


    I'd gone through that STREAMER.GCCE file but nothing found special to recognize

    can someone help me?
    thank you
    Whats your OS?? Vista?

  9. #9
    Nokia Developer Moderator
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,492

    Re: Linking Error(Undefined Symbol)

    Have you included the ACL ARM toolchain path in the PATH env. variable ( C:\Program Files\CSL Arm Toolchain\bin) ?

  10. #10
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,570

    Re: Linking Error(Undefined Symbol)

    You can try searching for missing separator. Forget the Search box, and use http://discussion.forum.nokia.com/forum/search.php instead.

  11. #11
    Registered User
    Join Date
    Sep 2007
    Posts
    8

    Question Re: Linking Error(Undefined Symbol)

    Quote Originally Posted by Symbian_Neil View Post
    Have you included the ACL ARM toolchain path in the PATH env. variable ( C:\Program Files\CSL Arm Toolchain\bin) ?
    Thank you for the advice

    I've Windows XP with SP2
    and I've included the CSL ARM toolchain path in PATH env.

Similar Threads

  1. GoogleIt
    By deepika.mangla in forum Symbian
    Replies: 5
    Last Post: 2011-05-28, 11:04
  2. Fail to build syexpat 1.3 under 2nd FP3
    By harry_zhang in forum Symbian
    Replies: 10
    Last Post: 2010-03-19, 10:24
  3. error LNK2001: Please Help
    By sourish_khan in forum Symbian
    Replies: 9
    Last Post: 2006-04-19, 11:16
  4. 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
  5. how to avoid linking error
    By skdas in forum Symbian
    Replies: 6
    Last Post: 2003-07-07, 07:57

Posting Permissions

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