×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Apr 2005
    Posts
    42

    help !! about SIP errors

    plz help me !!!

    source code :
    http://hikoseijuroh.myweb.hinet.net/sipex.rar

    .xml put on C:\

    following method of SIP Programmer's Guide , but I get a lot of errors :

    Code:
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(19): error C2018: unknown character '0xa1'
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(19): error C2018: unknown character '0xa6'
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(63): error C2039: 'CreateSIPInviteDialogAssoc' : is not a member of 'CSIPExample'
            C:\MyDOC\Symbian\SIPExample\inc\CSIPEngine.h(28) : see declaration of 'CSIPExample'
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(27): error C2039: 'ExecuteL' : is not a member of 'CSIPExample'
            C:\MyDOC\Symbian\SIPExample\inc\CSIPEngine.h(28) : see declaration of 'CSIPExample'
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(132): error C2059: syntax error : '}'
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(132): error C2059: syntax error : '}'
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(21): error C2061: syntax error : identifier 'CSIPExample'
    c:\MyDOC\Symbian\SIPExample\src\SIPExampleAppUi.cpp(31): error C2065: 'CSIPExample' : undeclared identifier
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(44): error C2065: 'iConnection' : undeclared identifier
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(34): error C2065: 'iProfile' : undeclared identifier
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(32): error C2065: 'iProfileRegistry' : undeclared identifier
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(30): error C2065: 'iSIP' : undeclared identifier
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(49): error C2065: 'iSIPClientTransaction' : undeclared identifier
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(46): error C2065: 'iSIPInviteDialogAssoc' : undeclared identifier
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(30): error C2065: 'iUid' : undeclared identifier
    c:\MyDOC\Symbian\SIPExample\src\SIPExampleAppUi.cpp(31): error C2065: 'KUidCSIPExampleWrapper' : undeclared identifier
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(21): error C2065: 'self' : undeclared identifier
    c:\MyDOC\Symbian\SIPExample\src\SIPExampleAppUi.cpp(31): error C2065: 'sipExample' : undeclared identifier
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(19): error C2143: syntax error : missing ';' before '*'
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(132): error C2143: syntax error : missing ';' before '}'
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(44): error C2227: left of '->ConnectionL' must point to class/struct/union
            type is ''unknown-type''
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(23): error C2227: left of '->ConstructL' must point to class/struct/union
            type is ''unknown-type''
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(34): error C2227: left of '->DefaultProfileL' must point to class/struct/union
            type is ''unknown-type''
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(37): error C2227: left of '->EnableL' must point to class/struct/union
            type is ''unknown-type''
    c:\MyDOC\Symbian\SIPExample\src\SIPExampleAppUi.cpp(32): error C2227: left of '->ExecuteL' must point to class/struct/union
            type is ''unknown-type''
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(49): error C2227: left of '->SendInviteL' must point to class/struct/union
            type is ''unknown-type''
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(19): error C2259: 'CSIPExample' : cannot instantiate abstract class
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(64): error C2365: 'CreateSIPInviteDialogAssoc' : redefinition; previous definition was a 'formerly unknown identifier'
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(20): error C2371: 'CSIPExample::NewL' : redefinition; different basic types
            C:\MyDOC\Symbian\SIPExample\inc\CSIPEngine.h(35) : see declaration of 'CSIPExample::NewL'
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(107): error C2373: 'CSIPExample' : redefinition; different type modifiers
            src\CSIPEngine.cpp(19) : see declaration of 'CSIPExample'
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(20): error C2501: 'CSIPExample::NewL' : missing storage-class or type specifiers
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(85): error C2509: 'ProfileRegistrationStatusChanged' : member function not declared in 'CSIPExample'
            C:\MyDOC\Symbian\SIPExample\inc\CSIPEngine.h(28) : see declaration of 'CSIPExample'
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(127): error C2511: 'void CSIPExample::IncomingRequest(CSIPServerTransaction *)' : overloaded member function not found in 'CSIPExample'
            C:\MyDOC\Symbian\SIPExample\inc\CSIPEngine.h(28) : see declaration of 'CSIPExample'
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(114): error C2511: 'void CSIPExample::IncomingResponse(CSIPClientTransaction &,CSIPDialogAssocBase &)' : overloaded member function not found in 'CSIPExample'
            C:\MyDOC\Symbian\SIPExample\inc\CSIPEngine.h(28) : see declaration of 'CSIPExample'
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(19): error C2512: 'CSIPExample' : no appropriate default constructor available
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(108): error C2541: 'delete' : cannot delete objects that are not pointers
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(20): error C2556: 'int *CSIPExample::NewL(TUid)' : overloaded function differs only by return type from 'CSIPExample *CSIPExample::NewL(TUid)'
            C:\MyDOC\Symbian\SIPExample\inc\CSIPEngine.h(35) : see declaration of 'CSIPExample::NewL'
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(106): error C2588: '::~CSIPExample' : illegal global destructor
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(30): error C2673: 'ExecuteL' : global functions do not have 'this' pointers
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(32): error C2673: 'ExecuteL' : global functions do not have 'this' pointers
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(37): error C2673: 'ExecuteL' : global functions do not have 'this' pointers
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(21): error C2676: binary '*' : 'CSIPExample' does not define this operator or a conversion to a type acceptable to the predefined operator
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(47): error C3861: 'CreateSIPInviteDialogAssoc': identifier not found, even with argument-dependent lookup
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(77): error C3861: 'iConnection': identifier not found, even with argument-dependent lookup
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(37): error C3861: 'iProfile': identifier not found, even with argument-dependent lookup
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(44): error C3861: 'iProfile': identifier not found, even with argument-dependent lookup
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(79): error C3861: 'iProfile': identifier not found, even with argument-dependent lookup
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(34): error C3861: 'iProfileRegistry': identifier not found, even with argument-dependent lookup
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(37): error C3861: 'iProfileRegistry': identifier not found, even with argument-dependent lookup
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(44): error C3861: 'iProfileRegistry': identifier not found, even with argument-dependent lookup
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(32): error C3861: 'iSIP': identifier not found, even with argument-dependent lookup
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(108): error C3861: 'iSIP': identifier not found, even with argument-dependent lookup
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(49): error C3861: 'iSIPInviteDialogAssoc': identifier not found, even with argument-dependent lookup
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(22): error C3861: 'self': identifier not found, even with argument-dependent lookup
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(23): error C3861: 'self': identifier not found, even with argument-dependent lookup
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(25): error C3861: 'self': identifier not found, even with argument-dependent lookup
    c:\MyDOC\Symbian\SIPExample\src\SIPExampleAppUi.cpp(32): error C3861: 'sipExample': identifier not found, even with argument-dependent lookup
    c:\MyDOC\Symbian\SIPExample\src\CSIPEngine.cpp(109): warning C4508: 'CSIPExample' : function should return a value; 'void' return type assumed

  2. #2
    Registered User
    Join Date
    Jul 2005
    Location
    Guangzhou, China
    Posts
    26

    Re: help !! about SIP errors

    Most of them are syntax errors, clear then item by item.
    Pay patience. Guy.

  3. #3
    Registered User
    Join Date
    Dec 2005
    Location
    Italy
    Posts
    12

    Re: help !! about SIP errors

    the file is not available. can you publish it again? thanks in advance

  4. #4
    Super Contributor
    Join Date
    May 2005
    Location
    Hyderabad,India
    Posts
    704

    Re: help !! about SIP errors

    Hi,

    Most of the errors are in ur SIPExample and SIPEngine, so check these two files. and have declared include file for these two classes.


    regards,
    eswar

Similar Threads

  1. JAIN SIP and Symbian C++ SIP
    By RyanSantos in forum Symbian Networking & Messaging (Closed)
    Replies: 11
    Last Post: 2008-07-25, 15:44
  2. Series 60 SIP Programmer's Guide 問題
    By wgarnett in forum Symbian
    Replies: 5
    Last Post: 2005-09-09, 13:13
  3. Problem with SIP Plug-in for Series 60 SDK 2.0
    By jalakuri in forum Symbian Tools & SDKs
    Replies: 27
    Last Post: 2005-08-22, 09:55
  4. Adding new SIP profiles to SIP Settings?
    By jrantam in forum Symbian Tools & SDKs
    Replies: 0
    Last Post: 2005-03-02, 10:56
  5. SIP plugin TX an 400 after RX an INVITE
    By Zaibach in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2004-08-06, 11:29

Posting Permissions

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