×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Dec 2008
    Posts
    5

    Trouble after patching S60 FP2 SDK to support Windows Vista

    After installing S60 FP2 SDK and following the steps detailed in the release notes to patch the sdk (copying the cl_bpabi.pm file to epoc32\tools) and adding the specified directories to the Path environment variable I still have errors when building.

    The error I get is this:

    fatal error: error writing to -: Invalid argument

    The directoires I've added to the path are these:

    C:\Program Files\CSL Arm Toolchain\bin;C:\Program Files\CSL Arm Toolchain\arm-none-symbianelf\bin;C:\Program Files\CSL Arm Toolchain\libexec\gcc\arm-none-symbianelf\3.4.3;C:\Program Files\Common Files\Symbian\tools

    I've also makde sure that CSL Arm Toolchain is installed in
    C:\Program Files\CSL Arm Toolchain\ directory.

    Same problem happens with FP1 after following the steps here:
    http://wiki.forum.nokia.com/index.php/Windows_Vista

    I've read in some threads that this has to do with a long file path for de mmp file, but I'v tried it directly in C:\projectname.

  2. #2
    Registered User
    Join Date
    Dec 2008
    Posts
    5

    Re: Trouble after patching S60 FP2 SDK to support Windows Vista

    Additional data. This is what happens when I try to build the hello world example in FP1:

    Code:
    C:\Symbian\9.2\S60_3rd_FP1\Examples\Basics\HelloWorld>abld build gcce urel
      make -r  -f "\S60\devices\S60_5th_Edition_SDK_v0.9\EPOC32\BUILD\Symbian\9.2\S6
    0_3rd_FP1\Examples\Basics\HelloWorld\EXPORT.make" EXPORT VERBOSE=-s
    Nothing to do
      make -r  -f "\S60\devices\S60_5th_Edition_SDK_v0.9\EPOC32\BUILD\Symbian\9.2\S6
    0_3rd_FP1\Examples\Basics\HelloWorld\GCCE.make" MAKEFILE VERBOSE=-s
    perl -S makmake.pl  -D \Symbian\9.2\S60_3rd_FP1\Examples\Basics\HelloWorld\HELLO
    WORLD GCCE
      make -r  -f "\S60\devices\S60_5th_Edition_SDK_v0.9\EPOC32\BUILD\Symbian\9.2\S6
    0_3rd_FP1\Examples\Basics\HelloWorld\GCCE.make" LIBRARY VERBOSE=-s
    make -s  -r -f "\S60\devices\S60_5th_Edition_SDK_v0.9\EPOC32\BUILD\Symbian\9.2\S
    60_3rd_FP1\Examples\Basics\HelloWorld\HELLOWORLD\GCCE\HELLOWORLD.GCCE" LIBRARY
      make -r  -f "\S60\devices\S60_5th_Edition_SDK_v0.9\EPOC32\BUILD\Symbian\9.2\S6
    0_3rd_FP1\Examples\Basics\HelloWorld\GCCE.make" RESOURCE CFG=UREL VERBOSE=-s
    make -s  -r -f "\S60\devices\S60_5th_Edition_SDK_v0.9\EPOC32\BUILD\Symbian\9.2\S
    60_3rd_FP1\Examples\Basics\HelloWorld\HELLOWORLD\GCCE\HELLOWORLD.GCCE" RESOURCEU
    REL
      make -r  -f "\S60\devices\S60_5th_Edition_SDK_v0.9\EPOC32\BUILD\Symbian\9.2\S6
    0_3rd_FP1\Examples\Basics\HelloWorld\GCCE.make" TARGET CFG=UREL VERBOSE=-s
    make -s  -r -f "\S60\devices\S60_5th_Edition_SDK_v0.9\EPOC32\BUILD\Symbian\9.2\S
    60_3rd_FP1\Examples\Basics\HelloWorld\HELLOWORLD\GCCE\HELLOWORLD.GCCE" UREL
    helloworld.cpp
    \epoc32\gcc\bin\as.exe was called but is not supported in this release.
    /Symbian/9.2/S60_3rd_FP1/Examples/Basics/HelloWorld/helloworld.cpp:12: fatal err
    or: error writing to -: Invalid argument compilation terminated.
    make[1]: *** [\S60\devices\S60_5th_Edition_SDK_v0.9\EPOC32\BUILD\Symbian\9.2\S60
    _3rd_FP1\Examples\Basics\HelloWorld\HELLOWORLD\GCCE\urel\HelloWorld.o] Error 1
    make: *** [TARGETHELLOWORLD] Error 2
      make -r  -f "\S60\devices\S60_5th_Edition_SDK_v0.9\EPOC32\BUILD\Symbian\9.2\S6
    0_3rd_FP1\Examples\Basics\HelloWorld\GCCE.make" FINAL CFG=UREL VERBOSE=-s
    Last edited by jmatthauser; 2008-12-16 at 19:58.

  3. #3
    Registered User
    Join Date
    Dec 2008
    Posts
    5

    Re: Trouble after patching S60 FP2 SDK to support Windows Vista

    Solved: I had an error in my path so C:\Program Files\Common Files\Symbian\tools was also at the beginning BUT I still get an error when building for fp1:

    Error : Cannot find file : C:\Symbian\9.2\S60_3rd_FP1\Epoc32\release\GCCE\UREL\helloworld.exe
    file I/O fault

  4. #4
    Registered User
    Join Date
    Dec 2008
    Posts
    5

    Re: Trouble after patching S60 FP2 SDK to support Windows Vista

    In fact the error that the console shows me is the following:

    ***Invoking abld command
    perl.exe -S ABLD.PL \Symbian\Carbide\workspace\helloworld\group\ target gcce urel
    make -r -f "\Symbian\9.2\S60_3rd_FP1\EPOC32\BUILD\Symbian\Carbide\workspace\helloworld\group\GCCE.make" TARGET CFG=UREL VERBOSE=-s
    arm-none-symbianelf-ld: cannot find -lgcc
    make[1]: *** [\Symbian\9.2\S60_3rd_FP1\EPOC32\RELEASE\GCCE\UREL\helloworld.exe] Error 1
    make: *** [TARGEThelloworld] Error 2

  5. #5
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,345

    Re: Trouble after patching S60 FP2 SDK to support Windows Vista

    Quote Originally Posted by jmatthauser View Post
    arm-none-symbianelf-ld: cannot find -lgcc
    Check the highlighted red lines in the "Latest Updates" section under this link: http://wiki.forum.nokia.com/index.ph..._Windows_Vista

    I hope that helps.
    Nokia Developer Wiki Moderation team

  6. #6
    Registered User
    Join Date
    Sep 2007
    Location
    Spain
    Posts
    15

    Re: Trouble after patching S60 FP2 SDK to support Windows Vista

    I han a similar issue and the solution is to modify the SYMBIAN_UREL_LINK_FLAGS parameter (in C:\Symbian\9.2\S60_3rd_FP1\Epoc32\tools\compilation_config\gcce.mk) and to add the path where lgcc library is located. That is:

    Original value:
    SYMBIAN_UREL_LINK_FLAGS=$(SYMBIAN_LD_MESSAGE_OPTION) $(BPABI_OPTION) $(RELOCATABLE_IMAGE_OPTION) $(TARGET_RELOCATION_OPTION) $(UNRESOLVED_SYMBOL_REF_OPTION) $(STDLIB_OPTION) $(EXTRA_LD_OPTION)

    Modified value:
    SYMBIAN_UREL_LINK_FLAGS=$(SYMBIAN_LD_MESSAGE_OPTION) $(BPABI_OPTION) $(RELOCATABLE_IMAGE_OPTION) $(TARGET_RELOCATION_OPTION) $(UNRESOLVED_SYMBOL_REF_OPTION) $(STDLIB_OPTION) $(EXTRA_LD_OPTION) -L"C:\Program Files\CSL Arm Toolchain\lib\gcc\arm-none-symbianelf\3.4.3"

Similar Threads

  1. S60 2nd Edtion FP2 SDK
    By nair.shanker in forum Symbian Tools & SDKs
    Replies: 21
    Last Post: 2008-09-02, 06:41
  2. SDK S60 3rd edition FP2 beta emulator
    By livelab in forum Mobile Java Tools & SDKs
    Replies: 3
    Last Post: 2008-01-09, 22:25
  3. Ethernet Connection for S60 3rd Ed FP2 on Vista Problem
    By singhgupi in forum Symbian Networking & Messaging (Closed)
    Replies: 4
    Last Post: 2007-11-06, 05:17
  4. 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
  •  
×