×

Discussion Board

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

    Undefined reference carbide.vs

    I am having trouble with linking when applied to a client server example - when building a project for sr60 using C++ sr60_3rd_mr sdk and visual studio with Carbide.vs.
    (Microsoft Visual Studio .NET 2003). The errors are undefined reference statements. They refer to items in the http.lib(I think) - I have placed the directory reference within
    the VC++ directories but notice that the mmp file does not reflect this. I have tried to force it by entering a LIBRARY http.lib statement
    within the mmp file but after the build the mmp is overwritten by Visual studio. If I try updating the mmp file within Vstudio then I get a
    message saying it is up to date but refers to DEB_S60_30M_WINSCW and not my build target which is Rel_s60_30M_gcce.

    So my main problem is that I do not seem to be able to get the http definitions included - I would be grateful for any help
    typical error example is:

    Sensortestcontainer.cpp.text+0x1498): undefined reference to `RSocketServ::Connect(unsigned int)'



    thanx

  2. #2
    Super Contributor
    Join Date
    Sep 2004
    Posts
    1,048

    Re: Undefined reference carbide.vs

    Hi,

    When working with Carbide.vs you do things the "Visual Studio" way. For VS, libraries are added in the project properties, Carbide.vs then "copies" them to the .mmp file, the WINSCW config is used as the "source" for both winscw and gcce builds. You can get all the details in the documentation, check "How To Add External Libraries to a Project" in the online Help.

    For future reference, question like these are supposed to go into the "questions" section, http://discussion.forum.nokia.com/fo...isplay.php?f=6, for Symbian stuff. Response time will be much better there.

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

    Re: Undefined reference carbide.vs

    Many thanks - I placed the libraries in as stated in your previous online help and build was successful Sorry about posting in the wrong place

Similar Threads

  1. S60 3rdEd SDK Sensor Plug-in example for Carbide.C++ does not work
    By sudhantr in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 27
    Last Post: 2007-06-04, 14:25
  2. undefined reference __aeabi_atexit __dso_handle
    By AlfredoRU in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 5
    Last Post: 2006-10-19, 07:47
  3. Whats missing?
    By imrank in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2006-08-28, 07:22
  4. 3rd edition: undefined reference
    By iulian_moldovan in forum Symbian
    Replies: 2
    Last Post: 2006-06-20, 14:11
  5. Replies: 5
    Last Post: 2006-05-31, 07:23

Posting Permissions

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