×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    3

    Undefined reference...

    I'm using Carbide.c++ Version 2.3.0, and getting an error when trying to compile- 'undefined reference to strlen/strcpy' etc. I'm not sure why this is so;

    I've got #include <libc\string.h> in my headers, and from scouting out the forum earlier I've added SYSTEMINCLUDE \epoc32\include \Epoc32\include\libc to my mmp file as well. Is there something else I need to do to properly get the use of these and other libc functions?

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Undefined reference...

    Can you tell us which SDK you are using?

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

    Re: Undefined reference...

    Yes, the library: estlib.lib
    Two notes: if you are planning any kind of serious work with standard C/C++ API-s, use the Open C/C++ plugin instead of estlib. Carbide.c++ can update itself to version 2.6 (updater is in the Help menu), but you may consider waiting for 2.7 which is planned to be released in one or two weeks.

  4. #4
    Registered User
    Join Date
    May 2010
    Posts
    3

    Re: Undefined reference...

    Thanks, estlib was the solution. I'll look into open C as well.

    I was using S60 3rd Edition, Feature Pack 1 as my SDK.

Similar Threads

  1. Undefined reference error
    By owensul in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 4
    Last Post: 2011-03-14, 08:48
  2. GCCE Undefined reference
    By jllop in forum Open C/C++
    Replies: 4
    Last Post: 2009-09-18, 14:18
  3. undefined reference to `clock'
    By pdcb_pdcb in forum Symbian
    Replies: 4
    Last Post: 2009-07-03, 22:44
  4. error:undefined reference
    By gaurav.gupta in forum Symbian
    Replies: 3
    Last Post: 2009-03-30, 11:48
  5. Undefined reference...
    By parikhnirav.aits in forum Symbian
    Replies: 9
    Last Post: 2008-08-25, 20:08

Posting Permissions

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