×

Discussion Board

Results 1 to 8 of 8

Thread: Warnings

  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    1

    Unhappy Warnings

    Always when I build a new project on Carbide, I get the following 4 warnings:
    Description
    Multiply defined symbol: ___get_MSL_init_count in
    files uc_cwhelp.obj (EEXE.LIB), startup.win32.c.obj(msl_all_static_mse_symbian_d.lib),
    keeping definition in startup.win32.c.obj
    Multiply defined symbol: __CleanUpMSL

    Somebody can tell me why appear this and how I can fixed.
    I'm working with Carbide 2.0 y Qt 4.4.4-template for SDK 3
    please help

  2. #2
    Registered User
    Join Date
    Dec 2006
    Posts
    2,280

    Re: Warnings

    Hi,

    Can you give more detailed steps to reproduce? I don't see this on new projects (created with the wizard) with the same setup you describe.

    Note that if they are only warnings then there are several of these caused by adding various includes or libraries to your projects at the moment.

    Your specific warnings look like a clash between the standard compiler libraries and EEXE.lib, which Symbian builds link to all executables on the emulator. I'm not sure why this is happening.

    Mark

  3. #3
    Registered User
    Join Date
    Mar 2003
    Location
    Oulu
    Posts
    132

    Re: Warnings

    Quote Originally Posted by Sorcery-ltd View Post
    Hi,

    Can you give more detailed steps to reproduce? I don't see this on new projects (created with the wizard) with the same setup you describe.
    I got same warnings.

    Just installed Carpide c++ v2.0 Build 014.

    1. File -> New -> Symbian OS C++ Project
    2. Select "S60 Gui Application". Next.
    3. Fill Project name, Use default location -checkbox checked. Next.
    4. Select Emulator Debug(WINSCW)[S60_5th_Edition_SDK_v1.0]. Next.
    5. No changes to Basic Settings. Next.
    6. No Changes to Project Directories. Finish.
    7. Project -> Build Project

    Code:
    Creation Time	Description	Resource	Path	Location	Type
    1238062663953	preprocessor #warning directive	ProjectAppUi.cpp	Project/src	line 191	C/C++ Problem
    1238062663984	#warning "Please see comment about help and UID3..."	ProjectAppUi.cpp	Project/src	line 191	C/C++ Problem
    1238062664015	Multiply defined symbol: ___get_MSL_init_count in	Project		Unknown	C/C++ Problem
    1238062664046	files uc_cwhelp.obj (EEXE.LIB), startup.win32.c.obj (msl_all_static_mse_symbian_d.lib),	Project		Unknown	C/C++ Problem
    1238062664078	keeping definition in startup.win32.c.obj	Project		Unknown	C/C++ Problem
    1238062664109	Multiply defined symbol: __CleanUpMSL in	Project		Unknown	C/C++ Problem

  4. #4
    Registered User
    Join Date
    Nov 2007
    Posts
    3

    Re: Warnings

    Same problem like fjromerog here.
    Someone have a solution?

    Thx.

  5. #5
    Nokia Developer Champion
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: Warnings

    Explain bit more, like which SDK you installed and when you are facing problem.

  6. #6
    Registered User
    Join Date
    Nov 2007
    Posts
    3

    Re: Warnings

    Quote Originally Posted by savaj View Post
    Explain bit more, like which SDK you installed and when you are facing problem.
    Ok, I'm sorry for that.

    I'm using Carbide.++ and the s60 5th edition sdk v1.0.

    I create a new project like that:

    file->new->symbian os c++ project
    then i select GUI application
    click next and i type the project name and save in a path without any whitespaces
    i choose the only sdk i have (s60 5th v1.0)
    and the rest of textboxes with the default inputs and then finish.

    Now, i click on build my project and then i get this 6 warnings: ("asdf" is the project name xD)

    Code:
    Creation Time	Description	Resource	Path	Location	Type
    1246388341187	preprocessor #warning directive	asdfAppUi.cpp	asdf/src	line 191	C/C++ Problem
    1246388341218	#warning "Please see comment about help and UID3..."	asdfAppUi.cpp	asdf/src	line 191	C/C++ Problem
    1246388341234	Multiply defined symbol: ___get_MSL_init_count in	asdf		Unknown	C/C++ Problem
    1246388341250	files uc_cwhelp.obj (EEXE.LIB), startup.win32.c.obj (msl_all_static_mse_symbian_d.lib),	asdf		Unknown	C/C++ Problem
    1246388341265	keeping definition in startup.win32.c.obj	asdf		Unknown	C/C++ Problem
    1246388341296	Multiply defined symbol: __CleanUpMSL in	asdf		Unknown	C/C++ Problem
    I can run it, but why i get this warnings by default?

    Thx

  7. #7
    Registered User
    Join Date
    Aug 2003
    Location
    Oulu, Finland
    Posts
    1,122

    Re: Warnings

    These are linker warnings from winscw compiler support code. Annoying but they can be safely ignored.

    Lauri

  8. #8
    Registered User
    Join Date
    Nov 2007
    Posts
    3

    Re: Warnings

    Quote Originally Posted by laa-laa View Post
    These are linker warnings from winscw compiler support code. Annoying but they can be safely ignored.

    Lauri
    So no problem with the app, thank you very much

Similar Threads

  1. New to JavaME -> Symbian security warnings
    By rauhe in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2008-10-19, 20:43
  2. Significance Of Compiler Warnings
    By navjotsingh1979 in forum Symbian
    Replies: 9
    Last Post: 2007-10-10, 09:35
  3. GCCE compile warnings using S60 3rd ed SDK
    By RyanSantos in forum Symbian Tools & SDKs
    Replies: 4
    Last Post: 2006-02-22, 02:45
  4. Replies: 3
    Last Post: 2005-08-24, 14:25
  5. makesis generates so many warnings
    By advocatee in forum Symbian
    Replies: 0
    Last Post: 2003-10-22, 16:52

Posting Permissions

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