×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Aug 2008
    Posts
    87

    Question Error:"No rule to male target" on 2nd edition SDK

    I know this is way too old but my requirements dictate me to use S60 2nd edition.

    I use carbide.c++ v1.2.2 which is compatible with the sdk I am using.
    I created a new HelloWorld GUI project from "S60 2nd Edition" project template. When I choose the option to run it I got the error in the Problems view: "No rule to make target"

    Console view of the IDE shows following output:

    Code:
    ***Building project "FirstHelloWorld" for configuration "Emulator Debug (WINSCW) [Series60_v21_CW]"
    
    ***Printing environment variables modified from default:
    PATH=C:\Carbide.c++ v1.2.2\x86Build\Symbian_Tools\Command_Line_Tools;C:\Symbian\7.0s\Series60_v21_CW\epoc32\tools;C:\Symbian\7.0s\Series60_v21_CW\epoc32\gcc\bin;C:\Program Files\Common Files\Symbian\Tools;C:\Program Files\PC Connectivity Solution\;C:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\CSL Arm Toolchain\bin;D:\Program Files\IVT Corporation\BlueSoleil\Mobile;
    MWCSYM2INCLUDES=C:\Carbide.c++ v1.2.2\x86Build\Symbian_Support\MSL\MSL_C\MSL_Common\Include;C:\Carbide.c++ v1.2.2\x86Build\Symbian_Support\MSL\MSL_C\MSL_Win32\Include;C:\Carbide.c++ v1.2.2\x86Build\Symbian_Support\MSL\MSL_C\MSL_X86;C:\Carbide.c++ v1.2.2\x86Build\Symbian_Support\MSL\MSL_C++\MSL_Common\Include;+C:\Carbide.c++ v1.2.2\x86Build\Symbian_Support\MSL\MSL_Extras\MSL_Common\Include;C:\Carbide.c++ v1.2.2\x86Build\Symbian_Support\MSL\MSL_Extras\MSL_Win32\Include;C:\Carbide.c++ v1.2.2\x86Build\Symbian_Support\Win32-x86 Support\Headers\Win32 SDK;
    MWSYM2LIBRARIES=C:\Carbide.c++ v1.2.2\x86Build\Symbian_Support\Win32-x86 Support\Libraries\Win32 SDK;C:\Carbide.c++ v1.2.2\x86Build\Symbian_Support\Runtime\Runtime_x86\Runtime_Win32\Libs
    MWSYM2LIBRARYFILES=MSL_All_MSE_Symbian_D.lib;gdi32.lib;user32.lib;kernel32.lib;
    EPOCROOT=\Symbian\7.0s\Series60_v21_CW\
    
    Working Directory: C:/workspace/FirstHelloWorld/group
    
    *** Makefile structures up to date. Skipping 'bldmake bldfiles'
    
    ===Build Command = build WINSCW UDEB -v===
    abld.bat build WINSCW UDEB -v 
      make -r  -f "\Symbian\7.0s\Series60_v21_CW\EPOC32\BUILD\WORKSPACE\FIRSTHELLOWORLD\GROUP\EXPORT.make" EXPORT
    Nothing to do
      make -r  -f "\Symbian\7.0s\Series60_v21_CW\EPOC32\BUILD\WORKSPACE\FIRSTHELLOWORLD\GROUP\WINSCW.make" MAKEFILE
    Bareword found where operator expected at C:/Symbian/7.0s/Series60_v21_CW/epoc32/tools/perllib/params.pm line 461, near "New CParamItem"
    	(Do you need to predeclare New?)
    Bareword found where operator expected at C:/Symbian/7.0s/Series60_v21_CW/epoc32/tools/perllib/params.pm line 466, near "New CParamItem"
    	(Do you need to predeclare New?)
    syntax error at C:/Symbian/7.0s/Series60_v21_CW/epoc32/tools/perllib/params.pm line 461, near "New CParamItem"
    syntax error at C:/Symbian/7.0s/Series60_v21_CW/epoc32/tools/perllib/params.pm line 466, near "New CParamItem"
    Compilation failed in require at C:/Symbian/7.0s/Series60_v21_CW/epoc32/tools/perllib/args.pm line 19.
    BEGIN failed--compilation aborted at C:/Symbian/7.0s/Series60_v21_CW/epoc32/tools/perllib/args.pm line 19.
    Compilation failed in require at C:\Symbian\7.0s\Series60_v21_CW\epoc32\tools/cshlpcmp.pl line 58.
    BEGIN failed--compilation aborted at C:\Symbian\7.0s\Series60_v21_CW\epoc32\tools/cshlpcmp.pl line 58.
    make[1]: *** [MAKMAKE] Error 255
    make: *** [MAKEFILEBUILD_HELP] Error 2
    make   -C \WORKSPACE\FIRSTHELLOWORLD\HELP -f "BUILD_HELP.MK" TO_ROOT=..\..\.. PLATFORM=WINSCW MAKMAKE
    make[1]: Entering directory `C:/WORKSPACE/FIRSTHELLOWORLD/HELP'
    cshlpcmp FirstHelloWorld.cshlp
    make[1]: Leaving directory `C:/WORKSPACE/FIRSTHELLOWORLD/HELP'
      make -r  -f "\Symbian\7.0s\Series60_v21_CW\EPOC32\BUILD\WORKSPACE\FIRSTHELLOWORLD\GROUP\WINSCW.make" LIBRARY
    make[1]: \Symbian\7.0s\Series60_v21_CW\EPOC32\BUILD\WORKSPACE\FIRSTHELLOWORLD\GROUP\FIRSTHELLOWORLD\WINSCW\FIRSTHELLOWORLD.WINSCW: No such file or directory
    make[1]: *** No rule to make target `\Symbian\7.0s\Series60_v21_CW\EPOC32\BUILD\WORKSPACE\FIRSTHELLOWORLD\GROUP\FIRSTHELLOWORLD\WINSCW\FIRSTHELLOWORLD.WINSCW'.  Stop.
    make: *** [LIBRARYFIRSTHELLOWORLD] Error 2
    make   -C \WORKSPACE\FIRSTHELLOWORLD\HELP -f "BUILD_HELP.MK" TO_ROOT=..\..\.. PLATFORM=WINSCW LIB
    make[1]: Entering directory `C:/WORKSPACE/FIRSTHELLOWORLD/HELP'
    make[1]: Leaving directory `C:/WORKSPACE/FIRSTHELLOWORLD/HELP'
    make   -r -f "\Symbian\7.0s\Series60_v21_CW\EPOC32\BUILD\WORKSPACE\FIRSTHELLOWORLD\GROUP\FIRSTHELLOWORLD\WINSCW\FIRSTHELLOWORLD.WINSCW" LIBRARY
    make[1]: Entering directory `C:/WORKSPACE/FIRSTHELLOWORLD/GROUP'
    make[1]: Leaving directory `C:/WORKSPACE/FIRSTHELLOWORLD/GROUP'
      make -r  -f "\Symbian\7.0s\Series60_v21_CW\EPOC32\BUILD\WORKSPACE\FIRSTHELLOWORLD\GROUP\WINSCW.make" RESOURCE CFG=UDEB
    make[1]: \Symbian\7.0s\Series60_v21_CW\EPOC32\BUILD\WORKSPACE\FIRSTHELLOWORLD\GROUP\FIRSTHELLOWORLD\WINSCW\FIRSTHELLOWORLD.WINSCW: No such file or directory
    make[1]: *** No rule to make target `\Symbian\7.0s\Series60_v21_CW\EPOC32\BUILD\WORKSPACE\FIRSTHELLOWORLD\GROUP\FIRSTHELLOWORLD\WINSCW\FIRSTHELLOWORLD.WINSCW'.  Stop.
    make: *** [RESOURCEFIRSTHELLOWORLD] Error 2
    make   -C \WORKSPACE\FIRSTHELLOWORLD\HELP -f "BUILD_HELP.MK" TO_ROOT=..\..\.. PLATFORM=WINSCW CFG=UDEB RESOURCE
    make[1]: Entering directory `C:/WORKSPACE/FIRSTHELLOWORLD/HELP'
    make[1]: Leaving directory `C:/WORKSPACE/FIRSTHELLOWORLD/HELP'
    make   -r -f "\Symbian\7.0s\Series60_v21_CW\EPOC32\BUILD\WORKSPACE\FIRSTHELLOWORLD\GROUP\FIRSTHELLOWORLD\WINSCW\FIRSTHELLOWORLD.WINSCW" RESOURCEUDEB
    make[1]: Entering directory `C:/WORKSPACE/FIRSTHELLOWORLD/GROUP'
    make[1]: Leaving directory `C:/WORKSPACE/FIRSTHELLOWORLD/GROUP'
      make -r  -f "\Symbian\7.0s\Series60_v21_CW\EPOC32\BUILD\WORKSPACE\FIRSTHELLOWORLD\GROUP\WINSCW.make" TARGET CFG=UDEB
    make[1]: \Symbian\7.0s\Series60_v21_CW\EPOC32\BUILD\WORKSPACE\FIRSTHELLOWORLD\GROUP\FIRSTHELLOWORLD\WINSCW\FIRSTHELLOWORLD.WINSCW: No such file or directory
    make[1]: *** No rule to make target `\Symbian\7.0s\Series60_v21_CW\EPOC32\BUILD\WORKSPACE\FIRSTHELLOWORLD\GROUP\FIRSTHELLOWORLD\WINSCW\FIRSTHELLOWORLD.WINSCW'.  Stop.
    make: *** [TARGETFIRSTHELLOWORLD] Error 2
    make   -C \WORKSPACE\FIRSTHELLOWORLD\HELP -f "BUILD_HELP.MK" TO_ROOT=..\..\.. PLATFORM=WINSCW CFG=UDEB BLD
    make[1]: Entering directory `C:/WORKSPACE/FIRSTHELLOWORLD/HELP'
    make[1]: Leaving directory `C:/WORKSPACE/FIRSTHELLOWORLD/HELP'
    make   -r -f "\Symbian\7.0s\Series60_v21_CW\EPOC32\BUILD\WORKSPACE\FIRSTHELLOWORLD\GROUP\FIRSTHELLOWORLD\WINSCW\FIRSTHELLOWORLD.WINSCW" UDEB
    make[1]: Entering directory `C:/WORKSPACE/FIRSTHELLOWORLD/GROUP'
    make[1]: Leaving directory `C:/WORKSPACE/FIRSTHELLOWORLD/GROUP'
      make -r  -f "\Symbian\7.0s\Series60_v21_CW\EPOC32\BUILD\WORKSPACE\FIRSTHELLOWORLD\GROUP\WINSCW.make" FINAL CFG=UDEB
    make   -C \WORKSPACE\FIRSTHELLOWORLD\HELP -f "BUILD_HELP.MK" TO_ROOT=..\..\.. PLATFORM=WINSCW CFG=UDEB FINAL
    make[1]: Entering directory `C:/WORKSPACE/FIRSTHELLOWORLD/HELP'
    make[1]: Leaving directory `C:/WORKSPACE/FIRSTHELLOWORLD/HELP'
    
    ***Build Complete
    
    ***Errors were detected in build. See the Problems or Console view for details.
    
    Total Time: 31 sec
    Please tell me what I am doing wrong here.

  2. #2
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,355

    Re: Error:"No rule to male target" on 2nd edition SDK

    You have the right version of Carbide.c++ but the wrong version of Perl. You can either fix the Perls scripts (there is a page in the wiki describing how, just search for ... I don't know, maybe "params.pm") or uninstall the current version and install the one recommended in SDK's release notes.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  3. #3
    Regular Contributor
    Join Date
    Aug 2008
    Posts
    87

    Talking Re: Error:"No rule to male target" on 2nd edition SDK

    Thanks. It worked for me!

Similar Threads

  1. S60 2nd edition FP3 SDK reports error in jar file entry
    By iwmonkey in forum Mobile Java Tools & SDKs
    Replies: 12
    Last Post: 2010-03-11, 01:39
  2. S60 2nd Edition SDK emulator error: Invalid Java Vesion
    By vikas_khengare in forum Mobile Java General
    Replies: 2
    Last Post: 2007-11-28, 10:47
  3. building error for s60 2nd edition sdk fp1
    By kannabiran.krish in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2007-08-14, 11:01
  4. Where is SDK for S60 1st Edition?
    By MDWPPC in forum Mobile Java Tools & SDKs
    Replies: 5
    Last Post: 2007-02-08, 07:04
  5. Error ecmtcore00 on Symbian OS SDK 2nd Edition
    By adywicaksono in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2006-04-28, 04:35

Posting Permissions

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