![]()
真正奇怪了,我得机器,XP, SP2,安装了VC6+sp3, VS.NET 2003,都在C盘。
ActivePerl5.6, JDK1.4.2;
下载的S60 SDK 中文版(s60_2nd_fp2_sdk_ms_chinese),安装在C盘。
编译abld build wins udeb, abld build wins urel 都没问题,模拟器也没问题。
但是就是不能编译abld build thumb urel ,总报错,我拿例子里的helloworldbasic试验了,编译出现下面的错误:
求助!
C:\Symbian\8.0a\S60_2nd_FP2_SC\Series60Ex\helloworldbasic\group>abld build thumb urel
make -r -f "\Symbian\8.0a\S60_2nd_FP2_SC\EPOC32\BUILD\SYMBIAN\8.0A\S60_2ND_FP2_SC\SERIES60EX\HELLOWORLDBASIC\GROUP\EX
PORT.make" EXPORT VERBOSE=-s
Nothing to do
make -r -f "\Symbian\8.0a\S60_2nd_FP2_SC\EPOC32\BUILD\SYMBIAN\8.0A\S60_2ND_FP2_SC\SERIES60EX\HELLOWORLDBASIC\GROUP\TH
UMB.make" MAKEFILE VERBOSE=-s
perl -S makmake.pl -D \SYMBIAN\8.0A\S60_2ND_FP2_SC\SERIES60EX\HELLOWORLDBASIC\GROUP\HELLOWORLDBASIC THUMB
make -r -f "\Symbian\8.0a\S60_2nd_FP2_SC\EPOC32\BUILD\SYMBIAN\8.0A\S60_2ND_FP2_SC\SERIES60EX\HELLOWORLDBASIC\GROUP\TH
UMB.make" LIBRARY VERBOSE=-s
make -s -r -f "\Symbian\8.0a\S60_2nd_FP2_SC\EPOC32\BUILD\SYMBIAN\8.0A\S60_2ND_FP2_SC\SERIES60EX\HELLOWORLDBASIC\GROUP\H
ELLOWORLDBASIC\THUMB\HELLOWORLDBASIC.THUMB" LIBRARY
make -r -f "\Symbian\8.0a\S60_2nd_FP2_SC\EPOC32\BUILD\SYMBIAN\8.0A\S60_2ND_FP2_SC\SERIES60EX\HELLOWORLDBASIC\GROUP\TH
UMB.make" RESOURCE CFG=UREL VERBOSE=-s
make -s -r -f "\Symbian\8.0a\S60_2nd_FP2_SC\EPOC32\BUILD\SYMBIAN\8.0A\S60_2ND_FP2_SC\SERIES60EX\HELLOWORLDBASIC\GROUP\H
ELLOWORLDBASIC\THUMB\HELLOWORLDBASIC.THUMB" RESOURCEUREL
make -r -f "\Symbian\8.0a\S60_2nd_FP2_SC\EPOC32\BUILD\SYMBIAN\8.0A\S60_2ND_FP2_SC\SERIES60EX\HELLOWORLDBASIC\GROUP\TH
UMB.make" TARGET CFG=UREL VERBOSE=-s
make -s -r -f "\Symbian\8.0a\S60_2nd_FP2_SC\EPOC32\BUILD\SYMBIAN\8.0A\S60_2ND_FP2_SC\SERIES60EX\HELLOWORLDBASIC\GROUP\H
ELLOWORLDBASIC\THUMB\HELLOWORLDBASIC.THUMB" UREL
In file included from ..\\..\\..\\EPOC32\\INCLUDE\\apparc.h:10,
from ..\\..\\..\\EPOC32\\INCLUDE\\eikapp.h:10,
from ..\\..\\..\\EPOC32\\INCLUDE\\aknapp.h:24,
from ..\\INC\\HelloWorldBasicApplication.h:8,
from ..\\SRC\\Helloworldbasic.cpp:5:
..\\..\\..\\EPOC32\\INCLUDE\\e32std.h:4462: `AType' was not declared in this scope
..\\..\\..\\EPOC32\\INCLUDE\\e32std.h:4462: `AData' was not declared in this scope
..\\..\\..\\EPOC32\\INCLUDE\\e32std.h:4462: `AData' was not declared in this scope
..\\..\\..\\EPOC32\\INCLUDE\\e32std.h:4462: template argument 1 is invalid
..\\..\\..\\EPOC32\\INCLUDE\\e32std.h:4462: stray '\' in program
..\\..\\..\\EPOC32\\INCLUDE\\e32std.h:4463: warning: ANSI C++ forbids declaration `AName' with no type
..\\..\\..\\EPOC32\\INCLUDE\\e32std.h:4463: `AType' was not declared in this scope
..\\..\\..\\EPOC32\\INCLUDE\\e32std.h:4463: stray '\' in program
..\\..\\..\\EPOC32\\INCLUDE\\e32std.h:4464: `AData' was not declared in this scope
..\\..\\..\\EPOC32\\INCLUDE\\e32std.h:4464: `AData' was not declared in this scope
..\\..\\..\\EPOC32\\INCLUDE\\e32std.h:4464: template argument 1 is invalid
..\\..\\..\\EPOC32\\INCLUDE\\e32std.h:4464: `AData' was not declared in this scope
..\\..\\..\\EPOC32\\INCLUDE\\e32std.h:4464: warning: ANSI C++ forbids declaration `' with no type
..\\..\\..\\EPOC32\\INCLUDE\\e32std.h:4467: parse error before `typedef'
(...太长,中间省略了)
In file included from ..\\..\\..\\EPOC32\\INCLUDE\\apparc.h:13,
from ..\\..\\..\\EPOC32\\INCLUDE\\eikapp.h:10,
from ..\\..\\..\\EPOC32\\INCLUDE\\aknapp.h:24,
from ..\\INC\\HelloWorldBasicApplication.h:8,
from ..\\SRC\\Helloworldbasic.cpp:5:
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:166: `TIdentityRelation<T>::CArrayFix' does not declare a template type
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:194: parse error before `<'
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:198: non-member function `At(TInt)' cannot have `const' method qualifier
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:199: non-member function `End(TInt)' cannot have `const' method qualifier
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:200: non-member function `Back(TInt)' cannot have `const' method qualifier
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:201: new declaration `TAny * At(TInt)'
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:198: ambiguates old declaration `const TAny * At(TInt)'
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:202: new declaration `TAny * End(TInt)'
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:199: ambiguates old declaration `const TAny * End(TInt)'
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:203: new declaration `TAny * Back(TInt)'
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:200: ambiguates old declaration `const TAny * Back(TInt)'
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:207: parse error before `}'
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:210: `TIdentityRelation<T>::CArrayFixFlat' does not declare a template type
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:210: non-template type `CArrayFix' used as a template
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:216: parse error before `<'
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:221: parse error before `}'
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:222: non-template type `CArrayFixFlat' used as a template
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:222: non-template type `CArrayFix' used as a template
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:225: parse error before `)'
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:226: destructor `CArrayFixFlat' must match class name `._14'
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:228: warning: anonymous class type not used to declare any objects
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:229: non-template type `CArrayFixFlat' used as a template
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:229: non-template type `CArrayFix' used as a template
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:232: parse error before `)'
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:233: destructor `CArrayFixFlat' must match class name `._15'
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:235: warning: anonymous class type not used to declare any objects
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:238: `TIdentityRelation<T>::CArrayFixSeg' does not declare a template type
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:238: non-template type `CArrayFix' used as a template
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:243: parse error before `<'
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:250: `TIdentityRelation<T>::CArrayPtr' does not declare a template type
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:250: non-template type `CArrayFix' used as a template
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:258: `TIdentityRelation<T>::CArrayPtrFlat' does not declare a template type
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:258: parse error before `<'
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:263: parse error before `}'
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:266: `TIdentityRelation<T>::CArrayPtrSeg' does not declare a template type
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:266: parse error before `<'
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:317: `TIdentityRelation<T>::CArrayVar' does not declare a template type
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:335: parse error before `<'
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:339: non-member function `At(TInt)' cannot have `const' method qualifier
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:339: new declaration `const TAny * At(TInt)'
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:201: ambiguates old declaration `TAny * At(TInt)'
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:340: new declaration `TAny * At(TInt)'
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:339: ambiguates old declaration `const TAny * At(TInt)'
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:343: parse error before `}'
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:346: `TIdentityRelation<T>::CArrayVarFlat' does not declare a template type
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:346: non-template type `CArrayVar' used as a template
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:353: `TIdentityRelation<T>::CArrayVarSeg' does not declare a template type
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:353: non-template type `CArrayVar' used as a template
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:396: `CArrayVarFlat' was not declared in this scope
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:396: parse error before `>'
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:409: `TIdentityRelation<T>::CArrayPak' does not declare a template type
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:427: parse error before `<'
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:431: non-member function `At(TInt)' cannot have `const' method qualifier
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:431: new declaration `const TAny * At(TInt)'
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:340: ambiguates old declaration `TAny * At(TInt)'
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:432: new declaration `TAny * At(TInt)'
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:431: ambiguates old declaration `const TAny * At(TInt)'
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:435: parse error before `}'
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:438: `TIdentityRelation<T>::CArrayPakFlat' does not declare a template type
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:438: non-template type `CArrayPak' used as a template
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h: In function `TBool IsLocalHandle(TInt)':
..\\..\\..\\EPOC32\\INCLUDE\\e32base.h:510: confused by earlier errors, bailing out
make[1]: *** [..\..\..\EPOC32\BUILD\SYMBIAN\8.0A\S60_2ND_FP2_SC\SERIES60EX\HELLOWORLDBASIC\GROUP\HELLOWORLDBASIC\THUMB\U
REL\HELLOWORLDBASIC.o] Error 1
make: *** [TARGETHELLOWORLDBASIC] Error 2
make -r -f "\Symbian\8.0a\S60_2nd_FP2_SC\EPOC32\BUILD\SYMBIAN\8.0A\S60_2ND_FP2_SC\SERIES60EX\HELLOWORLDBASIC\GROUP\TH
UMB.make" FINAL CFG=UREL VERBOSE=-s

Reply With Quote

