Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Oct 2008

    mwldsym2.exe: Undefined symbol: 'int E32Main(void)

    Hi, i'm on an application, that work fine on s60 3rd ed.
    Now i would like compile it with 2nd ed.
    I created a new project in carbide, based on 2nd ed, copyng all files i need, change .mmp file, but i don't understand why i have this error :

    mwldsym2.exe: Undefined symbol: 'int E32Main(void) (?E32Main@@YAHXZ)'
    mwldsym2.exe: referenced from 'int startupThread(void) (?startupThread@@YAHXZ)' in up_exe.cpp:211 (EEXE.LIB)

    my .mmp is this :
    TARGET		  DirectoryMonitoring.exe
    TARGETTYPE	  exe
    UID			 0 0xEF8D0C2E
    USERINCLUDE	 ..\inc
    USERINCLUDE	 ..\help
    SYSTEMINCLUDE   \epoc32\include
    SOURCEPATH	  ..\src
    SOURCE		  DirectoryMonitoring.cpp DirectoryMonitor.cpp DirectoryMonitoringAppUi.cpp DirectoryMonitoringAppView.cpp DirectoryMonitoringApplication.cpp DirectoryMonitoringDocument.cpp
    SOURCEPATH		..\data
    LIBRARY		 euser.lib
    START RESOURCE	DirectoryMonitoring.rss
    TARGET DirectoryMonitoring_0xEFA2629F
    TARGETPATH resource\apps
    START RESOURCE	DirectoryMonitoring_reg.rss
    TARGET DirectoryMonitoring_0xEFA2629F_reg
    TARGETPATH 	  \private\10003a3f\apps
    #ifdef ENABLE_ABIV2_MODE
    my .cpp file is this
    #include "DirectoryMonitoringApplication.h"
    LOCAL_C CApaApplication* NewApplication()
    	return new CDirectoryMonitoringApplication;
    If i insert

    GLDEF_C TInt E32Main()
    	return KErrNone;	
    in .cpp file, it compile but tha application(on emulator) crash immediately.

    Can you help me?
    Last edited by tulimiero; 2008-12-01 at 17:39.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Oslo, Norway

    Re: mwldsym2.exe: Undefined symbol: 'int E32Main(void)

    Check my guess in your other thread, http://discussion.forum.nokia.com/fo...d.php?t=151944

Similar Threads

  1. Fail to build syexpat 1.3 under 2nd FP3
    By harry_zhang in forum Symbian
    Replies: 10
    Last Post: 2010-03-19, 10:24
  2. Linking error in Carbide.C++
    By senoctar in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2008-09-21, 14:03
  3. linking error
    By dakosurf in forum Symbian
    Replies: 1
    Last Post: 2008-03-27, 22:45
  4. mwldsym2.exe: Undefined symbol in Carbide.C++ 1.3
    By ValentinK in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 4
    Last Post: 2008-03-14, 15:23
  5. Need one HTTP client example
    By vinayakak in forum Symbian Networking & Messaging (Closed)
    Replies: 15
    Last Post: 2008-01-06, 06:44

Posting Permissions

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