×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Aug 2007
    Posts
    10

    Unhappy getting error * cpp failed ,* epocaif.pl failed

    Hi all,
    I am new in symbian development.i install carbide express v1.1 and 8.1a sdk and active perl 5.6.1 build 638.
    when i buid the project it gives me *cpp failed,*epoccaif.pl failed and some linking error.
    Please help me if anyone knows regarding this problem.

    thank you,
    sunil

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: getting error * cpp failed ,* epocaif.pl failed

    Can you post the Error Output of your Build System...

  3. #3
    Registered User
    Join Date
    Aug 2007
    Posts
    10

    Red face Re: getting error * cpp failed ,* epocaif.pl failed

    hi,
    thanks for your reply.This got after build the project

    make -k all
    'Building file: ../aif/Test.aifdef'
    'Invoking: AIF Compiler'
    perl -S epocaifdef.pl -I- -I"C:\Symbian\8.1a\S60_2nd_FP3\epoc32\include" -o"C:/Symbian/8.1a/S60_2nd_FP3/EPOC32/RELEASE/WINSCW/UDEB/Z/system/apps/Test/Test.aif" ../aif/Test.aifdef
    cpp: C:\Symbian\Carbide\newworkspace\Test\aif\TestAif.rss: No such file or directory
    * cpp failed
    * epocaif.pl failed
    make: *** [C:/Symbian/8.1a/S60_2nd_FP3/EPOC32/RELEASE/WINSCW/UDEB/Z/system/apps/Test/Test.aif] Error 1
    'Building file: ../src/SettingView.cpp'
    'Invoking: WINSCW C/C++ Compiler'
    mwccsym2.exe -sym full -c -wchar_t off -align 4 -enum int -str pool -nostdinc -msgstyle parseable -nowraplines -cwd source -O0 -D_UNICODE -D__SYMBIAN32__ -D__CW32__ -D__WINS__ -D__DLL__ -D__WINSCW__ -D_DEBUG -i "C:\Symbian\Carbide\8.1aworkspace\Test\inc" -i "C:\Symbian\Carbide\8.1aworkspace\Test\data" -i- -i "C:\Symbian\8.1a\S60_2nd_FP3\epoc32\include" -w cmdline -w pragmas -w empty -w possible -w unusedarg -w unusedvar -w extracomma -w pedantic -w largeargs -w ptrintconv -w tokenpasting -w missingreturn -MD -o src/SettingView.o ../src/SettingView.cpp
    mwccsym2.exe|Compiler|Warning
    (C:\Symbian\Carbide\8.1aworkspace\Test\src\SettingView.cpp|219|0|4|5470|4)
    =void CSettingView:ynInitMenuPaneL (TInt aResourceId, CEikMenuPane* aMenuPane)
    >variable / argument 'aResourceId' is not used in function
    mwccsym2.exe|Compiler|Warning
    (C:\Symbian\Carbide\8.1aworkspace\Test\src\SettingView.cpp|219|0|4|5470|4)
    =void CSettingView:ynInitMenuPaneL (TInt aResourceId, CEikMenuPane* aMenuPane)
    >variable / argument 'aMenuPane' is not used in function
    'Finished building: ../src/SettingView.cpp'
    ' '
    'Building file: ../src/SmsSignatureForm.cpp'
    'Invoking: WINSCW C/C++ Compiler'
    mwccsym2.exe -sym full -c -wchar_t off -align 4 -enum int -str pool -nostdinc -msgstyle parseable -nowraplines -cwd source -O0 -D_UNICODE -D__SYMBIAN32__ -D__CW32__ -D__WINS__ -D__DLL__ -D__WINSCW__ -D_DEBUG -i "C:\Symbian\Carbide\8.1aworkspace\Test\inc" -i "C:\Symbian\Carbide\8.1aworkspace\Test\data" -i- -i "C:\Symbian\8.1a\S60_2nd_FP3\epoc32\include" -w cmdline -w pragmas -w empty -w possible -w unusedarg -w unusedvar -w extracomma -w pedantic -w largeargs -w ptrintconv -w tokenpasting -w missingreturn -MD -o src/SmsSignatureForm.o ../src/SmsSignatureForm.cpp
    mwccsym2.exe|Compiler|Warning
    (C:\Symbian\Carbide\8.1aworkspace\Test\src\SmsSignatureForm.cpp|450|0|4|10941|4)
    =void CSmsSignatureForm::IndicateTitlePaneTextL(const TInt aResourceId )
    >variable / argument 'aResourceId' is not used in function
    'Finished building: ../src/SmsSignatureForm.cpp'
    ' '
    'Building file: ../.generated/winscw_uid.cpp'
    'Invoking: WINSCW C/C++ Compiler'
    mwccsym2.exe -sym full -c -wchar_t off -align 4 -enum int -str pool -nostdinc -msgstyle parseable -nowraplines -cwd source -O0 -D_UNICODE -D__SYMBIAN32__ -D__CW32__ -D__WINS__ -D__DLL__ -D__WINSCW__ -D_DEBUG -i "C:\Symbian\Carbide\8.1aworkspace\Test\inc" -i "C:\Symbian\Carbide\8.1aworkspace\Test\data" -i- -i "C:\Symbian\8.1a\S60_2nd_FP3\epoc32\include" -w cmdline -w pragmas -w empty -w possible -w unusedarg -w unusedvar -w extracomma -w pedantic -w largeargs -w ptrintconv -w tokenpasting -w missingreturn -MD -o .generated/winscw_uid.o ../.generated/winscw_uid.cpp
    'Finished building: ../.generated/winscw_uid.cpp'
    ' '
    'Invoking: Def file Manager'
    perl -S winscwTreatDef.pl -L[-sym full -subsystem windows -msgstyle parseable -nowraplines -shared -stdlib -m=?_E32Dll@@YGHPAXI0@Z -ledll.lib -leuser.lib -lefsrv.lib -ledbms.lib -lbafl.lib -leikctl.lib -lapparc.lib -lcone.lib -leikcore.lib -lavkon.lib -leikcoctl.lib -L"C:\Symbian\8.1a\S60_2nd_FP3\epoc32\release\winscw\udeb" -export dllexport -warnings off -nocompactimportlib -implib \"Test.lib\" -addcommand \"out:Test.app\" -search ./src/SettingContainer.o ./src/SettingView.o ./src/SettingsDB.o ./src/TestApp.o ./src/TestAppUi.o ./src/TestContainer.o ./src/TestDocument.o ./src/SmsSignatureForm.o ./.generated/winscw_uid.o ] -I[-S -show only,names,unmangled,verbose -o \"Test.infi\" \"Test.lib\"] -M[-1 ?NewApplication@@YAPAVCApaApplication@@XZ -Inffile \"Test.infi\" \"Test.defi\"] -C[Test.defi Test.def]
    mwldsym2.exe -sym full -subsystem windows -msgstyle parseable -nowraplines -shared -stdlib -m=?_E32Dll@@YGHPAXI0@Z -ledll.lib -leuser.lib -lefsrv.lib -ledbms.lib -lbafl.lib -leikctl.lib -lapparc.lib -lcone.lib -leikcore.lib -lavkon.lib -leikcoctl.lib -LC:\Symbian\8.1a\S60_2nd_FP3\epoc32\release\winscw\udeb -export dllexport -warnings off -nocompactimportlib -implib "Test.lib" -addcommand "out:Test.app" -search ./src/SettingContainer.o ./src/SettingView.o ./src/SettingsDB.o ./src/TestApp.o ./src/TestAppUi.o ./src/TestContainer.o ./src/TestDocument.o ./src/SmsSignatureForm.o ./.generated/winscw_uid.o

    Errors caused tool to abort.
    mwldsym2.exe|Linker|Error
    >Undefined symbol: 'class CCoeControl * CEikDialog::ControlOrNull(int) const (?ControlOrNull@CEikDialog@@QBEPAVCCoeControl@@H@Z)'
    >referenced from 'int CSmsSignatureForm::SaveFormDataL(void) (?SaveFormDataL@CSmsSignatureForm@@UAEHXZ)' in SmsSignatureForm.cpp:85
    >referenced from 'int CSmsSignatureForm::SaveFormDataL(void) (?SaveFormDataL@CSmsSignatureForm@@UAEHXZ)' in SmsSignatureForm.cpp:130
    >referenced from 'int CSmsSignatureForm::SaveFormDataL(void) (?SaveFormDataL@CSmsSignatureForm@@UAEHXZ)' in SmsSignatureForm.cpp:192

    mwldsym2.exe -S -show only,names,unmangled,verbose -o "Test.infi" "Test.lib"

    Errors caused tool to abort.
    ### mwldsym2.exe Usage Error:
    # Specified file 'Test.lib' not found

    perl -S makedef.pl -1 ?NewApplication@@YAPAVCApaApplication@@XZ -Inffile "Test.infi" "Test.defi"
    MAKEDEF ERROR: Test.infi: Inffile not found

    perl -S ecopyfile.pl Test.defi Test.def
    Test.defi does not exist

    'Finished building: Test.defi'
    ' '
    'Building target: C:/Symbian/8.1a/S60_2nd_FP3/epoc32/release/WINSCW/UDEB/Z/system/apps/Test/Test.app'
    'Invoking: WINSCW C/C++ Linker'
    mwldsym2.exe -sym full -subsystem windows -msgstyle parseable -nowraplines -shared -stdlib -noimplib -m=?_E32Dll@@YGHPAXI0@Z -ledll.lib -leuser.lib -lefsrv.lib -ledbms.lib -lbafl.lib -leikctl.lib -lapparc.lib -lcone.lib -leikcore.lib -lavkon.lib -leikcoctl.lib -L"C:\Symbian\8.1a\S60_2nd_FP3\epoc32\release\winscw\udeb" -o "C:/Symbian/8.1a/S60_2nd_FP3/epoc32/release/WINSCW/UDEB/Z/system/apps/Test/Test.app" -search ./src/SettingContainer.o ./src/SettingView.o ./src/SettingsDB.o ./src/TestApp.o ./src/TestAppUi.o ./src/TestContainer.o ./src/TestDocument.o ./src/SmsSignatureForm.o ./.generated/winscw_uid.o -f Test.def
    'Finished building target: C:/Symbian/8.1a/S60_2nd_FP3/epoc32/release/WINSCW/UDEB/Z/system/apps/Test/Test.app'
    ' '
    make: Target `all' not remade because of errors.
    Build complete for project Test

  4. #4
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: getting error * cpp failed ,* epocaif.pl failed

    if i am not Wrong you forgot to add eikdlg.lib

  5. #5
    Registered User
    Join Date
    Aug 2007
    Posts
    10

    Thumbs up Re: getting error * cpp failed ,* epocaif.pl failed

    Hi ,
    Thank you very much.it works.

    bye
    sunilkumar

Similar Threads

  1. S60 2nd to 3rd/ PlatformSecurity / Capabilities
    By jarkoos in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 4
    Last Post: 2007-04-14, 14:08
  2. epocaif.pl failed
    By Griffel in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 4
    Last Post: 2006-05-04, 12:19
  3. ERROR: RCMake failed: (Bitmaps): bmconv.exe failed with code 5
    By Dexterp37 in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2005-09-07, 08:53
  4. preverify failed
    By walter73 in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2005-01-07, 18:13
  5. Nokia Image Converter
    By davidpurdie in forum General Development Questions
    Replies: 0
    Last Post: 2004-02-18, 15:31

Posting Permissions

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