×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    27

    DLL::TLS() Problem

    Hi,
    I am using DLL class for thread local storage. it is working fine with emulator. but when i am building for device (abld build armi urel )it is giving the following error. Even for example applications given in the sdk i have the same problem.


    ..\..\..\..\..\..\..\Symbian\6.0\NokiaCPP\EPOC32\BUILD\SYMBIAN\6.0\NOKIACPP\EPOC32EX\SYSTEM\THREADSANDPROCESSES\TLS2TLS2DLL\ARMI\UREL\TLS2DLL.in(TLS2DL L.o)(.text+0xa0):Tls2dll.cpp: undefined reference to Dll::Tls(void)'
    ..\..\..\..\..\..\..\Symbian\6.0\NokiaCPP\EPOC32\BUILD\SYMBIAN\6.0\NOKIACPP\EPOC32EX\SYSTEM\THREADSANDPROCESSES\TLS2TLS2DLL\ARMI\UREL\TLS2DLL.in(TLS2DLL.o)(.text+0xa0):Tls2dll.cpp: relocation truncated to fit: ARM_26 Dll::Tls(void)
    ..\..\..\..\..\..\..\Symbian\6.0\NokiaCPP\EPOC32\BUILD\SYMBIAN\6.0\NOKIACPP\EPOC32EX\SYSTEM\THREADSANDPROCESSES\TLS2TLS2DLL\ARMI\UREL\TLS2DLL.in(TLS2DLL.o)(.text+0x11c):Tls2dll.cpp: undefined reference to `Dll::SetTls(void*)'
    ..\..\..\..\..\..\..\Symbian\6.0\NokiaCPP\EPOC32\BUILD\SYMBIAN\6.0\NOKIACPP\EPOC32EX\SYSTEM\THREADSANDPROCESSES\TLS2TLS2DLL\ARMI\UREL\TLS2DLL.in(TLS2DL L.o)(.text+0x11c):Tls2dll.cpp: relocation truncated to fit: ARM_26 Dll::SetTls(void *)
    ..\..\..\..\..\..\..\Symbian\6.0\NokiaCPP\EPOC32\BUILD\SYMBIAN\6.0\NOKIACPP\EPOC32EX\SYSTEM\THREADSANDPROCESSES\TLS2TLS2DLL\ARMI\UREL\TLS2DLL.in(TLS2DL L.o)(.text+0x12c):Tls2dll.cpp: undefined reference to `Dll::Tls(void)'
    ..\..\..\..\..\..\..\Symbian\6.0\NokiaCPP\EPOC32\BUILD\SYMBIAN\6.0\NOKIACPP\EPOC32EX\SYSTEM\THREADSANDPROCESSES\TLS2TLS2DLL\ARMI\UREL\TLS2DLL.in(TLS2DL L.o)(.text+0x12c):Tls2dll.cpp: relocation truncated to fit: ARM_26 Dll::Tls(void)
    ..\..\..\..\..\..\..\Symbian\6.0\NokiaCPP\EPOC32\BUILD\SYMBIAN\6.0\NOKIACPP\EPOC32EX\SYSTEM\THREADSANDPROCESSES\TLS2TLS2DLL\ARMI\UREL\TLS2DLL.in(TLS2DL L.o)(.text+0x138):Tls2dll.cpp: undefined reference to `Dll::SetTls(void*)'
    ..\..\..\..\..\..\..\Symbian\6.0\NokiaCPP\EPOC32\BUILD\SYMBIAN\6.0\NOKIACPP\EPOC32EX\SYSTEM\THREADSANDPROCESSES\TLS2TLS2DLL\ARMI\UREL\TLS2DLL.in(TLS2DL L.o)(.text+0x138):Tls2dll.cpp: relocation truncated to fit: ARM_26 Dll::SetTls(void *)
    NMAKE : fatal error U1077: 'ld' : return code '0x1'
    Stop.
    NMAKE : fatal error U1077: '"E:\Program Files\Microsoft Visual
    Studio\VC98\bin\nmake.exe"' : return code '0x2'
    Stop.
    nmake -nologo -f
    "\Symbian\6.0\NokiaCPP\EPOC32\BUILD\SYMBIAN\6.0\NOKIACPP\EPOC32EX\SYSTEM\THR
    EADSANDPROCESSES\TLS2\ARMI.make" FINAL CFG=UREL VERBOSE=-s


    thanks in advance

    Best Reagrds
    Ram Kumar

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    371

    RE: DLL::TLS() Problem

    Hi,

    Read the earlier thread about this same issue by searching topic "Help Using Tls !!!".

    Best Regards,
    Marko / Forum Nokia

Posting Permissions

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