×

Discussion Board

Results 1 to 1 of 1

Thread: linking error

  1. #1
    Registered User
    Join Date
    Nov 2007
    Posts
    43

    Arrow linking error

    Hi,

    I would like to port my linux app to symbian platform. i am using pips/openc/stlport libraries.
    If I compile my project I get some warnings
    ---
    .
    .
    .
    mwldsym2.exe: warning: Multiply defined section: _longjmp in
    mwldsym2.exe: warning: files setjmp.x86.c.obj (MSL_All_MSE_Symbian_D.lib), libc.dll (stlport_s.lib),
    mwldsym2.exe: warning: keeping definition in libc.dll
    mwldsym2.exe: warning: Multiply defined section: _fgets in
    mwldsym2.exe: warning: files char_io.c.obj (MSL_All_MSE_Symbian_D.lib), libc.dll (stlport_s.lib),
    mwldsym2.exe: warning: keeping definition in libc.dll
    mwldsym2.exe: warning: Multiply defined section: _fputc in
    mwldsym2.exe: warning: files char_io.c.obj (MSL_All_MSE_Symbian_D.lib), libc.dll (stlport_s.lib),
    mwldsym2.exe: warning: keeping definition in libc.dll
    mwldsym2.exe: warning: Multiply defined section: _fputs in
    mwldsym2.exe: warning: files char_io.c.obj (MSL_All_MSE_Symbian_D.lib), libc.dll (stlport_s.lib),
    mwldsym2.exe: warning: keeping definition in libc.dll
    mwldsym2.exe: warning: Multiply defined symbol: _isxdigit in
    mwldsym2.exe: warning: files ctype.c.obj (MSL_All_MSE_Symbian_D.lib), libc.dll (stlport_s.lib),
    mwldsym2.exe: warning: keeping definition in libc.dll
    mwldsym2.exe: warning: Multiply defined symbol: _isdigit in
    mwldsym2.exe: warning: files ctype.c.obj (MSL_All_MSE_Symbian_D.lib), libc.dll (stlport_s.lib),
    mwldsym2.exe: warning: keeping definition in libc.dll
    mwldsym2.exe: warning: Multiply defined symbol: _toupper in
    mwldsym2.exe: warning: files ctype.c.obj (MSL_All_MSE_Symbian_D.lib), libc.dll (stlport_s.lib),
    mwldsym2.exe: warning: keeping definition in libc.dll
    mwldsym2.exe: warning: Multiply defined section: _ferror in
    mwldsym2.exe: warning: files misc_io.c.obj (MSL_All_MSE_Symbian_D.lib), libc.dll (stlport_s.lib),
    mwldsym2.exe: warning: keeping definition in libc.dll
    mwldsym2.exe: warning: Multiply defined section: _ftell in
    mwldsym2.exe: warning: files file_pos.c.obj (MSL_All_MSE_Symbian_D.lib), libc.dll (stlport_s.lib),
    mwldsym2.exe: warning: keeping definition in libc.dll
    mwldsym2.exe: warning: Multiply defined section: _fseek in
    mwldsym2.exe: warning: files file_pos.c.obj (MSL_All_MSE_Symbian_D.lib), libc.dll (stlport_s.lib),
    mwldsym2.exe: warning: keeping definition in libc.dll
    mwldsym2.exe: warning: Multiply defined symbol: _setvbuf in
    mwldsym2.exe: warning: files buffer_io.c.obj (MSL_All_MSE_Symbian_D.lib), libc.dll (stlport_s.lib),
    mwldsym2.exe: warning: keeping definition in libc.dll
    mwldsym2.exe: warning: Multiply defined section: _strlen in
    mwldsym2.exe: warning: files string.c.obj (MSL_All_MSE_Symbian_D.lib), libc.dll (stlport_s.lib),
    mwldsym2.exe: warning: keeping definition in libc.dll
    mwldsym2.exe: warning: Multiply defined section: _strcpy in
    mwldsym2.exe: warning: files string.c.obj (MSL_All_MSE_Symbian_D.lib), libc.dll (stlport_s.lib),
    mwldsym2.exe: warning: keeping definition in libc.dll
    mwldsym2.exe: warning: Multiply defined section: _strncpy in
    mwldsym2.exe: warning: files string.c.obj (MSL_All_MSE_Symbian_D.lib), libc.dll (stlport_s.lib),
    mwldsym2.exe: warning: keeping definition in libc.dll
    mwldsym2.exe: warning: Multiply defined section: _strcat in
    mwldsym2.exe: warning: files string.c.obj (MSL_All_MSE_Symbian_D.lib), libc.dll (stlport_s.lib),
    mwldsym2.exe: warning: keeping definition in libc.dll
    mwldsym2.exe: warning: Multiply defined section: _strcmp in
    mwldsym2.exe: warning: files string.c.obj (MSL_All_MSE_Symbian_D.lib), libc.dll (stlport_s.lib),
    mwldsym2.exe: warning: keeping definition in libc.dll
    mwldsym2.exe: warning: Multiply defined section: _strncmp in
    mwldsym2.exe: warning: files string.c.obj (MSL_All_MSE_Symbian_D.lib), libc.dll (stlport_s.lib),
    mwldsym2.exe: warning: keeping definition in libc.dll
    mwldsym2.exe: warning: Multiply defined section: _strchr in
    mwldsym2.exe: warning: files string.c.obj (MSL_All_MSE_Symbian_D.lib), libc.dll (stlport_s.lib),
    mwldsym2.exe: warning: keeping definition in libc.dll
    mwldsym2.exe: warning: Multiply defined section: _strtok in
    mwldsym2.exe: warning: files string.c.obj (MSL_All_MSE_Symbian_D.lib), libc.dll (stlport_s.lib),
    mwldsym2.exe: warning: keeping definition in libc.dll
    mwldsym2.exe: warning: Multiply defined section: _strstr in
    mwldsym2.exe: warning: files string.c.obj (MSL_All_MSE_Symbian_D.lib), libc.dll (stlport_s.lib),
    mwldsym2.exe: warning: keeping definition in libc.dll
    mwldsym2.exe: warning: Multiply defined section: _abort in
    mwldsym2.exe: warning: files abort_exit_win32.c.obj (MSL_All_MSE_Symbian_D.lib), libc.dll (stlport_s.lib),
    mwldsym2.exe: warning: keeping definition in libc.dll
    mwldsym2.exe: warning: Multiply defined section: _exit in
    mwldsym2.exe: warning: files abort_exit_win32.c.obj (MSL_All_MSE_Symbian_D.lib), libc.dll (stlport_s.lib),
    mwldsym2.exe: warning: keeping definition in libc.dll
    mwldsym2.exe: warning: Multiply defined section: _fclose in
    mwldsym2.exe: warning: files file_io.c.obj (MSL_All_MSE_Symbian_D.lib), libc.dll (stlport_s.lib),
    mwldsym2.exe: warning: keeping definition in libc.dll
    mwldsym2.exe: warning: Multiply defined section: _fflush in
    mwldsym2.exe: warning: files file_io.c.obj (MSL_All_MSE_Symbian_D.lib), libc.dll (stlport_s.lib),
    mwldsym2.exe: warning: keeping definition in libc.dll
    mwldsym2.exe: warning: Multiply defined section: _fopen in
    mwldsym2.exe: warning: files file_io.c.obj (MSL_All_MSE_Symbian_D.lib), libc.dll (stlport_s.lib),
    mwldsym2.exe: warning: keeping definition in libc.dll
    mwldsym2.exe: warning: Multiply defined section: _malloc in
    mwldsym2.exe: warning: files alloc.c.obj (MSL_All_MSE_Symbian_D.lib), libc.dll (stlport_s.lib),
    mwldsym2.exe: warning: keeping definition in libc.dll
    mwldsym2.exe: warning: Multiply defined section: _free in
    mwldsym2.exe: warning: files alloc.c.obj (MSL_All_MSE_Symbian_D.lib), libc.dll (stlport_s.lib),
    mwldsym2.exe: warning: keeping definition in libc.dll
    mwldsym2.exe: warning: Multiply defined section: _realloc in
    mwldsym2.exe: warning: files alloc.c.obj (MSL_All_MSE_Symbian_D.lib), libc.dll (stlport_s.lib),
    mwldsym2.exe: warning: keeping definition in libc.dll
    + make -r -f "\Symbian\9.1\S60_3rd_MR\EPOC32\BUILD\Symbian\Carbide\workspace\podnetsymbian\group\WINSCW.make" FINAL CFG=UDEB VERBOSE=-s+

    ****Build Complete*

    Total Time: 8 sec

    ----

    And here is my mmp file, I think here is the problem:
    ---
    TARGET podnetsymbian.exe
    TARGETTYPE exe
    UID 0x100039CE 0xE0004299

    SYSTEMINCLUDE \epoc32\include
    SYSTEMINCLUDE \epoc32\include\stdapis
    SYSTEMINCLUDE \epoc32\include\stlport
    SYSTEMINCLUDE \epoc32\include\libc

    SOURCEPATH ..\PI
    SOURCE pi_filesystem.cpp
    SOURCE pi_socket.cpp
    SOURCE pi_string.cpp
    SOURCE pi_tcpsocket.cpp
    SOURCE pi_threads.cpp
    SOURCE pi_time.cpp
    SOURCE pi_udpsocket.cpp

    SOURCEPATH ..\tinyxml
    SOURCE tinystr.cpp
    SOURCE tinyxml.cpp
    SOURCE tinyxmlerror.cpp
    SOURCE tinyxmlparser.cpp
    SOURCE xmltest.cpp

    SOURCEPATH .
    START RESOURCE podnetsymbian.rss
    HEADER
    TARGETPATH \resource\apps
    END

    START RESOURCE podnetsymbian_reg.rss
    TARGETPATH \private\10003a3f\apps
    END

    LIBRARY libpthread.lib libc.lib euser.lib

    STATICLIBRARY stlport_s.lib libcrt0.lib

    ---
    Could somebody help me??? Which libraries should I add the mmp file? Or what...?

    Regards,
    Akos
    Last edited by dakosurf; 2008-03-27 at 09:28.

Similar Threads

  1. CPbkContactEditorDlg customize
    By asdfghjkl_asdfghjkl in forum Symbian
    Replies: 5
    Last Post: 2008-08-05, 02:56
  2. compilation error: identifier redeclared
    By netra in forum Symbian
    Replies: 2
    Last Post: 2007-06-22, 10:42
  3. carbidec++ helloworld project problem
    By akhin in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 0
    Last Post: 2007-03-11, 12:40
  4. code warrior problems
    By mayankkedia in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2004-10-25, 06:59
  5. camera app compilation problems
    By basarim in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2003-12-31, 18:16

Posting Permissions

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