Delphi XE5 presents Error E2597 when linkedit for Android

0

Delphi displays error E2597 when linking to Android.

Before it worked perfectly, but compiling while testing another app in Android Studio, gives the problem, as if it lost some configuration.

Error:

[DCC Error] E2597 C:\Users\Public\Documents\RAD Studio.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: error: cannot find -lstlport_static\

  C:\Users\Public\Documents\RAD Studio.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release/libibtogo.a(IbStringCollect.o): in function InterBase::ibutils::config::IbStringCollect::IbStringCollect(char const*, int):IbStringCollect.cpp:25: error: undefined reference to 'operator delete(void*)'
  C:\Users\Public\Documents\RAD Studio.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release/libibtogo.a(IbStringCollect.o): in function InterBase::ibutils::config::IbStringCollect::IbStringCollect(char const*, int):IbStringCollect.cpp:25: error: undefined reference to '__cxa_end_cleanup'
  C:\Users\Public\Documents\RAD Studio.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release/libibtogo.a(IbStringCollect.o): in function InterBase::ibutils::config::IbStringCollect::~IbStringCollect():IbStringCollect.cpp:36: error: undefined reference to 'operator delete(void*)'
  C:\Users\Public\Documents\RAD Studio.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release/libibtogo.a(IbStringCollect.o): in function InterBase::ibutils::config::IbStringCollect::~IbStringCollect():IbStringCollect.cpp:38: error: undefined reference to 'operator delete(void*)'
  C:\Users\Public\Documents\RAD Studio.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release/libibtogo.a(IbStringCollect.o): in function InterBase::ibutils::config::IbStringCollect::addBeg(char const*, int):IbStringCollect.cpp:46: error: undefined reference to 'operator delete(void*)'
  C:\Users\Public\Documents\RAD Studio.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release/libibtogo.a(IbStringCollect.o): in function InterBase::ibutils::config::IbStringCollect::addBeg(char const*, int):IbStringCollect.cpp:46: error: undefined reference to '__cxa_end_cleanup'
  C:\Users\Public\Documents\RAD Studio.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release/libibtogo.a(IbStringCollect.o):(.ARM.extab+0x0): error: undefined reference to '__gxx_personality_v0'
  C:\Users\Public\Documents\RAD Studio.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release/libibtogo.a(IbStringCollect.o):(.ARM.extab+0x2c): error: undefined reference to '__gxx_personality_v0'
  C:\Users\Public\Documents\RAD Studio.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release/libibtogo.a(IbConfig.o): in function InterBase::ibutils::config::IbConfig::IbConfig(ibConfigKeyword, char const*, char const*, char const*):IbConfig.cpp:26: error: undefined reference to '__cxa_end_cleanup'
  C:\Users\Public\Documents\RAD Studio.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release/libibtogo.a(IbConfig.o): in function InterBase::ibutils::config::IbConfig::IbConfig(ibConfigKeyword, char const*, char const*, char const*):IbConfig.cpp:27: error: undefined reference to '__cxa_end_cleanup'
  C:\Users\Public\Documents\RAD Studio.0\PlatformSDKs\android-ndk-r8e\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: c:\program files (x86)\embarcadero\rad studio\12.0\lib\Android\Release/libibtogo.a(IbConfig.o):(.ARM.extab+0x0): error: undefined reference to '__gxx_personality_v0'
    
asked by anonymous 09.10.2016 / 19:56

1 answer

1

Problem solved. I removed the SDK specification in the Delphi configuration and did the re-install with Repair option.

    
13.10.2016 / 12:52