×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    124

    Is there anybody who know exactly what's the problem!!!!

    i wrote a program like minimal dialog!
    look at my mmp file:
    // George1.mmp
    //

    TARGET George1.app
    TARGETTYPE app
    UID 0x100039ce 87645329
    TARGETPATH \system\apps\George1
    SOURCEPATH ..\gui
    SOURCE George1.cpp
    RESOURCE George1.rss
    USERINCLUDE ..\inc
    SYSTEMINCLUDE \epoc32\include
    LIBRARY George1eng.lib
    LIBRARY euser.lib
    LIBRARY gdi.lib
    LIBRARY apparc.lib
    LIBRARY cone.lib
    LIBRARY eikcore.lib

    LIBRARY eikdlg.lib
    LIBRARY eikcoctl.lib


    and i have external errors:
    Doing first-stage link by name
    link.exe @C:\DOCUME~1\Jock\LOCALS~1\Temp\nma01864.
    Creating library \Symbian\6.0\NokiaCPP\EPOC32\BUILD\SYMBIAN\6.0\NOKIACPP\EPOC32EX\GEORGE1\GUI\GEORGE1\WINS\UDEB\GEORGE1.lib and object \Symbian\6.0\NokiaCPP\EPOC32\BUILD\SYMBIAN\6.0\NOKIACPP\EPOC32EX\GEORGE1\GUI\GEORGE1\WINS\UDEB\GEORGE1.exp
    GEORGE1.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEikDialog::PrepareContext(class CWindowGc &)const " (?PrepareContext@CEikDialog@@MBEXAAVCWindowGc@@@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CEikDialog::GetCustomAutoValue(void *,int,class CCoeControl const *)" (?GetCustomAutoValue@CEikDialog@@UAEXPAXHPBVCCoeControl@@@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "public: virtual struct SEikControlInfo __thiscall CEikDialog::CreateCustomControlL(int)" (?CreateCustomControlL@CEikDialog@@UAE?AUSEikControlInfo@@H@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEikDialog::LineChangedL(int)" (?LineChangedL@CEikDialog@@MAEXH@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEikDialog::PageChangedL(int)" (?PageChangedL@CEikDialog@@MAEXH@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEikDialog::PrepareForFocusTransitionL(void)" (?PrepareForFocusTransitionL@CEikDialog@@MAEXXZ)
    GEORGE1.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEikDialog::HandleControlEventL(class CCoeControl *,enum MCoeControlObserver::TCoeEvent)" (?HandleControlEventL@CEikDialog@@MAEXPAVCCoeControl@@W4TCoeEvent@M
    CoeControlObserver@@@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "private: virtual void __thiscall CEikDialog::Reserved_4(void)" (?Reserved_4@CEikDialog@@EAEXXZ)
    GEORGE1.obj : error LNK2001: unresolved external symbol "private: virtual void __thiscall CEikDialog::Reserved_3(void)" (?Reserved_3@CEikDialog@@EAEXXZ)
    GEORGE1.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEikDialog::SetSizeAndPosition(class TSize const &)" (?SetSizeAndPosition@CEikDialog@@MAEXABVTSize@@@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEikDialog::HandleInteractionRefused(int)" (?HandleInteractionRefused@CEikDialog@@MAEXH@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEikDialog::HandleControlStateChangeL(int)" (?HandleControlStateChangeL@CEikDialog@@MAEXH@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEikDialog::SetInitialCurrentLine(void)" (?SetInitialCurrentLine@CEikDialog@@MAEXXZ)
    GEORGE1.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEikDialog::PostLayoutDynInitL(void)" (?PostLayoutDynInitL@CEikDialog@@MAEXXZ)
    GEORGE1.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEikDialog::PreLayoutDynInitL(void)" (?PreLayoutDynInitL@CEikDialog@@MAEXXZ)
    GEORGE1.obj : error LNK2001: unresolved external symbol "protected: virtual int __thiscall CEikDialog::OkToExitL(int)" (?OkToExitL@CEikDialog@@MAEHH@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CEikDialog::ExecuteLD(int)" (?ExecuteLD@CEikDialog@@UAEHH@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "private: virtual void __thiscall CEikDialog::Reserved_2(void)" (?Reserved_2@CEikDialog@@EAEXXZ)
    GEORGE1.obj : error LNK2001: unresolved external symbol "private: virtual void __thiscall CEikDialog::Reserved_1(void)" (?Reserved_1@CEikDialog@@EAEXXZ)
    GEORGE1.obj : error LNK2001: unresolved external symbol "private: virtual void __thiscall CEikDialog::Draw(class TRect const &)const " (?Draw@CEikDialog@@EBEXABVTRect@@@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "private: virtual class CCoeControl * __thiscall CEikDialog::ComponentControl(int)const " (?ComponentControl@CEikDialog@@EBEPAVCCoeControl@@H@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "private: virtual int __thiscall CEikDialog::CountComponentControls(void)const " (?CountComponentControls@CEikDialog@@EBEHXZ)
    GEORGE1.obj : error LNK2001: unresolved external symbol "private: virtual void __thiscall CEikDialog::SizeChanged(void)" (?SizeChanged@CEikDialog@@EAEXXZ)
    GEORGE1.obj : error LNK2001: unresolved external symbol "private: virtual void __thiscall CEikDialog::FocusChanged(enum TDrawNow)" (?FocusChanged@CEikDialog@@EAEXW4TDrawNow@@@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "public: virtual class TCoeInputCapabilities __thiscall CEikDialog::InputCapabilities(void)const " (?InputCapabilities@CEikDialog@@UBE?AVTCoeInputCapabilities@@XZ)
    GEORGE1.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CEikDialog::GetColorUseListL(class CArrayFix<class TCoeColorUse> &)const " (?GetColorUseListL@CEikDialog@@UBEXAAV?$CArrayFix@VTCoeColorUse@@@@@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CEikDialog::HandleResourceChange(int)" (?HandleResourceChange@CEikDialog@@UAEXH@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "private: virtual class TSize __thiscall CEikDialog::MinimumSize(void)" (?MinimumSize@CEikDialog@@EAE?AVTSize@@XZ)
    GEORGE1.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall CEikBorderedControl::HasBorder(void)const " (?HasBorder@CEikBorderedControl@@UBEHXZ)
    GEORGE1.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CEikBorderedControl::SetAdjacent(int)" (?SetAdjacent@CEikBorderedControl@@UAEXH@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CEikDialog::ActivateL(void)" (?ActivateL@CEikDialog@@UAEXXZ)
    GEORGE1.obj : error LNK2001: unresolved external symbol "private: virtual void __thiscall CEikDialog::ConstructFromResourceL(class TResourceReader &)" (?ConstructFromResourceL@CEikDialog@@EAEXAAVTResourceReader@@@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "public: virtual enum TKeyResponse __thiscall CEikDialog::OfferKeyEventL(struct TKeyEvent const &,enum TEventCode)" (?OfferKeyEventL@CEikDialog@@UAE?AW4TKeyResponse@@ABUTKeyEvent@@W4TEventCode@
    @@Z)
    GEORGE1.obj : error LNK2001: unresolved external symbol "public: __thiscall CEikDialog::CEikDialog(void)" (??0CEikDialog@@QAE@XZ)
    GEORGE1.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall CEikDialog::~CEikDialog(void)" (??1CEikDialog@@UAE@XZ)
    \Symbian\6.0\NokiaCPP\EPOC32\BUILD\SYMBIAN\6.0\NOKIACPP\EPOC32EX\GEORGE1\GUI\GEORGE1\WINS\UDEB\GEORGE1.APP : fatal error LNK1120: 35 unresolved externals
    NMAKE : fatal error U1077: 'link.exe' : return code '0x460'
    Stop.
    if exist "\Symbian\6.0\NokiaCPP\EPOC32\BUILD\SYMBIAN\6.0\NOKIACPP\EPOC32EX\GEORGE1\GUI\GEORGE1\WINS\UDEB\GEORGE1.exp" del "\Symbian\6.0\NokiaCPP\EPOC32\BUILD\SYMBIAN\6.0\NOKIACPP\EPOC32EX\GEORGE1\GUI\GEORGE1\WINS\UDEB\GEORGE1.exp"
    Stopped the build by removing the export object,
    if present, because the pre-link stage failed
    Linking...
    LINK : fatal error LNK1104: cannot open file "\Symbian\6.0\NokiaCPP\EPOC32\BUILD\SYMBIAN\6.0\NOKIACPP\EPOC32EX\GEORGE1\GUI\GEORGE1\WINS\UDEB\GEORGE1.exp"
    Error executing link.exe.

    GEORGE1.APP - 38 error(s), 0 warning(s)

    Can u help me??
    txs!

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    35
    Unresolved links typically mean you have not specified a required library in your .mmp. The SDK docs are not clear on what library CEikDialog is in, however I have avkon.lib in my .mmp file, so you could try this.

    See

    http://msdn.microsoft.com/library/de...ml/lnk2001.asp

    Andy.

Posting Permissions

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