×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2007
    Posts
    21

    RFileLogger won't links..plz help me..out..

    hi all...

    look at my codes and link errors..
    i despeately don't know why.....

    Codes like this...

    #include "flogger.h"


    RFileLogger iFileLogger;

    User::LeaveIfError( iFileLogger.Connect() ); // connect to server
    iFileLogger.CreateLog( KLogDirectory, KLogFile, FileLoggingModeOverwrite); User::LeaveIfError( iFileLogger.LastError() );
    TBool useDate= ETrue;
    TBool useTime= ETrue;
    iFileLogger.SetDateAndTime( useDate, useTime);
    iFileLogger.Write( Ktext);
    iFileLogger.WriteFormat( KTraceOutput, 3, 4 );
    iFileLogger.HexDump( NULL, NULL, KMemory().Ptr(), KMemory().Size() );



    and Errors Like this...

    Severity Description Resource In Folder Location Creation Time Id
    2 Undefined symbol: 'int RFileLogger::Connect(void) (?Connect@RFileLogger@@QAEHXZ)' referenced from 'void CS60MemoryLabContainer::ConstructL(class TRect const &) (?ConstructL@CS60MemoryLabContainer@@QAEXABVTRect@@@Z)' in S60MemoryLabContainer.cpp:51 S60MemoryLab line 0 March 22, 2007 2:43:13 PM 3015
    2 Undefined symbol: 'int RFileLogger::LastError(void) const (?LastError@RFileLogger@@QBEHXZ)' referenced from 'void CS60MemoryLabContainer::ConstructL(class TRect const &) (?ConstructL@CS60MemoryLabContainer@@QAEXABVTRect@@@Z)' in S60MemoryLabContainer.cpp:53 S60MemoryLab line 0 March 22, 2007 2:43:13 PM 3017
    2 Undefined symbol: 'RFileLogger::~RFileLogger(void) (??1RFileLogger@@QAE@XZ)' referenced from 'void CS60MemoryLabContainer::ConstructL(class TRect const &) (?ConstructL@CS60MemoryLabContainer@@QAEXABVTRect@@@Z)' in S60MemoryLabContainer.cpp:62 referenced from 'void CS60MemoryLabContainer::ConstructL(class TRect const &) (?ConstructL@CS60MemoryLabContainer@@QAEXABVTRect@@@Z)' in S60MemoryLabContainer.cpp:63 S60MemoryLab line 0 March 22, 2007 2:43:13 PM 3022
    2 Undefined symbol: 'RFileLogger::RFileLogger(void) (??0RFileLogger@@QAE@XZ)' referenced from 'void CS60MemoryLabContainer::ConstructL(class TRect const &) (?ConstructL@CS60MemoryLabContainer@@QAEXABVTRect@@@Z)' in S60MemoryLabContainer.cpp:47 S60MemoryLab line 0 March 22, 2007 2:43:13 PM 3014
    2 Undefined symbol: 'void RFileLogger::CreateLog(class TDesC16 const &, class TDesC16 const &, enum TFileLoggingMode) (?CreateLog@RFileLogger@@QAEXABVTDesC16@@0W4TFileLoggingMode@@@Z)' referenced from 'void CS60MemoryLabContainer::ConstructL(class TRect const &) (?ConstructL@CS60MemoryLabContainer@@QAEXABVTRect@@@Z)' in S60MemoryLabContainer.cpp:52 S60MemoryLab line 0 March 22, 2007 2:43:13 PM 3016
    2 Undefined symbol: 'void RFileLogger::HexDump(unsigned short const *, unsigned short const *, unsigned char const *, int) (?HexDump@RFileLogger@@QAEXPBG0PBEH@Z)' referenced from 'void CS60MemoryLabContainer::ConstructL(class TRect const &) (?ConstructL@CS60MemoryLabContainer@@QAEXABVTRect@@@Z)' in S60MemoryLabContainer.cpp:62 S60MemoryLab line 0 March 22, 2007 2:43:13 PM 3021
    2 Undefined symbol: 'void RFileLogger::SetDateAndTime(int, int) (?SetDateAndTime@RFileLogger@@QAEXHH@Z)' referenced from 'void CS60MemoryLabContainer::ConstructL(class TRect const &) (?ConstructL@CS60MemoryLabContainer@@QAEXABVTRect@@@Z)' in S60MemoryLabContainer.cpp:56 S60MemoryLab line 0 March 22, 2007 2:43:13 PM 3018
    2 Undefined symbol: 'void RFileLogger::Write(class TDesC16 const &) (?Write@RFileLogger@@QAEXABVTDesC16@@@Z)' referenced from 'void CS60MemoryLabContainer::ConstructL(class TRect const &) (?ConstructL@CS60MemoryLabContainer@@QAEXABVTRect@@@Z)' in S60MemoryLabContainer.cpp:58 S60MemoryLab line 0 March 22, 2007 2:43:13 PM 3019
    2 Undefined symbol: 'void RFileLogger::WriteFormat(class TRefByValue<class TDesC16 const >, ...) (?WriteFormat@RFileLogger@@QAAXV?$TRefByValue@$$CBVTDesC16@@@@ZZ)' referenced from 'void CS60MemoryLabContainer::ConstructL(class TRect const &) (?ConstructL@CS60MemoryLabContainer@@QAEXABVTRect@@@Z)' in S60MemoryLabContainer.cpp:60 S60MemoryLab line 0 March 22, 2007 2:43:13 PM 3020


    i included flogger.lib throuth mmp file..


    thy does this happen..??
    anyone can help me out??

    S60 3rd MR, Symbian 9.0. Carbide C++1.1 are what i'm using..

  2. #2
    Registered User
    Join Date
    Mar 2007
    Posts
    21

    Re: RFileLogger won't links..plz help me..out..

    i'm using a unregistered Carbide .. is this related with this prob..?

  3. #3
    Registered User
    Join Date
    Feb 2007
    Posts
    32

    Re: RFileLogger won't links..plz help me..out..

    Did you reimport your .mmp file after adding flogger.lib?

    - Mika

Similar Threads

  1. To count Bluetooth ACL links actived
    By abernues in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2006-02-28, 09:16
  2. Using external links with J2ME?!?!?!?!
    By alonish in forum Mobile Java General
    Replies: 4
    Last Post: 2005-10-25, 11:56
  3. RFileLogger on Nokia Series 90
    By hamishm in forum Symbian
    Replies: 0
    Last Post: 2005-06-05, 18:28
  4. RFileLogger
    By maimonides in forum Symbian
    Replies: 0
    Last Post: 2005-04-05, 16:55
  5. Nokia 6210 hangs on some links
    By cpoloni in forum Browsing and Mark-ups
    Replies: 1
    Last Post: 2002-05-30, 16:46

Posting Permissions

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