×

Discussion Board

Results 1 to 4 of 4

Hybrid View

  1. #1
    Registered User
    Join Date
    Apr 2011
    Posts
    115

    Problem with cmmanager.h

    Hi all,
    When I include "cmmanager.h" I get these errors:
    Code:
    extra qualification 'TCmDefConnValue::' on member 'operator=='
    extra qualification 'TCmDefConnValue::' on member 'operator!='
    in the file "cmdefconnvalues.h".

    I've also try to link "cmmanager.lib" and "ConnUiUtilsNotif.lib" but don't work.

    I've try with Nokia_Symbian3_SDK_v1.0 and Nokia_Symbian3_SDK_v1.0_2 SDKs.

    What can I do?

    Regards,
    Andrea993

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

    Re: Problem with cmmanager.h

    I think they are warnings, though you posted partial messages only (note that the Console view contains the complete messages). Anyway, which you have not posted is that they probably come from lines 59 and 68 of cmdefconnvalues.h. You can try removing the "TCmDefConnValue::" from those lines (so they will be "inline TBool operator..." instead).
    Since these are compiler messages, the .lib files you are using absolutely do not matter here.

  3. #3
    Registered User
    Join Date
    Apr 2011
    Posts
    115

    Re: Problem with cmmanager.h

    I've already saw the console but I don't find nothing
    Code:
    ***Building project "IAPmanager" for configuration "Phone Debug (GCCE) [Nokia_Symbian3_SDK_v1.0]"
    
    ***Printing environment variables modified from default:
    PATH=C:\Nokia\devices\Nokia_Symbian3_SDK_v1.0\epoc32\tools;C:\Nokia\devices\Nokia_Symbian3_SDK_v1.0\epoc32\gcc\bin;C:/Symbian/Tools/Carbide.c++ v3.2/jre/bin/client;C:/Symbian/Tools/Carbide.c++ v3.2/jre/bin;C:/Symbian/Tools/Carbide.c++ v3.2/jre/lib/i386;C:\Program Files (x86)\PC Connectivity Solution\;C:\Program Files (x86)\AMD APP\bin\x86_64;C:\Program Files (x86)\AMD APP\bin\x86;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\CodeSourcery\Sourcery G++ Lite\bin;C:\Perl\bin\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Common Files\Symbian\tools;C:\Program Files (x86)\CSL Arm Toolchain\bin;C:\Nokia\devices\Nokia_Symbian3_SDK_v1.0_2\epoc32\tools\sbs\bin;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\MATLAB\R2011a\runtime\win64;C:\Program Files\MATLAB\R2011a\bin;C:\Program Files (x86)\CMake 2.8\bin
    =::=::\
    EPOCROOT=\Nokia\devices\Nokia_Symbian3_SDK_v1.0\
    NO_DEPENDENCIES=-nd
    MAKE=make -j 4
    
    Working Directory: C:/Symbian/Carbide/workspace/IAPmanager/group
    
    ***Makefile structures up to date. Skipping 'bldmake bldfiles'
    
    ***Invoking abld command
    perl.exe -S ABLD.PL \Symbian\Carbide\workspace\IAPmanager\group\ export  
      make -r  -f "\Nokia\devices\Nokia_Symbian3_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\IAPmanager\group\EXPORT.make" EXPORT VERBOSE=-s
    make: Nothing to be done for `EXPORT'.
    
    Total Time: 0 sec
    
    ***Invoking abld command
    perl.exe -S ABLD.PL \Symbian\Carbide\workspace\IAPmanager\group\ library gcce  
      make -r  -f "\Nokia\devices\Nokia_Symbian3_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\IAPmanager\group\GCCE.make" LIBRARY VERBOSE=-s
    make -s  -r -f "\Nokia\devices\Nokia_Symbian3_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\IAPmanager\group\IAPMANAGER\GCCE\IAPMANAGER.GCCE" LIBRARY
    WARNING: Not attempting to create any import libraries.
    When exports are frozen in "\Symbian\Carbide\workspace\IAPmanager\eabi\IAPmanager.def", regenerate Makefile.
    
    Total Time: 1 sec
    
    ***Invoking abld command
    perl.exe -S ABLD.PL \Symbian\Carbide\workspace\IAPmanager\group\ resource gcce udeb  
      make -r  -f "\Nokia\devices\Nokia_Symbian3_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\IAPmanager\group\GCCE.make" RESOURCE CFG=UDEB VERBOSE=-s
    make -s  -r -f "\Nokia\devices\Nokia_Symbian3_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\IAPmanager\group\IAPMANAGER\GCCE\IAPMANAGER.GCCE" RESOURCEUDEB
    
    Total Time: 1 sec
    
    ***Invoking abld command
    perl.exe -S ABLD.PL \Symbian\Carbide\workspace\IAPmanager\group\ target gcce udeb  
      make -r  -f "\Nokia\devices\Nokia_Symbian3_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\IAPmanager\group\GCCE.make" TARGET CFG=UDEB VERBOSE=-s
    make -j 4 -s  -r -f "\Nokia\devices\Nokia_Symbian3_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\IAPmanager\group\IAPMANAGER\GCCE\IAPMANAGER.GCCE" UDEB
    iapmanager.cpp
    WARNING: Not attempting to create any import libraries.
    When exports are frozen in "\Symbian\Carbide\workspace\IAPmanager\eabi\IAPmanager.def", regenerate Makefile.
    In file included from /Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/include/e32cmn.h:1114,
                     from /Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/include/e32std.h:25,
                     from /Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/include/e32base.h:20,
                     from /Symbian/Carbide/workspace/IAPmanager/inc/IAPmanager.h:17,
                     from /Symbian/Carbide/workspace/IAPmanager/src/iapmanager.cpp:12:
    /Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/include/e32des8.h:224: note: the mangling of 'va_list' has changed in GCC 4.4
    In file included from /Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/include/e32cmn.h:6794,
                     from /Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/include/e32std.h:25,
                     from /Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/include/e32base.h:20,
                     from /Symbian/Carbide/workspace/IAPmanager/inc/IAPmanager.h:17,
                     from /Symbian/Carbide/workspace/IAPmanager/src/iapmanager.cpp:12:
    /Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/include/e32cmn.inl: In member function 'SSecureId::operator const TSecureId&() const':
    /Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/include/e32cmn.inl:7109: warning: returning reference to temporary
    /Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/include/e32cmn.inl: In member function 'SVendorId::operator const TVendorId&() const':
    /Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/include/e32cmn.inl:7149: warning: returning reference to temporary
    In file included from /Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/include/mw/cmmanager.h:25,
                     from /Symbian/Carbide/workspace/IAPmanager/inc/IAPmanager.h:19,
                     from /Symbian/Carbide/workspace/IAPmanager/src/iapmanager.cpp:12:
    /Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/include/mw/cmdefconnvalues.h: At global scope:
    /Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/include/mw/cmdefconnvalues.h:59: error: extra qualification 'TCmDefConnValue::' on member 'operator=='
    /Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/include/mw/cmdefconnvalues.h:68: error: extra qualification 'TCmDefConnValue::' on member 'operator!='
    /Symbian/Carbide/workspace/IAPmanager/src/iapmanager.cpp:17: warning: 'static CIAPmanager* CIAPmanager::NewLC()' redeclared without dllimport attribute: previous dllimport ignored
    /Symbian/Carbide/workspace/IAPmanager/src/iapmanager.cpp:25: warning: 'static CIAPmanager* CIAPmanager::NewL()' redeclared without dllimport attribute: previous dllimport ignored
    /Symbian/Carbide/workspace/IAPmanager/src/iapmanager.cpp:43: warning: 'virtual CIAPmanager::~CIAPmanager()' redeclared without dllimport attribute: previous dllimport ignored
    /Symbian/Carbide/workspace/IAPmanager/src/iapmanager.cpp:48: warning: 'TVersion CIAPmanager::Version() const' redeclared without dllimport attribute: previous dllimport ignored
    /Symbian/Carbide/workspace/IAPmanager/src/iapmanager.cpp:57: warning: 'void CIAPmanager::ExampleFuncAddCharL(const TChar&)' redeclared without dllimport attribute: previous dllimport ignored
    /Symbian/Carbide/workspace/IAPmanager/src/iapmanager.cpp:69: warning: 'void CIAPmanager::ExampleFuncRemoveLast()' redeclared without dllimport attribute: previous dllimport ignored
    /Symbian/Carbide/workspace/IAPmanager/src/iapmanager.cpp:79: warning: 'const TPtrC CIAPmanager::ExampleFuncString() const' redeclared without dllimport attribute: previous dllimport ignored
    make[1]: *** [\Nokia\devices\Nokia_Symbian3_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\IAPmanager\group\IAPMANAGER\GCCE\udeb\IAPmanager.o] Error 1
    make: *** [TARGETIAPMANAGER] Error 2
    
    Total Time: 4 sec
    
    ***Invoking abld command
    perl.exe -S ABLD.PL \Symbian\Carbide\workspace\IAPmanager\group\ final gcce udeb  
      make -r  -f "\Nokia\devices\Nokia_Symbian3_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\IAPmanager\group\GCCE.make" FINAL CFG=UDEB VERBOSE=-s
    
    Total Time: 5 sec
    
    ***Invoking abld command
    perl.exe -S ABLD.PL \Symbian\Carbide\workspace\IAPmanager\group\ test export  
      make -r  -f "\Nokia\devices\Nokia_Symbian3_SDK_v1.0\EPOC32\BUILD\Symbian\Carbide\workspace\IAPmanager\group\EXPORTtest.make" EXPORT VERBOSE=-s
    Nothing to do
    
    Total Time: 5 sec
    
    ***Errors were detected in build. See the Problems or Console view for details.
    
    Total Time: 5 sec

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,572

    Re: Problem with cmmanager.h

    Ok, they are errors. The suggestion will probably work, as the error messages really point to the lines I guessed in #2
    Quote Originally Posted by your post
    /Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/include/mw/cmdefconnvalues.h:59: error: extra qualification 'TCmDefConnValue::' on member 'operator=='
    /Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/include/mw/cmdefconnvalues.h:68: error: extra qualification 'TCmDefConnValue::' on member 'operator!='
    and the file which you should modify is /Nokia/devices/Nokia_Symbian3_SDK_v1.0/epoc32/include/mw/cmdefconnvalues.h

Similar Threads

  1. Cannot include cmmanager.h
    By tampstaffs in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2008-05-14, 20:21

Posting Permissions

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