我在nokia论坛上下了许多日期比较新的例子(也就是许多既适用于第3版,又适用于第5版SDK的例子),编译时都出现"No rule to make target"之类的错误。
(我电脑上装的是"S60_3rd_Edition_SDK_Feature_Pack_2_v1_1_en"这个第三版的SDK,运行SDK自带的例子并没有上面所说的错误)。比如
我编译运行SDK自带的那个AudioStream的例子就没出错,但是在nokia论坛上下的一个完全类似的AudioStream的例子(上面说既适用于第三版的、又适用于第五版的)在编译时就出现"No rule to make target"的错误了...
比如我编译http://www.forum.nokia.com/info/sw.n...g_Support.html
上的那个Access Points Example with Roaming Support的例子,就出现了
的错误。Code:make[1]: *** No rule to make target `\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\S60\devices\S60_3rd_FP2_SDK_v1.1\mywork\S60_Platform_Access_Points_Example_with_Roaming_Support_v1_0_en\S60_Platform_Access_Points_Example_with_Roaming_Support_v1_0\APExample\group\IAPCONNECT\WINSCW\IAPCONNECT.WINSCW'. Stop.
然后在命令行下
cd group
bldmake bldfiles
abld reallyclean winscw
然后
abld build winscw udeb
的结果如下:
请问这可能是什么原因呢?Code:C:\S60\devices\S60_3rd_FP2_SDK_v1.1\mywork\S60_Platform_Access_Points_Example_wi th_Roaming_Support_v1_0_en\S60_Platform_Access_Points_Example_with_Roaming_Suppo rt_v1_0\APExample\group>abld build winscw udeb make -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\S60\devices\S60_3r d_FP2_SDK_v1.1\mywork\S60_Platform_Access_Points_Example_with_Roaming_Support_v1 _0_en\S60_Platform_Access_Points_Example_with_Roaming_Support_v1_0\APExample\gro up\EXPORT.make" EXPORT VERBOSE=-s Nothing to do make -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\S60\devices\S60_3r d_FP2_SDK_v1.1\mywork\S60_Platform_Access_Points_Example_with_Roaming_Support_v1 _0_en\S60_Platform_Access_Points_Example_with_Roaming_Support_v1_0\APExample\gro up\WINSCW.make" MAKEFILE VERBOSE=-s make -s -C \S60\devices\S60_3rd_FP2_SDK_v1.1\mywork\S60_Platform_Access_Points_ Example_with_Roaming_Support_v1_0_en\S60_Platform_Access_Points_Example_with_Roa ming_Support_v1_0\APExample\group -f "ICON.MK" TO_ROOT=..\.. 省略一下... \S60_ 3rd_FP2_SDK_v1.1\mywork\S60_Platform_Access_Points_Example_with_Roaming_Support_ v1_0_en\S60_Platform_Access_Points_Example_with_Roaming_Support_v1_0\APExample\g roup PLATFORM=WINSCW MAKMAKE perl -S makmake.pl -D \S60\devices\S60_3rd_FP2_SDK_v1.1\mywork\S60_Platform_Acc ess_Points_Example_with_Roaming_Support_v1_0_en\S60_Platform_Access_Points_Examp le_with_Roaming_Support_v1_0\APExample\group\IAPCONNECT WINSCW ERROR: Unable to identify a valid CodeWarrior for Symbian OS installation make: *** [MAKEFILEIAPCONNECT] Error 255 make -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\S60\devices\S60_3r d_FP2_SDK_v1.1\mywork\S60_Platform_Access_Points_Example_with_Roaming_Support_v1 _0_en\S60_Platform_Access_Points_Example_with_Roaming_Support_v1_0\APExample\gro up\WINSCW.make" LIBRARY VERBOSE=-s make -s -C \S60\devices\S60_3rd_FP2_SDK_v1.1\mywork\S60_Platform_Access_Points_ Example_with_Roaming_Support_v1_0_en\S60_Platform_Access_Points_Example_with_Roa ming_Support_v1_0\APExample\group -f "ICON.MK" TO_ROOT=..\.. 省略一下... \..\..\S60\devices\S60_ 3rd_FP2_SDK_v1.1\mywork\S60_Platform_Access_Points_Example_with_Roaming_Support_ v1_0_en\S60_Platform_Access_Points_Example_with_Roaming_Support_v1_0\APExample\g roup PLATFORM=WINSCW LIB make -s -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\S60\devices\S60_3 rd_FP2_SDK_v1.1\mywork\S60_Platform_Access_Points_Example_with_Roaming_Support_v 1_0_en\S60_Platform_Access_Points_Example_with_Roaming_Support_v1_0\APExample\gr oup\IAPCONNECT\WINSCW\IAPCONNECT.WINSCW" LIBRARY make[1]: \S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\S60\devices\S60_3rd_FP2_ SDK_v1.1\mywork\S60_Platform_Access_Points_Example_with_Roaming_Support_v1_0_en\ S60_Platform_Access_Points_Example_with_Roaming_Support_v1_0\APExample\group\IAP CONNECT\WINSCW\IAPCONNECT.WINSCW: No such file or directory make[1]: *** No rule to make target `\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BU ILD\S60\devices\S60_3rd_FP2_SDK_v1.1\mywork\S60_Platform_Access_Points_Example_w ith_Roaming_Support_v1_0_en\S60_Platform_Access_Points_Example_with_Roaming_Supp ort_v1_0\APExample\group\IAPCONNECT\WINSCW\IAPCONNECT.WINSCW'. Stop. make: *** [LIBRARYIAPCONNECT] Error 2 make -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\S60\devices\S60_3r d_FP2_SDK_v1.1\mywork\S60_Platform_Access_Points_Example_with_Roaming_Support_v1 _0_en\S60_Platform_Access_Points_Example_with_Roaming_Support_v1_0\APExample\gro up\WINSCW.make" RESOURCE CFG=UDEB VERBOSE=-s make -s -C \S60\devices\S60_3rd_FP2_SDK_v1.1\mywork\S60_Platform_Access_Points_ Example_with_Roaming_Support_v1_0_en\S60_Platform_Access_Points_Example_with_Roa ming_Support_v1_0\APExample\group -f "ICON.MK" TO_ROOT=..\.. 省略一下... \S60_Platform_Access_Points_Example_with_Roaming_Support_ v1_0_en\S60_Platform_Access_Points_Example_with_Roaming_Support_v1_0\APExample\g roup PLATFORM=WINSCW CFG=UDEB RESOURCE MifConv version 1.11 build (49, SVG stand-alone). Checking: ..\gfx\IAPExample.svg Choosing... Used from: \S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\tools\SVGTBINENCODE.exe. Convert files... . Loading mif icons... Loading file: \S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\BUILD\s60\icons\temp\s1bs .tmp\.._gfx_IAPExample.svgb Writing mif: \S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\release\WINSCW\UDEB\Z\reso urce\apps\IAPExample_aif.mif make -s -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\S60\devices\S60_3 rd_FP2_SDK_v1.1\mywork\S60_Platform_Access_Points_Example_with_Roaming_Support_v 1_0_en\S60_Platform_Access_Points_Example_with_Roaming_Support_v1_0\APExample\gr oup\IAPCONNECT\WINSCW\IAPCONNECT.WINSCW" RESOURCEUDEB make[1]: \S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\S60\devices\S60_3rd_FP2_ SDK_v1.1\mywork\S60_Platform_Access_Points_Example_with_Roaming_Support_v1_0_en\ S60_Platform_Access_Points_Example_with_Roaming_Support_v1_0\APExample\group\IAP CONNECT\WINSCW\IAPCONNECT.WINSCW: No such file or directory make[1]: *** No rule to make target `\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BU ILD\S60\devices\S60_3rd_FP2_SDK_v1.1\mywork\S60_Platform_Access_Points_Example_w ith_Roaming_Support_v1_0_en\S60_Platform_Access_Points_Example_with_Roaming_Supp ort_v1_0\APExample\group\IAPCONNECT\WINSCW\IAPCONNECT.WINSCW'. Stop. make: *** [RESOURCEIAPCONNECT] Error 2 make -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\S60\devices\S60_3r d_FP2_SDK_v1.1\mywork\S60_Platform_Access_Points_Example_with_Roaming_Support_v1 _0_en\S60_Platform_Access_Points_Example_with_Roaming_Support_v1_0\APExample\gro up\WINSCW.make" TARGET CFG=UDEB VERBOSE=-s make -s -C \S60\devices\S60_3rd_FP2_SDK_v1.1\mywork\S60_Platform_Access_Points_ Example_with_Roaming_Support_v1_0_en\S60_Platform_Access_Points_Example_with_Roa ming_Support_v1_0\APExample\group -f "ICON.MK" TO_ROOT=..\..\..\..\..\..\..\.. E POCBLD=..\..\..\..\..\..\..\..\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\S60 \devices\S60_3rd_FP2_SDK_v1.1\mywork\S60_Platform_Access_Points_Example_with_Roa ming_Support_v1_0_en\S60_Platform_Access_Points_Example_with_Roaming_Support_v1_ 0\APExample\group\ICON\WINSCW TO_BLDINF=..\..\..\..\..\..\..\..\S60\devices\S60_ 3rd_FP2_SDK_v1.1\mywork\S60_Platform_Access_Points_Example_with_Roaming_Support_ v1_0_en\S60_Platform_Access_Points_Example_with_Roaming_Support_v1_0\APExample\g roup PLATFORM=WINSCW CFG=UDEB BLD make -s -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\S60\devices\S60_3 rd_FP2_SDK_v1.1\mywork\S60_Platform_Access_Points_Example_with_Roaming_Support_v 1_0_en\S60_Platform_Access_Points_Example_with_Roaming_Support_v1_0\APExample\gr oup\IAPCONNECT\WINSCW\IAPCONNECT.WINSCW" UDEB make[1]: \S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\S60\devices\S60_3rd_FP2_ SDK_v1.1\mywork\S60_Platform_Access_Points_Example_with_Roaming_Support_v1_0_en\ S60_Platform_Access_Points_Example_with_Roaming_Support_v1_0\APExample\group\IAP CONNECT\WINSCW\IAPCONNECT.WINSCW: No such file or directory make[1]: *** No rule to make target `\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BU ILD\S60\devices\S60_3rd_FP2_SDK_v1.1\mywork\S60_Platform_Access_Points_Example_w ith_Roaming_Support_v1_0_en\S60_Platform_Access_Points_Example_with_Roaming_Supp ort_v1_0\APExample\group\IAPCONNECT\WINSCW\IAPCONNECT.WINSCW'. Stop. make: *** [TARGETIAPCONNECT] Error 2 make -r -f "\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\S60\devices\S60_3r d_FP2_SDK_v1.1\mywork\S60_Platform_Access_Points_Example_with_Roaming_Support_v1 _0_en\S60_Platform_Access_Points_Example_with_Roaming_Support_v1_0\APExample\gro up\WINSCW.make" FINAL CFG=UDEB VERBOSE=-s make -s -C \S60\devices\S60_3rd_FP2_SDK_v1.1\mywork\S60_Platform_Access_Points_ Example_with_Roaming_Support_v1_0_en\S60_Platform_Access_Points_Example_with_Roa ming_Support_v1_0\APExample\group -f "ICON.MK" TO_ROOT=..\..\..\..\..\..\..\.. E POCBLD=..\..\..\..\..\..\..\..\S60\devices\S60_3rd_FP2_SDK_v1.1\EPOC32\BUILD\S60 \devices\S60_3rd_FP2_SDK_v1.1\mywork\S60_Platform_Access_Points_Example_with_Roa ming_Support_v1_0_en\S60_Platform_Access_Points_Example_with_Roaming_Support_v1_ 0\APExample\group\ICON\WINSCW TO_BLDINF=..\..\..\..\..\..\..\..\S60\devices\S60_ 3rd_FP2_SDK_v1.1\mywork\S60_Platform_Access_Points_Example_with_Roaming_Support_ v1_0_en\S60_Platform_Access_Points_Example_with_Roaming_Support_v1_0\APExample\g roup PLATFORM=WINSCW CFG=UDEB FINAL C:\S60\devices\S60_3rd_FP2_SDK_v1.1\mywork\S60_Platform_Access_Points_Example_wi th_Roaming_Support_v1_0_en\S60_Platform_Access_Points_Example_with_Roaming_Suppo rt_v1_0\APExample\group>
会不会是代码中添了一些S60 5th Edition 的东东导致在S60 3rd中不能用的原因呢?请求大家帮帮忙,我找了一天都没找着错的地方在哪![]()

Reply With Quote


