Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User oulix's Avatar
    Join Date
    Oct 2005
    Posts
    3

    真正奇怪了,我得机器,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

  2. #2
    Nokia Developer Champion beover1984's Avatar
    Join Date
    Jun 2005
    Location
    Beijing
    Posts
    5,578
    看下面的贴子说是和cygwin1.dll文件有关系
    http://discussion.forum.nokia.com/fo...ighlight=thumb
    Beover1984
    -----------
    Doing what comes naturally

  3. #3
    Nokia Developer Champion beover1984's Avatar
    Join Date
    Jun 2005
    Location
    Beijing
    Posts
    5,578
    我刚看了下我的系统,cygwin1.dll是在Symbian\7.0s\Series60_v20\Epoc32\gcc\bin下的,system32下根本没有,楼主可以把它改名看看
    Beover1984
    -----------
    Doing what comes naturally

  4. #4
    Registered User oulix's Avatar
    Join Date
    Oct 2005
    Posts
    3
    Quote Originally Posted by beover1984
    看下面的贴子说是和cygwin1.dll文件有关系
    http://discussion.forum.nokia.com/fo...ighlight=thumb

    THANK YOU VERY MUCH!

    果然如此,确实是cygwin1.dll 造成的!

    S60 SDK 的安装目录下
    \Symbian\8.0a\S60_2nd_FP2_SC\epoc32\tools\MigrationTool\GCCBinUtils
    有一个cygwin1.dll ,大小949K,
    \Symbian\8.0a\S60_2nd_FP2_SC\epoc32\gcc\bin
    下也有一个cygwin1.dll , 大小424K

    但是在系统目录 C:\Windows 和C:\Windows\System32下还可有一个cygwin1.dll,
    大小1100K, 把这两个文件改名或删除就正常了!

    原因应该是这两个错误的dll文件,造成gcc编译器无法识别代码里的行合并符号 \ 。

    非常感谢!

  5. #5
    除了多个dll同名会造成冲突外,应用重名,uid重名都会出现影响,命名之前先看看有没有一样 名字的现象

    cool_li

Similar Threads

  1. Some questions: VC6 setup for SDK, dialog based coding, and...
    By badcore in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2005-03-15, 16:47
  2. Cannot add .lib file to VC6 project (Series 60 SDK)
    By ngabordh in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2004-03-25, 15:13
  3. Series 60 Concept Emulator (SDK Beta 0.2 Linux) not working
    By mattbee in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2003-06-10, 11:43
  4. Series 60Series 60 MIDP Concept SDK Beta 0.2 Linux bug?
    By kauppi in forum Mobile Java Tools & SDKs
    Replies: 3
    Last Post: 2003-04-07, 09:05
  5. Http connection problem in 6310i
    By teahola in forum Mobile Java General
    Replies: 1
    Last Post: 2002-10-03, 18:46

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved