×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    Sep 2011
    Posts
    29

    [FIXED] Can't build: Phone Release (GCCE) [Nokia_Symbian3_SDK_v1.0]

    Hi,

    When I build my project for Emulator Debug (WINSCW) [Nokia_Symbian3_SDK_V1.0] my project compiles and runs in the emulator without problems, but when I build it for Phone Release (GCCE) [Nokia_Symbian3_SDK_V1.0] it throws the following error:
    Code:
    /Nokia/devices/Nokia_Symbian3_SDK_v1.0/EPOC32/BUILD/Symbian/Workspace/X/X_EXE/GCCE/UREL/X.o: In function `QList<QString>::append(QString const&)':
    X.cpp:(.text._ZN5QListI7QStringE6appendERKS0_[_ZN5QListI7QStringE6appendERKS0_]+0x30): undefined reference to `QListData::detach_grow(int*, int)'
    make[1]: *** [\Nokia\devices\Nokia_Symbian3_SDK_v1.0\epoc32\release\gcce\urel\X.exe] Error 1
    make: *** [TARGETX_EXE] Error 2
    Note: X is my project name.

    I am not using QList or QListObject classes anywhere in my project, and I searched the internet for "undefined reference to `QListData::detach_grow(int*, int)'" and the only thing usefull I could find is to add QtXml to the libraries list.

    .pro file:
    Code:
    TEMPLATE = app
    TARGET = X
    QT += core \
        gui \
        xml \
        network
    HEADERS += GPS.h \
        XXXXX.h \
        XXXX.h \
        X.h
    SOURCES += Startup.rss \
        X_reg.rss \
        main.cpp \
        X.cpp
    FORMS += X.ui
    RESOURCES += 
    CONFIG += mobility
    MOBILITY += location
    symbian: { 
        TARGET.UID3 = 0xXXXXXXXX
        MMP_RULES += DEBUGGABLE_UDEBONLY
        TARGET.CAPABILITY = Location \
            ReadUserData \
            WriteDeviceData
        LIBS += -lcone \
            -leikcore \
            -lavkon
        autoStartBlock = "SOURCEPATH ." \
            "START RESOURCE Startup.rss" \
            "END"
        MMP_RULES += autoStartBlock
        deployRscFile = "\"$${EPOCROOT}epoc32/data/Startup.rsc\" - \"C:/private/XXXXXXXX/import/[Startup].rsc\""
        deployFiles.pkg_postrules += deployRscFile
        audioFiles.sources = Audio/*
        audioFiles.path = .
        pixmapFiles.sources = Pixmap/*
        pixmapFiles.path = .
        DEPLOYMENT += deployFiles
        DEPLOYMENT += audioFiles
        DEPLOYMENT += pixmapFiles
    }
    .mmp file:
    Code:
    // ==============================================================================
    // Generated by qmake (2.01a) (Qt 4.7.2) on: 2011-10-11T15:51:14
    // This file is generated by qmake and should not be modified by the
    // user.
    //  Name        : X.mmp
    // ==============================================================================
    
    TARGET		X.exe
    TARGETTYPE		EXE
    
    UID		0xXXXXXXXX 0xXXXXXXXX
    SECUREID		0xXXXXXXXX
    
    EPOCSTACKSIZE		0x14000
    EPOCHEAPSIZE		0x020000 0x800000
    
    SOURCEPATH			. 
    LANG SC 
    START RESOURCE		X.rss
    HEADER
    TARGETPATH			/resource/apps
    END
    
    SOURCEPATH			.
    START RESOURCE		X_reg.rss
    TARGETPATH		/private/XXXXXXXX/import/apps
    END
    
    
    // Qt Macros
    MACRO		UNICODE
    MACRO		QT_KEYPAD_NAVIGATION
    MACRO		QT_SOFTKEYS_ENABLED
    MACRO		QT_USE_MATH_H_FLOATS
    MACRO		QT_XML_LIB
    MACRO		QT_GUI_LIB
    MACRO		QT_NETWORK_LIB
    MACRO		QT_CORE_LIB
    
    SYSTEMINCLUDE		/epoc32/include/mw/QtCore
    SYSTEMINCLUDE		/epoc32/include/mw/QtNetwork
    SYSTEMINCLUDE		/epoc32/include/mw/QtGui
    SYSTEMINCLUDE		/epoc32/include/mw/QtXml
    SYSTEMINCLUDE		/epoc32/include/mw
    SYSTEMINCLUDE		/epoc32/include/mw/QtLocation
    SYSTEMINCLUDE		/epoc32/tools/qt/mkspecs/common/symbian
    SYSTEMINCLUDE		/epoc32/include
    SYSTEMINCLUDE		/epoc32/include/stdapis
    SYSTEMINCLUDE		/epoc32/include/stdapis/sys
    SYSTEMINCLUDE		/epoc32/include/platform/mw
    SYSTEMINCLUDE		/epoc32/include/platform
    SYSTEMINCLUDE		/epoc32/include/platform/loc
    SYSTEMINCLUDE		/epoc32/include/platform/mw/loc
    SYSTEMINCLUDE		/epoc32/include/platform/loc/sc
    SYSTEMINCLUDE		/epoc32/include/platform/mw/loc/sc
    SYSTEMINCLUDE		../../../QtMobility
    SYSTEMINCLUDE		../../../QtMobility/tmp
    SYSTEMINCLUDE		../../../QtLocation
    SYSTEMINCLUDE		../../../QtLocation/tmp
    SYSTEMINCLUDE		/epoc32/include/stdapis/stlportv5
    SYSTEMINCLUDE		.
    SYSTEMINCLUDE		tmp
    
    SOURCEPATH 	.
    SOURCE		main.cpp
    SOURCE		X.cpp
    SOURCE		moc_GPS.cpp
    SOURCE		moc_X.cpp
    
    
    LIBRARY		cone.lib
    LIBRARY		eikcore.lib
    LIBRARY		avkon.lib
    LIBRARY		QtLocation.lib
    LIBRARY		libstdcppv5.lib
    LIBRARY		QtXml.lib
    LIBRARY		QtGui.lib
    LIBRARY		QtNetwork.lib
    LIBRARY		QtCore.lib
    LIBRARY		libpthread.lib
    LIBRARY		libc.lib
    LIBRARY		libm.lib
    LIBRARY		euser.lib
    LIBRARY		libdl.lib profileengine.lib
    STATICLIBRARY	qtmain.lib
    
    CAPABILITY		Location ReadUserData WriteDeviceData NetworkServices 
    
    OPTION CW -cwd include -wchar_t on
    OPTION ARMCC --visibility_inlines_hidden --fpmode fast
    #if defined(ARMCC_4_0)
    OPTION ARMCC --import_all_vtbl
    #endif
    OPTION GCCE -fvisibility-inlines-hidden
    
    VERSION 10.0
    
    ARMFPU softvfp+vfpv2
    
    BYTEPAIRCOMPRESSTARGET
    
    OPTION_REPLACE ARMCC --export_all_vtbl -D__QT_NOEFFECTMACRO_DONOTUSE
    
    USERINCLUDE .
    
    DEBUGGABLE_UDEBONLY
    
    SOURCEPATH .
    START RESOURCE Startup.rss
    END
    
    STDCPP
    Please help, I am stuck in this since few days.
    Last edited by sotmg; 2011-10-23 at 20:06.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,568

    Re: Can't build: Phone Release (GCCE) [Nokia_Symbian3_SDK_v1.0]

    A Google search for QListData brings https://bugreports.qt.nokia.com//browse/QTBUG-13722, can it happen that you have a similar configuration issue, perhaps Qt Creator is also mixed into the picture?
    Otherwise the thread is moved to the Qt board if you do not mind. That is probably a more natural place for Qt-related questions, even if the SDK is Symbian^3.

  3. #3
    Registered User
    Join Date
    Sep 2011
    Posts
    29

    Re: Can't build: Phone Release (GCCE) [Nokia_Symbian3_SDK_v1.0]

    My configuration is different.

    I have Windows XP SP3 as a guest OS on Debian Squeeze host, it is a clean install and there is no previous libraries or anything else.

    I installed the following software in the guest machine:
    1- Operating System.
    2- Visual Studio 2010 Professional
    3- Symbian^3 SDK version 1.0
    4- Carbide.c++ version 3.2

    nothing else.

    Edit:
    Note: I am not using any QList* object in my project.

  4. #4
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Re: Can't build: Phone Release (GCCE) [Nokia_Symbian3_SDK_v1.0]

    Project creation , and carbide installation must be in the same drive. same for the SDK installation. (Sometimes it will throw error)

    regards,

  5. #5
    Registered User
    Join Date
    Sep 2011
    Posts
    29

    Re: Can't build: Phone Release (GCCE) [Nokia_Symbian3_SDK_v1.0]

    Yes they are on the same drive, default directories.

  6. #6
    Registered User
    Join Date
    Sep 2011
    Posts
    29

    Re: Can't build: Phone Release (GCCE) [Nokia_Symbian3_SDK_v1.0]

    Forgot to post about what caused the problem.

    I used combo boxes which used QStringList to add items, QStringList inherits QList.
    I just added the items manually.

  7. #7
    Registered User
    Join Date
    Sep 2011
    Posts
    29

    Re: Can't build: Phone Release (GCCE) [Nokia_Symbian3_SDK_v1.0]

    I installed Windows 7 and everything else from scratch (nokia s^3 sdk 1, carbide.c++3.3), now I am getting another error:

    Code:
    C:\Nokia\devices\Nokia_Symbian3_SDK_v1.0\epoc32\tools\makesis.exe C:\Symbian\Workspace\ProjectName\ProjectName_installer.pkg C:\Symbian\Workspace\ProjectName\ProjectName_installer.sis 
    Processing C:\Symbian\Workspace\ProjectName\ProjectName_installer.pkg...
     Error : Cannot open file : C:/Nokia/devices/Nokia_Symbian3_SDK_v1.0/sf/mw/qt/smartinstaller.sis
    (25) : error: file I/O fault, cannot open C:/Nokia/devices/Nokia_Symbian3_SDK_v1.0/sf/mw/qt/smartinstaller.sis
    ***Non-Zero Status: makesis.exe returned with exit value = 1
    The following file doesn't exist:
    C:/Nokia/devices/Nokia_Symbian3_SDK_v1.0/sf/mw/qt/smartinstaller.sis

    I searched C:/Nokia and it doesn't exist anywhere else.

  8. #8
    Nokia Developer Champion
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: Can't build: Phone Release (GCCE) [Nokia_Symbian3_SDK_v1.0]

    I have little bit of confusion. Your project is Qt project OR Symbian OS C++ project?

  9. #9
    Registered User
    Join Date
    Sep 2011
    Posts
    29

    Re: Can't build: Phone Release (GCCE) [Nokia_Symbian3_SDK_v1.0]

    It is Symbian^3 QT project, look at the .pro and .mmp files..

  10. #10
    Registered User
    Join Date
    Sep 2011
    Posts
    29

    Re: Can't build: Phone Release (GCCE) [Nokia_Symbian3_SDK_v1.0]

    OK, I downloaded Qt SDK 1.1.3 and copied smartinstaller.sis from it to the correct folder, now it successfully creates *.sis files. I will test installing it on the phone and I hope everything works fine.

    The problem in this thread is FIXED.

    Thanks for everyone who helped.

  11. #11
    Nokia Developer Champion
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: [FIXED] Can't build: Phone Release (GCCE) [Nokia_Symbian3_SDK_v1.0]

    Great.. That's what i wanted to say. "If your project is Qt project then download and install Qt SDK and build it in Qt Creator." And you did the same.

Similar Threads

  1. error on trying to build Phone release GCCE
    By andreip in forum Symbian
    Replies: 54
    Last Post: 2011-12-19, 10:20
  2. build in gcce platform cannot find .exe file? in release/gcce/urel/
    By glenchang in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2008-11-26, 07:49
  3. Build GCCE Error for Mobile Release
    By praveenp in forum Symbian
    Replies: 2
    Last Post: 2008-04-16, 10:15
  4. Problem Building Release Build gcce urel
    By aditya4180 in forum Symbian User Interface
    Replies: 0
    Last Post: 2007-06-07, 09:29
  5. Problem Building Release Build gcce urel
    By aditya4180 in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2007-06-07, 09:26

Posting Permissions

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