×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Nov 2006
    Location
    Rajkot
    Posts
    430

    why it's give me undefined reference to `TUriParser8' in S60 2nd Edition FP3???

    Hi

    I Make application in S60 2nd Edition FP3.

    When i am build with WINS it not give me any error but when i build with ARMI(release build) at that time it give me an following error.

    So please suggest me in that how i shall write syntax.
    please.
    Thank in Advance

    Error ARMI Time:

    Httpclientengi: undefined reference to `TUriParser8::TUriParser8(void)'

    Httpclientengi: undefined reference to `TUriParser8::Parse(TDesC8 const &)'

    Httpclientengi: undefined reference to `TUriParser8::TUriParser8(void)'

    Httpclientengi: undefined reference to `TUriParser8::Parse(TDesC8 const &)'

    Httpclientengi: undefined reference to `TUriC8::UriDes(void) const'

    Code is:

    Code:
    // ----------------------------------------------------------------------------
    // CClientEngine::IssueHTTPPostL()
    //
    // Start a new HTTP POST transaction.
    // ----------------------------------------------------------------------------
    void CClientEngine::IssueHTTPGetL(const TDesC8& aUri)
    	{
    	// Parse string to URI (as defined in RFC2396)
    	TUriParser8 uri;
    	TInt err = uri.Parse(aUri);
    
    	//TUriC8 uri;
    	//TInt err = uri.Validate();
    
    	// Get request method string for HTTP GET
    	RStringF method = iSession.StringPool().StringF(HTTP::EGET,
    		RHTTPSession::GetTable());
    
    	// Open transaction with previous method and parsed uri. This class will
    	// receive transaction events in MHFRunL and MHFRunError.
    	iTransaction = iSession.OpenTransactionL(uri, *this, method);
    
    	// Set headers for request; user agent and accepted content type
    	RHTTPHeaders hdr = iTransaction.Request().GetHeaderCollection();
    	SetHeaderL(hdr, HTTP::EUserAgent, KUserAgent);
    	SetHeaderL(hdr, HTTP::EAccept, KAccept);
    
    	// Submit the transaction. After this the framework will give transaction
    	// events via MHFRunL and MHFRunError.
    	iTransaction.SubmitL();
    
    	iRunning = ETrue;
    	_LIT(KConnecting,"Connecting...");
    	iObserver.ClientEvent(KConnecting);
    	}

    Regards
    Tanya

  2. #2
    Super Contributor
    Join Date
    Jul 2006
    Location
    Oulu, Finland.
    Posts
    1,174

    Re: why it's give me undefined reference to `TUriParser8' in S60 2nd Edition FP3???

    make sure that epoc32\release\armi\urel\inetprotutil.lib exists under this path.

  3. #3
    Nokia Developer Champion
    Join Date
    Mar 2006
    Location
    Helsinki, Finland
    Posts
    8,335

    Smile Re: why it's give me undefined reference to `TUriParser8' in S60 2nd Edition FP3???

    I hope this is by an accident.

    For someone who is interested in answering, Crossposted and followed up here: http://discussion.forum.nokia.com/fo...d.php?t=121198

    Kiran.

  4. #4
    Regular Contributor
    Join Date
    Nov 2006
    Location
    Rajkot
    Posts
    430

    Re: why it's give me undefined reference to `TUriParser8' in S60 2nd Edition FP3???

    hi Kiran

    Thank you for Reply.

    By my mistake posted two same forum. net process little bit slow so i face error page and i think not post so i go to back and again click on submit.

    In future i shall try that this type of mistake not done from myside.


    Tanya

Similar Threads

  1. DndTimedOut (-5120) on S60 2nd Fp3
    By Joney.Zhang in forum Symbian Networking & Messaging (Closed)
    Replies: 11
    Last Post: 2009-03-10, 16:35
  2. file not found
    By praktikant in forum Symbian C++
    Replies: 16
    Last Post: 2007-05-09, 15:04
  3. Replies: 3
    Last Post: 2007-04-20, 19:10
  4. Replies: 0
    Last Post: 2006-08-31, 20:52
  5. samples - 2nd edition s60 fp3
    By mikedibley in forum Symbian C++
    Replies: 0
    Last Post: 2006-06-03, 19:13

Posting Permissions

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