Discussion Board

Results 1 to 8 of 8
  1. #1
    Regular Contributor debasish1234's Avatar
    Join Date
    Oct 2004
    Location
    India
    Posts
    50
    Hi all,

    I try to port open socurce C code in series 60 3rd edition.

    It's compile UDEB mode.

    But fail to compile for GCCE target.

    ===========Compile Error==================

    C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-221.o) has EABI version 2, but target smlOne.sym has EABI version 4
    arm-none-symbianelf-ld.exe: failed to merge target specific data of file C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-221.o)
    arm-none-symbianelf-ld.exe: ERROR: Source object C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-232.o) has EABI version 2, but target smlOne.sym has EABI version 4
    arm-none-symbianelf-ld.exe: failed to merge target specific data of file C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-232.o)
    arm-none-symbianelf-ld.exe: ERROR: Source object C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-233.o) has EABI version 2, but target smlOne.sym has EABI version 4
    arm-none-symbianelf-ld.exe: failed to merge target specific data of file C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-233.o)
    arm-none-symbianelf-ld.exe: ERROR: Source object C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-234.o) has EABI version 2, but target smlOne.sym has EABI version 4
    arm-none-symbianelf-ld.exe: failed to merge target specific data of file C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-234.o)
    arm-none-symbianelf-ld.exe: ERROR: Source object C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-235.o) has EABI version 2, but target smlOne.sym has EABI version 4
    arm-none-symbianelf-ld.exe: failed to merge target specific data of file C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-235.o)
    arm-none-symbianelf-ld.exe: ERROR: Source object C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-276.o) has EABI version 2, but target smlOne.sym has EABI version 4
    arm-none-symbianelf-ld.exe: failed to merge target specific data of file C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-276.o)
    arm-none-symbianelf-ld.exe: ERROR: Source object C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-348.o) has EABI version 2, but target smlOne.sym has EABI version 4
    arm-none-symbianelf-ld.exe: failed to merge target specific data of file C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-348.o)
    arm-none-symbianelf-ld.exe: ERROR: Source object C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-349.o) has EABI version 2, but target smlOne.sym has EABI version 4
    arm-none-symbianelf-ld.exe: failed to merge target specific data of file C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-349.o)
    arm-none-symbianelf-ld.exe: ERROR: Source object C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-350.o) has EABI version 2, but target smlOne.sym has EABI version 4
    arm-none-symbianelf-ld.exe: failed to merge target specific data of file C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-350.o)
    arm-none-symbianelf-ld.exe: ERROR: Source object C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-352.o) has EABI version 2, but target smlOne.sym has EABI version 4
    arm-none-symbianelf-ld.exe: failed to merge target specific data of file C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-352.o)
    arm-none-symbianelf-ld.exe: ERROR: Source object C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-361.o) has EABI version 2, but target smlOne.sym has EABI version 4
    arm-none-symbianelf-ld.exe: failed to merge target specific data of file C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-361.o)
    arm-none-symbianelf-ld.exe: ERROR: Source object C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-363.o) has EABI version 2, but target smlOne.sym has EABI version 4
    arm-none-symbianelf-ld.exe: failed to merge target specific data of file C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-363.o)
    arm-none-symbianelf-ld.exe: ERROR: Source object C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-364.o) has EABI version 2, but target smlOne.sym has EABI version 4
    arm-none-symbianelf-ld.exe: failed to merge target specific data of file C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-364.o)
    arm-none-symbianelf-ld.exe: ERROR: Source object C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-365.o) has EABI version 2, but target smlOne.sym has EABI version 4
    arm-none-symbianelf-ld.exe: failed to merge target specific data of file C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-365.o)
    arm-none-symbianelf-ld.exe: ERROR: Source object C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-374.o) has EABI version 2, but target smlOne.sym has EABI version 4
    arm-none-symbianelf-ld.exe: failed to merge target specific data of file C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-374.o)
    arm-none-symbianelf-ld.exe: ERROR: Source object C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-423.o) has EABI version 2, but target smlOne.sym has EABI version 4
    arm-none-symbianelf-ld.exe: failed to merge target specific data of file C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-423.o)
    arm-none-symbianelf-ld.exe: ERROR: Source object C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-98.o) has EABI version 2, but target smlOne.sym has EABI version 4
    arm-none-symbianelf-ld.exe: failed to merge target specific data of file C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-98.o)
    C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-221.o): In function `theImportedSymbol':
    : undefined reference to `#<DLL>libc{00010000}[10207369].dll#<\DLL>dd'
    C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-232.o): In function `theImportedSymbol':
    : undefined reference to `#<DLL>libc{00010000}[10207369].dll#<\DLL>e8'
    C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-233.o): In function `theImportedSymbol':
    : undefined reference to `#<DLL>libc{00010000}[10207369].dll#<\DLL>e9'
    C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-234.o): In function `theImportedSymbol':
    : undefined reference to `#<DLL>libc{00010000}[10207369].dll#<\DLL>ea'
    C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-235.o): In function `theImportedSymbol':
    : undefined reference to `#<DLL>libc{00010000}[10207369].dll#<\DLL>eb'
    C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-276.o): In function `theImportedSymbol':
    : undefined reference to `#<DLL>libc{00010000}[10207369].dll#<\DLL>114'
    C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-348.o): In function `theImportedSymbol':
    : undefined reference to `#<DLL>libc{00010000}[10207369].dll#<\DLL>15c'
    C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-349.o): In function `theImportedSymbol':
    : undefined reference to `#<DLL>libc{00010000}[10207369].dll#<\DLL>15d'
    C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-350.o): In function `theImportedSymbol':
    : undefined reference to `#<DLL>libc{00010000}[10207369].dll#<\DLL>15e'
    C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-352.o): In function `theImportedSymbol':
    : undefined reference to `#<DLL>libc{00010000}[10207369].dll#<\DLL>160'
    C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-361.o): In function `theImportedSymbol':
    : undefined reference to `#<DLL>libc{00010000}[10207369].dll#<\DLL>169'
    C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-363.o): In function `theImportedSymbol':
    : undefined reference to `#<DLL>libc{00010000}[10207369].dll#<\DLL>16b'
    C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-364.o): In function `theImportedSymbol':
    : undefined reference to `#<DLL>libc{00010000}[10207369].dll#<\DLL>16c'
    C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-365.o): In function `theImportedSymbol':
    : undefined reference to `#<DLL>libc{00010000}[10207369].dll#<\DLL>16d'
    C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-374.o): In function `theImportedSymbol':
    : undefined reference to `#<DLL>libc{00010000}[10207369].dll#<\DLL>176'
    C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-423.o): In function `theImportedSymbol':
    : undefined reference to `#<DLL>libc{00010000}[10207369].dll#<\DLL>1a7'
    C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-98.o): In function `theImportedSymbol':
    : undefined reference to `#<DLL>libc{00010000}[10207369].dll#<\DLL>62'
    make: *** [smlOne.sym] Error 1



    how to get rid of this linking error?

    Any kind of help appreciate.

    Thanx in advance.

    BR

  2. #2
    Nokia Developer Moderator Symbian_Neil's Avatar
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,148
    Quote Originally Posted by debasish1234
    Hi all,

    I try to port open socurce C code in series 60 3rd edition.

    It's compile UDEB mode.

    But fail to compile for GCCE target.

    ===========Compile Error==================

    C:\Symbian\9.1\S60_3rd_MR\epoc32\release\ARMV5\LIB\libc.lib(libc{00010000}-221.o) has EABI version 2, but target smlOne.sym has EABI version 4
    arm-none-symbianelf-ld.exe: failed to merge target specific data of file
    Chances are you might be compiling for ARM and not gcce.

    Also note if you are using main() as entry point, then in your mmp file.

    Code:
    #ifdef GCCE
    STATICLIBRARY      libcrt0_gcce.lib
    #else
    STATICLIBRARY      libcrt0.lib
    #endif
    
    SYSTEMINCLUDE   \epoc32\include +\include\stdapis +\include\libc
    LIBRARY libc.lib
    Also in the file containing main, check if you have :

    Code:
    // This is a GCCE toolchain workaround needed when compiling with GCCE
    // and using main() entry point
    #ifdef __GCCE__
    #include <staticlibinit_gcce.h>
    #endif
    Am not sure, but maybe it helps

    Good Luck and cheers
    Neil
    - Neil R.Bhasme -

    Twitter: @Symbian_Neil

  3. #3
    Regular Contributor debasish1234's Avatar
    Join Date
    Oct 2004
    Location
    India
    Posts
    50
    problem still persists,,,
    plz can anybody help me to get rid of this "linking error",,

  4. #4
    Regular Contributor debasish1234's Avatar
    Join Date
    Oct 2004
    Location
    India
    Posts
    50
    Hi Symbian_Neil,

    Thanx for ur reply.

    Linking prob has been sloved.

  5. #5
    Nokia Developer Moderator Symbian_Neil's Avatar
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,148
    Quote Originally Posted by debasish1234
    Hi Symbian_Neil,

    Thanx for ur reply.

    Linking prob has been sloved.
    it always helps others facing the same problem if you can spend couple of minutes saying how you solved the problem!!
    - Neil R.Bhasme -

    Twitter: @Symbian_Neil

  6. #6
    Regular Contributor debasish1234's Avatar
    Join Date
    Oct 2004
    Location
    India
    Posts
    50
    Hi,

    I use Carbide.c++ Express 1.0 edition.

    In libary path add
    ${EPOC32_RELEASE_ROOT}\ARMV5\LIB\libc.dso

    instead of

    ${EPOC32_RELEASE_ROOT}\ARMV5\LIB\libc.lib

    BR
    Deb

  7. #7
    Registered User ncr101's Avatar
    Join Date
    Mar 2007
    Posts
    6
    When I specify the libc.dso in Carbide 1.2.2 (STATICLIBRARY ..\lib\libc.dso) I start getting compilation errors in the WINSCW build; It's now looking for a DSO file!

    Any way to get Carbide to use a different library for WINSCW? It was happy before, I didn't need to "trick" it with the ..\lib path either.

  8. #8
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    And what happens if you specify .lib? The .dso 'trick' was for the not-so-smart Carbide 1.0, and you are using 1.2.

Similar Threads

  1. Replies: 6
    Last Post: 2007-04-02, 11:52
  2. Custom App Icon?
    By Rozik in forum Symbian C++
    Replies: 2
    Last Post: 2007-04-02, 10:37
  3. why my application icon doesn't appear?
    By Zefa in forum Symbian User Interface
    Replies: 8
    Last Post: 2007-03-15, 10:50
  4. Compilation series 60 3rd edition
    By asmobease in forum Symbian Tools & SDKs
    Replies: 32
    Last Post: 2006-09-13, 09:46
  5. Link Errors Help me
    By TrungThanhMtad in forum Symbian C++
    Replies: 2
    Last Post: 2005-10-15, 05:13

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved