×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Aug 2008
    Location
    Warsaw
    Posts
    11

    Building Qt4 for Symbian

    Hi all

    Has anybody built Qt4 for Symbian S60 5th target on Windows?

    I have got following error when building QtGui

    make[2]: *** [\s5\epoc32\release\gcce\udeb\QtGui.dll] Error 87

    "(e=87) The parameter is incorrect." It occurs when make invokes CreateProcess with ld command and it means that the command line is too long. My investigation points to cl_bpabi.pm Perl script. Do you know how to change that file to get rid of the problem?

    here is a part of CreateProcess.

    process_begin: CreateProcess(C:\Program Files\CSL Arm Toolchain\bin\arm-none-sym
    bianelf-ld.exe, arm-none-symbianelf-ld -L "C:/Program Files/CSL Arm Toolchain/bi
    n/../lib/gcc/arm-none-symbianelf/3.4.3/" -L "C:/Program Files/CSL Arm Toolchain/
    bin/../lib/gcc/arm-none-symbianelf/3.4.3/../../../../arm-none-symbianelf/lib" --
    target1-abs --no-undefined -nostdlib -Tdata 0xC00000 -shared -Ttext 0x8000 -Tdat
    a 0x400000 --default-symver -soname QtGui{00040602}[2001b2dd].dll --entry _E32Dl
    l -u _E32Dll \s5\epoc32\release\ARMV5\udeb\EDLL.LIB -o \s5\EPOC32\BUILD\Qt4\src\
    gui\GUI_0X2001B2DD\GCCE\udeb\QtGui.dll -Map \s5\epoc32\release\gcce\udeb\QtGui.d
    ll.map \s5\EPOC32\BUILD\Qt4\src\gui\GUI_0X2001B2DD\GCCE\udeb\png.o \s5\EPOC32\BU
    ILD\Qt4\src\gui\GUI_0X2001B2DD\GCCE\udeb\pngerror.o \s5\EPOC32\BUILD\Qt4\src\gui
    \GUI_0X2001B2DD\GCCE\udeb\pngget.o \s5\EPOC32\BUILD\Qt4\src\gui\GUI_0X2001B2DD\G
    CCE\udeb\pngmem.o \s5\EPOC32\BUILD\Qt4\src\gui\GUI_0X2001B2DD\GCCE\udeb\pngpread
    .o \s5\EPOC32\BUILD\Qt4\src\gui\GUI_0X2001B2DD\GCCE\udeb\pngread.o \s5\EPOC32\BU
    ILD\Qt4\src\gui\GUI_0X2001B2DD\GCCE\udeb\pngrio.o \s5\EPOC32\BUILD\Qt4\src\gui\G
    UI_0X2001B2DD\GCCE\udeb\pngrtran.o \s5\EPOC32\BUILD\Qt4\src\gui\GUI_0X2001B2DD\G
    CCE\udeb\pngrutil.o \s5\EPOC32\BUILD\Qt4\src\gui\GUI_0X2001B2DD\GCCE\udeb\pngset
    .o \s5\EPOC32\BUILD\Qt4\src\gui\GUI_0X2001B2DD\GCCE\udeb\pngtrans.o \s5\EPOC32\B
    UILD\Qt4\src\gui\GUI_0X2001B2DD\GCCE\udeb\pngwio.o \s5\EPOC32\BUILD\Qt4\src\gui\
    GUI_0X2001B2DD\GCCE\udeb\pngwrite.o \s5\EPOC32\BUILD\Qt4\src\gui\GUI_0X2001B2DD\
    GCCE\udeb\pngwtran.o \s5\EPOC32\BUILD\Qt4\src\gui\GUI_0X2001B2DD\GCCE\udeb\pngwu
    til.o \s5\EPOC32\BUILD\Qt4\src\gui\GUI_0X2001B2DD\GCCE\udeb\pnggccrd.o \s5\EPOC3
    2\BUILD\Qt4\src\gui\GUI_0X2001B2DD\GCCE\udeb\qguivariantanimation.o \s5\EPOC32\B
    UILD\Qt4\src\gui\GUI_0X2001B2DD\GCCE\udeb\qabstractprintdialog.o \s5\EPOC32\BUIL
    D\Qt4\src\gui\GUI_0X2001B2DD\GCCE\udeb\qabstractpagesetupdialog.o \s5\EPOC32\BUI
    ..
    ...
    ..
    drtaeabi.dso \s5\epoc32\release\armv5\LIB\scppnwdl.dso \s5\epoc32\release\armv5\
    LIB\drtrvct2_2.dso -lsupc++ -lgcc, ...) failed.
    make (e=87): The parameter is incorrect.
    make[2]: *** [\s5\epoc32\release\gcce\udeb\QtGui.dll] Error 87
    make[1]: *** [TARGETGUI_0X2001B2DD] Error 2
    make[1]: Leaving directory `C:/Qt4/src/gui'


    Thank You for any help

  2. #2
    Regular Contributor
    Join Date
    Oct 2008
    Location
    Oslo, Norway
    Posts
    329

    Re: Building Qt4 for Symbian

    Hi,

    No..unfortunately not with GCCE compiler, check known issues. You'd need to use RVCT compiler instead, v2.2 build 686 preferably.

  3. #3
    Registered User
    Join Date
    Aug 2008
    Location
    Warsaw
    Posts
    11

    Re: Building Qt4 for Symbian

    Thank you. I'll check that.

  4. #4
    Registered User
    Join Date
    Aug 2008
    Location
    Warsaw
    Posts
    11

    Re: Building Qt4 for Symbian

    Yes. It's much better now. However I couldn't compile to armv udeb due to huge amount of memory required by linker . (more then 2GB)

  5. #5
    Regular Contributor
    Join Date
    Oct 2008
    Location
    Oslo, Norway
    Posts
    329

    Re: Building Qt4 for Symbian

    Quote Originally Posted by igosoft View Post
    Yes. It's much better now. However I couldn't compile to armv udeb due to huge amount of memory required by linker . (more then 2GB)
    Yes... that's a known problem as well - don't know if there's any way to work around it.

  6. #6
    Registered User
    Join Date
    Aug 2008
    Location
    Warsaw
    Posts
    11

    Re: Building Qt4 for Symbian

    yes. it looks like QtGui it too big. In my opinion it's good time to move QGraphicsXXXXX classes to QtGuiGraphics for example

Similar Threads

  1. Replies: 4
    Last Post: 2009-12-21, 10:04
  2. Replies: 4
    Last Post: 2008-03-26, 15:18
  3. Error Building Symbian Examples
    By rahulgarg in forum Symbian Media (Closed)
    Replies: 1
    Last Post: 2007-06-27, 10:17

Posting Permissions

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