×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jul 2006
    Location
    Bangalore
    Posts
    13

    Linking error : when compiling for "winscw udeb"

    I am trying to compile a example from from code warrior 3.1.1 for winscw udeb. can anybody tell me which LIB I need to provide in mmp

    wldsym2.exe: Undefined symbol: 'TApaApplicationFactory::TApaApplicationFactory(class CApaApplication * (*)(void)) (??0TApaApp
    icationFactory@@QAE@P6APAVCApaApplication@@XZ@Z)'
    wldsym2.exe: referenced from 'int E32Main(void) (?E32Main@@YAHXZ)' in FocusEvent.cpp:41
    wldsym2.exe: Undefined symbol: 'void CApaApplication::CApaApplication_Reserved2(void) (?CApaApplication_Reserved2@CApaApplica
    ion@@MAEXXZ)'
    wldsym2.exe: referenced from 'const CAknApplication::`vftable' (??_7CAknApplication@@6B@~)' in FocusEvent.o
    wldsym2.exe: referenced from 'const CFocusEventApplication::`vftable' (??_7CFocusEventApplication@@6B@~)' in FocusEvent.o
    wldsym2.exe: Undefined symbol: 'void CApaApplication::CApaApplication_Reserved1(void) (?CApaApplication_Reserved1@CApaApplica
    ion@@MAEXXZ)'
    wldsym2.exe: referenced from 'const CAknApplication::`vftable' (??_7CAknApplication@@6B@~)' in FocusEvent.o
    wldsym2.exe: referenced from 'const CFocusEventApplication::`vftable' (??_7CFocusEventApplication@@6B@~)' in FocusEvent.o
    wldsym2.exe: Undefined symbol: 'class TBuf<256> CApaApplication::AppFullName(void) const (?AppFullName@CApaApplication@@UBE?A
    ?$TBuf@$0BAA@@@XZ)'
    wldsym2.exe: referenced from 'const CAknApplication::`vftable' (??_7CAknApplication@@6B@~)' in FocusEvent.o
    wldsym2.exe: referenced from 'const CFocusEventApplication::`vftable' (??_7CFocusEventApplication@@6B@~)' in FocusEvent.o

    rrors caused tool to abort.
    ake[1]: *** [\Symbian\9.2\S60_3rd_FP1\EPOC32\RELEASE\WINSCW\UDEB\FocusEvent.exe] Error 1
    ake: *** [TARGETFOCUSEVENT] Error 2
    ldsym2.exe: Undefined symbol: 'class CApaDocument::TCapability CApaDocument::Capability(void) const (?Capability@CApaDocument
    @UBE?AVTCapability@1@XZ)'
    wldsym2.exe: referenced from 'const CAknDocument::`vftable' (??_7CAknDocument@@6B@~)' in FocusEventDocument.o
    wldsym2.exe: referenced from 'const CFocusEventDocument::`vftable' (??_7CFocusEventDocument@@6B@~)' in FocusEventDocument.o
    wldsym2.exe: Undefined symbol: 'class CPicture * CApaDocument::GlassPictureL(void) (?GlassPictureL@CApaDocument@@UAEPAVCPictu
    e@@XZ)'
    wldsym2.exe: referenced from 'const CAknDocument::`vftable' (??_7CAknDocument@@6B@~)' in FocusEventDocument.o
    wldsym2.exe: referenced from 'const CFocusEventDocument::`vftable' (??_7CFocusEventDocument@@6B@~)' in FocusEventDocument.o
    make -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1\S60Ex\Focusevent\group\WINSCW.make" FINAL CFG=UDE
    VERBOSE=-s
    ake -s -C \Symbian\9.2\S60_3rd_FP1\S60Ex\Focusevent\group -f "ICONS_SCALABLE.MK" TO_ROOT=..\..\..\..\..\.. EPOCBLD=..\..\..\
    .\..\..\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\Symbian\9.2\S60_3rd_FP1\S60Ex\Focusevent\group\ICONS_SCALABLE\WINSCW TO_BLDINF=.
    \..\..\..\..\..\Symbian\9.2\S60_3rd_FP1\S60Ex\Focusevent\group PLATFORM=WINSCW CFG=UDEB FINAL

  2. #2
    Super Contributor
    Join Date
    Oct 2005
    Posts
    739

    Re: Linking error : when compiling for "winscw udeb"

    Hi,

    Are you sure that you have included all the necessary libraries in your mmp file

    like apparc.lib for CApaApplication.

    Include .lib files to the mmp file and reimport the project.

    Hope this will help you out.
    Regards,
    Peter

  3. #3
    Registered User
    Join Date
    Jul 2006
    Location
    Bangalore
    Posts
    13

    Re: Linking error : when compiling for "winscw udeb"

    YES I am sure about that..

    I have installed Series 60 3rd edition FP1 SDK and building an example focus event given in S60Ex folder. I tried it from commond prompt as well as from codewarrior 3.1.1.

    I checked the file apparc.lib its at the proper path "C:\Symbian\9.2\S60_3rd_FP1\Epoc32\release\winscw\udeb".

    It is compiling and linking properly for GCCE UDEB and GCCE UREL.

Similar Threads

  1. Replies: 2
    Last Post: 2006-10-05, 13:42
  2. compiling and linking the examples
    By rps82 in forum Multimodecards
    Replies: 1
    Last Post: 2003-03-17, 09:02

Posting Permissions

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