×

Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 19
  1. #1
    Registered User
    Join Date
    Jan 2011
    Location
    delhI,indiA
    Posts
    154

    Angry error occured in PJSip1.6 in symbian^3 SDK 1.0

    Hello All,

    I am compiling the PJSIP1.6 with symbian^3 SDK version 1.0 and I replaced the file es_sock.h with the file es_sock.h(compiled in Symbian S60 5th edition) then after compiling I got the following error given below:-


    1. the file 'metacontainer.h' cannot be opened pjproject-1.6 line 22 C/C++ Problem
    2. undefined identifier 'Meta' pjproject-1.6 line 23 C/C++ Problem
    3. undefined identifier 'Meta' pjproject-1.6 line 24 C/C++ Problem
    4. undefined identifier 'Meta' pjproject-1.6 line 25 C/C++ Problem
    5. illegal struct/union/enum/class definition pjproject-1.6 line 1204 C/C++ Problem
    6. illegal struct/union/enum/class definition pjproject-1.6 line 1397 C/C++ Problem
    7. the file 'es_sock.inl' cannot be opened pjproject-1.6 line 1541 C/C++ Problem

    Any Advice will be welcomed
    I am in love,
    With what i am,
    Not what i should be.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: error occured in PJSip1.6 in symbian^3 SDK 1.0

    I really wonder how this thread fits to the Symbian User Interface category. Anyway, as said in the errors, 'metacontainer.h' can not be opened, i.e. it is most likely missing, or the include path for it is not apecified in the mmp file. same goes with 'es_sock.inl', the other errors are propably caused by these two.

  3. #3
    Registered User
    Join Date
    Jan 2011
    Location
    delhI,indiA
    Posts
    154

    Re: error occured in PJSip1.6 in symbian^3 SDK 1.0

    Rightly Said Yucca but as i said and assumes these are the SDK related errors as it had compiled properly in older SDKs .
    I am in love,
    With what i am,
    Not what i should be.

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: error occured in PJSip1.6 in symbian^3 SDK 1.0

    That could be, anyway, have you noted that Symbian^3 SDK has slightly different folder structure, thus you might need to adjust the include paths. Also could be that some files are removed from the SDK, thus you should check whether they do exists still. Anyway, you would need to check where they are located, to be sure that you have indeed included the path in your mmp file.

  5. #5
    Registered User
    Join Date
    Jan 2011
    Location
    delhI,indiA
    Posts
    154

    Re: error occured in PJSip1.6 in symbian^3 SDK 1.0

    i did that by copying the specified file from previous sdk into the required path at current Symbian^ 3 1.0 SDk. Now its flaging more errors ;(
    I am in love,
    With what i am,
    Not what i should be.

  6. #6
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: error occured in PJSip1.6 in symbian^3 SDK 1.0

    You should not copy things between different SDKs unless you do know exactly what you are doing and why.

    Thus remove the files copied, and do actually search whether the files are still included in the SDK, and then just update your mmp files's include paths.

  7. #7
    Registered User
    Join Date
    Jan 2011
    Location
    delhI,indiA
    Posts
    154

    Re: error occured in PJSip1.6 in symbian^3 SDK 1.0

    These are the following errors without any changes in the Symbian^3 SDK..........Please suggest..............
    i did a you saidCreation Time Description Resource Path Location Type
    1315821717099 C:\Adore_main_project\pjproject-1.6\pjlib\src\pj\addr_resolv_symbian.cpp:29) pjproject-1.6 line 28 C/C++ Problem
    1315821717104 C:\Adore_main_project\pjproject-1.6\pjlib\src\pj\addr_resolv_symbian.cpp:29) pjproject-1.6 line 30 C/C++ Problem
    1315821717109 C:\Adore_main_project\pjproject-1.6\pjlib\src\pj\addr_resolv_symbian.cpp:29) pjproject-1.6 line 31 C/C++ Problem
    1315821717114 C:\Adore_main_project\pjproject-1.6\pjlib\src\pj\addr_resolv_symbian.cpp:29) pjproject-1.6 line 57 C/C++ Problem
    1315821717098 C:\Adore_main_project\pjproject-1.6\pjlib\src\pj\os_symbian.h:32 pjproject-1.6 line 28 C/C++ Problem
    1315821717103 C:\Adore_main_project\pjproject-1.6\pjlib\src\pj\os_symbian.h:32 pjproject-1.6 line 30 C/C++ Problem
    1315821717108 C:\Adore_main_project\pjproject-1.6\pjlib\src\pj\os_symbian.h:32 pjproject-1.6 line 31 C/C++ Problem
    1315821717113 C:\Adore_main_project\pjproject-1.6\pjlib\src\pj\os_symbian.h:32 pjproject-1.6 line 57 C/C++ Problem
    1315821717097 C:\Nokia\devices\Nokia_Symbian3_SDK_v1.0\epoc32\include\es_sock.h:36 pjproject-1.6 line 28 C/C++ Problem
    1315821717102 C:\Nokia\devices\Nokia_Symbian3_SDK_v1.0\epoc32\include\es_sock.h:36 pjproject-1.6 line 30 C/C++ Problem
    1315821717107 C:\Nokia\devices\Nokia_Symbian3_SDK_v1.0\epoc32\include\es_sock.h:36 pjproject-1.6 line 31 C/C++ Problem
    1315821717112 C:\Nokia\devices\Nokia_Symbian3_SDK_v1.0\epoc32\include\es_sock.h:36 pjproject-1.6 line 57 C/C++ Problem
    1315821717117 C:\Adore_main_project\pjproject-1.6\pjlib\src\pj\addr_resolv_symbian.cpp:29) pjproject-1.6 line 28 C/C++ Problem
    1315821717121 C:\Adore_main_project\pjproject-1.6\pjlib\src\pj\addr_resolv_symbian.cpp:29) pjproject-1.6 line 30 C/C++ Problem
    1315821717126 C:\Adore_main_project\pjproject-1.6\pjlib\src\pj\addr_resolv_symbian.cpp:29) pjproject-1.6 line 33 C/C++ Problem
    1315821717131 C:\Adore_main_project\pjproject-1.6\pjlib\src\pj\addr_resolv_symbian.cpp:29) pjproject-1.6 line 36 C/C++ Problem
    1315821717138 C:\Adore_main_project\pjproject-1.6\pjlib\src\pj\addr_resolv_symbian.cpp:29) pjproject-1.6 line 37 C/C++ Problem
    1315821717143 C:\Adore_main_project\pjproject-1.6\pjlib\src\pj\addr_resolv_symbian.cpp:29) pjproject-1.6 line 43 C/C++ Problem
    1315821717148 C:\Adore_main_project\pjproject-1.6\pjlib\src\pj\addr_resolv_symbian.cpp:29) pjproject-1.6 line 44 C/C++ Problem
    1315821717153 C:\Adore_main_project\pjproject-1.6\pjlib\src\pj\addr_resolv_symbian.cpp:29) pjproject-1.6 line 46 C/C++ Problem
    1315821717163 C:\Adore_main_project\pjproject-1.6\pjlib\src\pj\addr_resolv_symbian.cpp:29) pjproject-1.6 line 50 C/C++ Problem
    1315821717116 C:\Adore_main_project\pjproject-1.6\pjlib\src\pj\os_symbian.h:32 pjproject-1.6 line 28 C/C++ Problem
    1315821717120 C:\Adore_main_project\pjproject-1.6\pjlib\src\pj\os_symbian.h:32 pjproject-1.6 line 30 C/C++ Problem
    1315821717125 C:\Adore_main_project\pjproject-1.6\pjlib\src\pj\os_symbian.h:32 pjproject-1.6 line 33 C/C++ Problem
    1315821717130 C:\Adore_main_project\pjproject-1.6\pjlib\src\pj\os_symbian.h:32 pjproject-1.6 line 36 C/C++ Problem
    1315821717137 C:\Adore_main_project\pjproject-1.6\pjlib\src\pj\os_symbian.h:32 pjproject-1.6 line 37 C/C++ Problem
    1315821717142 C:\Adore_main_project\pjproject-1.6\pjlib\src\pj\os_symbian.h:32 pjproject-1.6 line 43 C/C++ Problem
    1315821717147 C:\Adore_main_project\pjproject-1.6\pjlib\src\pj\os_symbian.h:32 pjproject-1.6 line 44 C/C++ Problem
    1315821717152 C:\Adore_main_project\pjproject-1.6\pjlib\src\pj\os_symbian.h:32 pjproject-1.6 line 46 C/C++ Problem
    1315821717162 C:\Adore_main_project\pjproject-1.6\pjlib\src\pj\os_symbian.h:32 pjproject-1.6 line 50 C/C++ Problem
    1315821717115 C:\Nokia\devices\Nokia_Symbian3_SDK_v1.0\epoc32\include\es_sock.h:38 pjproject-1.6 line 28 C/C++ Problem
    1315821717119 C:\Nokia\devices\Nokia_Symbian3_SDK_v1.0\epoc32\include\es_sock.h:38 pjproject-1.6 line 30 C/C++ Problem
    1315821717124 C:\Nokia\devices\Nokia_Symbian3_SDK_v1.0\epoc32\include\es_sock.h:38 pjproject-1.6 line 33 C/C++ Problem
    1315821717129 C:\Nokia\devices\Nokia_Symbian3_SDK_v1.0\epoc32\include\es_sock.h:38 pjproject-1.6 line 36 C/C++ Problem
    1315821717136 C:\Nokia\devices\Nokia_Symbian3_SDK_v1.0\epoc32\include\es_sock.h:38 pjproject-1.6 line 37 C/C++ Problem
    1315821717141 C:\Nokia\devices\Nokia_Symbian3_SDK_v1.0\epoc32\include\es_sock.h:38 pjproject-1.6 line 43 C/C++ Problem
    1315821717146 C:\Nokia\devices\Nokia_Symbian3_SDK_v1.0\epoc32\include\es_sock.h:38 pjproject-1.6 line 44 C/C++ Problem
    1315821717151 C:\Nokia\devices\Nokia_Symbian3_SDK_v1.0\epoc32\include\es_sock.h:38 pjproject-1.6 line 46 C/C++ Problem
    1315821717161 C:\Nokia\devices\Nokia_Symbian3_SDK_v1.0\epoc32\include\es_sock.h:38 pjproject-1.6 line 50 C/C++ Problem
    1315821717096 (included from: pjproject-1.6 line 28 C/C++ Problem
    1315821717101 (included from: pjproject-1.6 line 30 C/C++ Problem
    1315821717106 (included from: pjproject-1.6 line 31 C/C++ Problem
    1315821717111 (included from: pjproject-1.6 line 57 C/C++ Problem
    1315821717123 (included from: pjproject-1.6 line 33 C/C++ Problem
    1315821717128 (included from: pjproject-1.6 line 36 C/C++ Problem
    1315821717135 (included from: pjproject-1.6 line 37 C/C++ Problem
    1315821717140 (included from: pjproject-1.6 line 43 C/C++ Problem
    1315821717145 (included from: pjproject-1.6 line 44 C/C++ Problem
    1315821717150 (included from: pjproject-1.6 line 46 C/C++ Problem
    1315821717160 (included from: pjproject-1.6 line 50 C/C++ Problem
    1315821717118 declaration syntax error pjproject-1.6 line 30 C/C++ Problem
    1315821717144 declaration syntax error pjproject-1.6 line 44 C/C++ Problem
    1315821717149 declaration syntax error pjproject-1.6 line 46 C/C++ Problem
    1315821717159 declaration syntax error pjproject-1.6 line 50 C/C++ Problem
    1315821717164 declaration syntax error pjproject-1.6 line 40 C/C++ Problem
    1315821717165 declaration syntax error pjproject-1.6 line 41 C/C++ Problem
    1315821717166 declaration syntax error pjproject-1.6 line 42 C/C++ Problem
    1315821717132 identifier 'SMetaDataECom' redeclared pjproject-1.6 line 37 C/C++ Problem
    1315821717122 illegal name overloading pjproject-1.6 line 33 C/C++ Problem
    1315821717105 name has not been declared in namespace/class pjproject-1.6 line 31 C/C++ Problem
    1315821717134 now declared as: 'XEventBase' pjproject-1.6 line 37 C/C++ Problem
    1315821717093 the file 'comms-infras/metacontainer.h' cannot be opened pjproject-1.6 line 34 C/C++ Problem
    1315821717095 the file 'comms-infras/metadata.h' cannot be opened pjproject-1.6 line 28 C/C++ Problem
    1315821717094 the file 'elements/sd_errors.h' cannot be opened pjproject-1.6 line 35 C/C++ Problem
    1315821717169 the file 'es_sock.inl' cannot be opened pjproject-1.6 line 1565 C/C++ Problem
    1315821717167 undefined identifier 'Den' pjproject-1.6 line 646 C/C++ Problem
    1315821717110 undefined identifier 'EXPORT_TYPEID_TABLE' pjproject-1.6 line 57 C/C++ Problem
    1315821717100 undefined identifier 'Meta' pjproject-1.6 line 30 C/C++ Problem
    1315821717127 undefined identifier 'Meta' pjproject-1.6 line 36 C/C++ Problem
    1315821717139 undefined identifier 'Meta' pjproject-1.6 line 43 C/C++ Problem
    1315821717168 undefined identifier 'SMetaDataECom' pjproject-1.6 line 1396 C/C++ Problem
    1315821717133 was declared as: 'XParameterSetBase' pjproject-1.6 line 37 C/C++ Problem
    I am in love,
    With what i am,
    Not what i should be.

  8. #8
    Registered User
    Join Date
    Jan 2011
    Location
    delhI,indiA
    Posts
    154

    Re: error occured in PJSip1.6 in symbian^3 SDK 1.0

    Please suggest.........I waiting for the reply............
    I am in love,
    With what i am,
    Not what i should be.

  9. #9
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,674

    Re: error occured in PJSip1.6 in symbian^3 SDK 1.0

    Many of them are severely truncated error messages, it is also probable that you see multi-line error messages in mixed order. Check the 'Console' view instead, it contains the complete messages, and they are in the correct order.
    Then focus on the first error from there, because it can easily be the cause for the later issues.
    The collection of "the file xy cannot be opened" lines shows that your SYSTEMINCLUDE paths are still incomplete. Symbian^3 scatters these folders (like comms-infras) many places. While "SYSTEMINCLUDE \epoc32\include" would allow a "#include <comms-infras/es_event.h>" to complete (because epoc32\include\comms-infras\es_event.h is an existing file), metacontainer.h is located in epoc32\include\platform\comms-infras\metacontainer.h, so you will need to add a "SYSTEMINCLUDE \epoc32\include\platform" line too in the .mmp file. Then metacontainer.h and metadata.h will be included correctly. The same line will fix "elements/sd_errors.h" too.

  10. #10
    Registered User
    Join Date
    Jan 2011
    Location
    delhI,indiA
    Posts
    154

    Re: error occured in PJSip1.6 in symbian^3 SDK 1.0

    i did as you said .
    now its showing he following error:undefined identifier 'KSoSSLDomainName' in ssl_sock_symbian.cpp file and this file is present at the path C:\Nokia\devices\Nokia_Symbian3_SDK_v1.0_3\epoc32\include but in compare to same file in the old SDK 5th at path :
    C:\S60\devices\S60_5th_Edition_SDK_v1.0\epoc32\include in the File SSL.H the content is changed totally as KSoSSLDomainName isn't defined in the current file
    Noe what should i do? replace the new file with the old one or some more logical suggestion is to be implemented
    I am in love,
    With what i am,
    Not what i should be.

  11. #11
    Registered User
    Join Date
    Jan 2011
    Location
    delhI,indiA
    Posts
    154

    Re: error occured in PJSip1.6 in symbian^3 SDK 1.0

    Old ssl.h File


    // SSL.H

    // Copyright (c) Symbian Software Ltd. 1997-2007. All rights reserved.


    /**
    * @file
    * SSL exported functions.
    */

    #ifndef __TCPSSL_H__
    #define __TCPSSL_H__

    #include <in_sock.h>
    #include <sslerr.h>

    //TDNInfo & TCertInfo moved to a header file owned by HTTP
    //included their file here to reduce impact of this move
    #include <ssl_compatibility.h>

    // next 3 lines xfer from ssldata.h
    /*
    Code using this const has been commented out.
    Be careful 0x406 could have been defined in the in_sock.h in the mean time...
    const TUint KSoCurrentConnectStatus =0x406;
    */
    /**
    * The SSL connection status.
    *
    * @internalComponent
    *
    *
    * @deprecated No longer used by networking
    */
    enum TSSLConnectStatus
    {
    /** Connected. */
    ESSLConnected,
    /** Waiting for user to answer. */
    ESSLWaitingUserAnswer,
    /** Connection failed. */
    ESSLConnectFailed
    };

    /**
    * No dialogs.
    *
    * @internalComponent
    */
    const TUint KSSLUserDialogMode = 0x02; // no dialogs

    /**
    * SSL Protocol Module's UID.
    *
    * @internalComponent
    */
    const TInt KUidSSLProtocolModule = 0x100011b2;

    /**
    * Unicode SSL Protocol Module's UID.
    *
    * @internalComponent
    */
    const TInt KUidUnicodeSSLProtocolModule = 0x1000183d;

    /**
    * SSL v3 Protocol Module's UID.
    *
    * @internalComponent
    */
    const TInt KUidSSLv3ProtocolModule = 0x10001699;

    /**
    * Socket reads from SSL.
    *
    * @internalComponent
    */
    const TUint KSockReadFromSSL = 0x10040000;

    /**
    * Socket writes to SSL.
    *
    * @internalComponent
    */
    const TUint KSockWriteFromSSL = 0x10044000;

    // SSL/TLS connection Option taken from previous releases. This information has been
    // removed from in_sock.h. All adaptor options have been removed.
    const TUint KSolInetSSL = 0x205; ///< SSL setopts/ioctls

    const TUint KSoCurrentCipherSuite = 0x402; ///< Get current cipher suites
    const TUint KSoSSLServerCert = 0x403; ///< Get server certificate
    const TUint KSoDialogMode = 0x404; ///< Get/Set current dialog mode
    const TUint KSoAvailableCipherSuites = 0x405; ///< Get available cipher suites
    // 0x406 skipped - See KSoCurrentConnectStatus
    const TUint KSoKeyingMaterial = 0x407; ///< Get Keying Material for EAP

    /**
    * @publishedAll
    *
    *
    * Enable the use of TLS_RSA_WITH_NULL_MD5 and TLS_RSA_WITH_NULL_SHA ciphersuites
    * These ciphersuites use NULL encryption and therefore offer no protection against eavesdropping.
    * Server authentication (and client, if a client certificate is used) is performed and data integrity
    * is still checked.
    *
    * (Ciphersuite TLS_NULL_WITH_NULL_NULL is never supported).
    *
    * An argument of 0 disables the ciphersuites and non-zero enables them.
    */
    const TUint KSoEnableNullCiphers = 0x408; ///< Enable/disable NULL ciphers

    /**
    *
    * @internalComponent
    */
    const TUint KSoSSLDomainName = 0x505; ///< Set Domain name

    // Adaptor layer specific options
    // all SSL related options are supposed to be here
    // rather then in insock/inc/in_sock.h
    /**
    * Use SSL v2 handschake.
    *
    * @internalAll
    * @deprecated the option is no longer supported
    */
    const TUint KSoUseSSLv2Handshake = 0x500;

    // For KSoDialogMode
    const TUint KSSLDialogUnattendedMode= 0x01; ///< No dialogs
    const TUint KSSLDialogAttendedMode = 0x00; ///< dialogs


    // A version must be specified when creating an SSL factory
    /**
    * SSL module major version number.
    *
    * @internalComponent
    */
    const TUint KSSLMajorVersionNumber=1;
    /**
    * SSL module minor version number.
    *
    * @internalComponent
    */
    const TUint KSSLMinorVersionNumber=0;
    /**
    * SSL module build version number.
    *
    * @internalComponent
    */
    const TUint KSSLBuildVersionNumber=500;

    class RMBufChain;
    class CSSLSessionStore;
    class CSSLSessionState;
    class CNifFactory;
    class CSSLProviderBase;
    class CSymmetricCipher;
    class CCryptoFactory;
    class CCertFactory;
    class CSSLTimers;
    class MSSLSocketNotify
    /**
    * Abstract base class used to notify the SSL socket server that various events
    * have occurred. The class provides several up-call member functions.

    * @internalComponent
    * @deprecated No longer used by networking
    */
    {
    public:
    // NOTE: THESE ARE A SUBSET OF MSocketNotify
    /** Called with unencrypted data to be given to the client application.
    *
    * @param aDesc Descriptor holding the unencrypted data.
    * @param aRestingData
    */
    virtual void SSLDeliver(const TDesC8 &aDesc, TUint aRestingData)=0;

    virtual TUint SSLWrite(const TDesC8 &aDesc,TUint options, TSockAddr* aAddr=NULL)=0;

    /** Indicates that new buffer space is available. */
    virtual void SSLCanSend()=0;

    /** Indicates that a connection attempt has completed successfully. */
    virtual void SSLConnectComplete()=0;

    /** Indicates that the SAP has finished closing down. */
    virtual void SSLCanClose()=0;

    /** Tells the socket server that an error state has arisen within the protocol.

    * @param anError Error that has arisen. */
    virtual void SSLError(TInt anError)=0;

    /** Called when the connection is closed due to an error. */
    virtual void SSLDisconnectIndication(void)=0;

    /** Called when the connection is closed due to an error.
    *
    * @param aDisconnectData Descriptor holding the disconnect data. */
    virtual void SSLDisconnectIndication(TDesC8& aDisconnectData)=0;

    /** Called when the connection is closed due to an error.
    *
    * @param aError The disconnect error. */
    virtual void SSLDisconnectIndication(TInt aError)=0;

    virtual void SSLIoctlComplete(TDesC8 *aBuf)=0;
    };

    class CSSLTimers : public CBase
    /**
    * Base class for SSL timers.
    *
    * @internalComponent

    * @deprecated No longer used by networking
    */
    {
    public:
    /** Stops the SSLTimer, if it is running and destructs the object. */
    virtual ~CSSLTimers();

    /** Creates a new SSL Timer.
    *
    * @return KErrNone if successful; otherwise, a system-wide error code. */
    static CSSLTimers *NewL();

    /** Starts the SSL timer.
    *
    * @param aCallBack Call back function.
    * @param aTimeout Time. */
    void StartSSLTimer(TCallBack aCallBack,TInt aTimeout);

    /** Stops the timer. */
    void StopSSLTimer();

    /** Stops and cancels the time recorded by the timer. */
    void DoSSLTimerExpired();
    private:
    CSSLTimers();
    private:
    TDeltaTimerEntry iSSLTimer;
    TDeltaTimerEntry *iSSLTimerH;
    };

    class SSLGlobals
    /**
    * @internalComponent
    *
    * @deprecated No longer used by networking
    */
    {
    public:
    CObjectConIx *iContainer;
    CObjectCon *iSSLFactories;
    TInt iSSLUnloadTimeout;
    TInt iSecureSocketCount;
    };

    class RSSLDialogServer;
    class CSSLFactory : public CObject
    /**
    * Factory base for creating a concrete instance of a CSSLBase.

    * @deprecated No longer used by networking
    */
    {
    public:
    CSSLFactory();
    virtual ~CSSLFactory();
    virtual CSSLProviderBase* NewSecureSocketL(MSSLSocketNotify* aParent);
    virtual TInt Open();
    virtual void Close();
    virtual void InitL(RLibrary& aLib, CObjectCon& aCon);
    virtual TVersion Version() const;
    // static void Cleanup(TAny* aObject);
    // static TInt ControlledDelete(TAny* aSSLFactory);
    void SecureSocketShutdown(CSSLProviderBase *aSecureSocket);

    void SetSessionStateL(CSSLSessionState* aState,const TDesC8&);//const TDesC8& aSessionID,const TDesC8& aMasterSecret);
    TPtrC8 GetSession(const TDesC8&,CSSLSessionState*);
    void ConstructL();
    private:
    void InitCryptoL();
    public:
    RLibrary iLib;
    private:
    // RLibrary iCryptLibrary;
    // RLibrary iCertLibrary;
    TDblQue<CSSLProviderBase> iSecureSocketsList;
    TUint iSecureSocketsCount;
    CSSLSessionStore *iSessStore;
    };

    class CSSLProviderBase : public CBase
    /**
    * Abstract base class for all SSL protocol implementations.

    * @deprecated No longer used by networking
    */
    {
    public:
    friend class CSSLFactory;
    /** Connection closing type. */
    enum TCloseType
    {
    /** Normal. */
    ENormal,
    /** Stop input. */
    EStopInput,
    /** Stop output. */
    EStopOutput,
    /** Close immediately. */
    EImmediate
    };

    CSSLProviderBase(CSSLFactory& aFactory);
    virtual ~CSSLProviderBase();

    /** Set the notification parent,
    *
    * @param aNotify Parent to be notified. */
    inline void SetNotify(MSSLSocketNotify* aNotify);
    public:
    // NOTE I'VE COPIED THESE DIRECTLY FROM CServProviderBase
    virtual const TInt GetOption(TUint level,TUint name,TDes8& anOption) =0;
    virtual void Ioctl(TUint level,TUint name,TDes8* anOption)=0;
    virtual void CancelIoctl(TUint aLevel,TUint aName)=0;

    /** Sets an option.
    *
    * @param level Integer constant identifying the option.
    * @param name Option name.
    * @param anOption Option value packaged in a descriptor.
    * @return KErrNone if successful; otherwise, a system-wide error code. */
    virtual TInt SetOption(TUint level,TUint name,const TDesC8 &anOption)=0;

    virtual TUint Write(const TDesC8& aDesc,TUint options,TSockAddr* anAddr=NULL)=0;

    virtual void Process(RMBufChain& aBuf)=0;

    virtual void ProcessL(const TDesC8 &aDesc)=0;


    virtual TInt ActiveOpen()=0;

    virtual TInt ActiveOpen(const TDesC8& aConnectionData)=0;

    virtual TInt PassiveOpen(TUint aQueSize)=0;

    virtual TInt PassiveOpen(TUint aQueSize,const TDesC8& aConnectionData)=0;

    virtual void Shutdown()=0;


    virtual void Close()=0;
    virtual void ConstructL(MSSLSocketNotify *aParent)=0;

    virtual void ConnectCompleted()=0;

    public:
    TDblQueLink iLink;
    protected:
    CSSLFactory* iFactory;
    private:
    MSSLSocketNotify* iSocket;
    };
    I am in love,
    With what i am,
    Not what i should be.

  12. #12
    Registered User
    Join Date
    Jan 2011
    Location
    delhI,indiA
    Posts
    154

    Re: error occured in PJSip1.6 in symbian^3 SDK 1.0

    New ssl.h File


    // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
    // All rights reserved.
    // This component and the accompanying materials are made available
    // under the terms of "Eclipse Public License v1.0"
    // which accompanies this distribution, and is available
    // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    //
    // Initial Contributors:
    // Nokia Corporation - initial contribution.
    //
    // Contributors:
    //
    // Description:
    // SSL exported functions.
    //
    //

    /**
    @file
    */

    #ifndef __TCPSSL_H__
    #define __TCPSSL_H__

    #include <in_sock.h>
    #include <sslerr.h>

    #include <ssl_compatibility.h>

    #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
    #include <ssl_internal.h>
    #endif

    /**
    * @publishedAll
    * @released
    *
    * Enable the use of TLS_RSA_WITH_NULL_MD5 and TLS_RSA_WITH_NULL_SHA ciphersuites
    * These ciphersuites use NULL encryption and therefore offer no protection against evesdropping.
    * Server authentication (and client, if a client certificate is used) is performed and data integrity
    * is still checked.
    *
    * (Ciphersuite TLS_NULL_WITH_NULL_NULL is never supported).
    *
    * An argument of 0 disables the ciphersuites and non-zero enables them.
    */
    const TUint KSoEnableNullCiphers = 0x408; //< Enable/disable NULL ciphers

    /**
    * @publishedAll
    * @released
    *
    * Set the PSK Key Exchange configuration. Argument is a TPckgBuf<MSoPskKeyHandler *>.
    * The structure and buffers will be copied.
    *
    * @see MSoPskKeyHandler
    */
    const TUint KSoPskConfig = 0x409; //< Set PSK key exchange configuration

    /**
    * @publishedAll
    * @released
    *
    * Set the list of server names to be passed to the server in the ClientHello as described in RFC3546 "Server Name Indication".
    * The argument should be a TPckgBuf<CDesC8Array *>.
    */
    const TUint KSoServerNameIndication = 0x40a; //< Set Server Name Indication

    #endif
    I am in love,
    With what i am,
    Not what i should be.

  13. #13
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,674

    Re: error occured in PJSip1.6 in symbian^3 SDK 1.0

    KSoSSLDomainName is in #include <ssl_internal.h> (\epoc32\include\platform should enable it, and SYMBIAN_ENABLE_SPLIT_HEADERS comes from the platform-header, symbian_os.hrh, it is expected to be defined as I understand).

  14. #14
    Registered User
    Join Date
    Jan 2011
    Location
    delhI,indiA
    Posts
    154

    Re: error occured in PJSip1.6 in symbian^3 SDK 1.0

    Quote Originally Posted by wizard_hu_ View Post
    KSoSSLDomainName is in #include <ssl_internal.h> (\epoc32\include\platform should enable it, and SYMBIAN_ENABLE_SPLIT_HEADERS comes from the platform-header, symbian_os.hrh, it is expected to be defined as I understand).
    Hello Wizard,
    I did as you had said.
    There were Following files which weren't there so i had to copy ( at Path : C:\Nokia\devices\Nokia_Symbian3_SDK_v1.0_3\epoc32\include ) :
    . VoIPG711DecoderIntfc.h
    . VoIPFormatIntfc.h
    . VoIPAudioCommon.h
    . VoIPDownlinkStream.h
    . VoIPDtmfTonePlayer.h
    . VoIPUtilityFactory.h
    . VoIPDataBuffer.h
    . VoIPUplinkStream.h
    . VoIPILBCEncoderIntfc.h
    . VoIPILBCDecoderIntfc.h
    . VoIPG729DecoderIntfc.h
    . VoIPG711EncoderIntfc.h

    Now I am getting this error on Release Mode : instantiated from here[/Nokia/devices/Nokia_Symbian3_SDK_v1.0_3/epoc32/include/s32stor.inl]
    Please suggest someway :-|
    Last edited by AmbikaSingh; 2011-09-14 at 07:35.
    I am in love,
    With what i am,
    Not what i should be.

  15. #15
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,674

    Re: error occured in PJSip1.6 in symbian^3 SDK 1.0

    "instantiated from here" is the middle of a message, check the complete one in the Console view as it has been suggested earlier.

Similar Threads

  1. Error occured when i am deploying my s40 application (wgt) :
    By DanSiddiqui in forum Nokia Asha Web Apps
    Replies: 3
    Last Post: 2011-10-08, 01:47
  2. io error occured
    By vdx in forum Mobile Java General
    Replies: 8
    Last Post: 2009-06-01, 19:18
  3. Replies: 1
    Last Post: 2005-04-26, 09:20
  4. error occured....
    By joanntsc in forum Symbian
    Replies: 2
    Last Post: 2003-10-13, 03:09

Posting Permissions

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