Android compilations (linking) died!

Android compilations (linking) died!

I had a working Android programme. Decided to make a version for windows, so clicked on w32 as the target and recompiled. Errors, of course, so I had a look and then went back to using Android as the target. No. Now I get 1477 errors at the link phase. It looks as though it can't find some file or other.

Can anyone help me please? This happens on compiling ANY android programme now!

The first handful of errors are:

MSBUILD : error E2597: C:\Users\Public\Documents\Embarcadero\Studio\18.0\CatalogRepository\AndroidNDK-9c_x86_GIB.Build.22858.6822\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: c:
program files (x86)\\embarcadero\\studio\\18.0\\lib\\Android
Release/libpcre.a(pcre_compile.o): in function pcre_compile2:pcre_compile.c(.text+0x7538): error: undefined reference to 'strlen'
MSBUILD : error E2597: C:\Users\Public\Documents\Embarcadero\Studio\18.0\CatalogRepository\AndroidNDK-9c_x86_GIB.Build.22858.6822\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: c:
program files (x86)\\embarcadero\\studio\\18.0\\lib\\Android
Release/libpcre.a(pcre_compile.o): in function pcre_compile2:pcre_compile.c(.text+0x77e4): error: undefined reference to 'memcmp'
MSBUILD : error E2597: C:\Users\Public\Documents\Embarcadero\Studio\18.0\CatalogRepository\AndroidNDK-9c_x86_GIB.Build.22858.6822\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: c:
program files (x86)\\embarcadero\\studio\\18.0\\lib\\Android
Release/libpcre.a(pcre_maketables.o): in function pcre_maketables:pcre_maketables.c(.text+0x30): error: undefined reference to 'tolower'
MSBUILD : error E2597: C:\Users\Public\Documents\Embarcadero\Studio\18.0\CatalogRepository\AndroidNDK-9c_x86_GIB.Build.22858.6822\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: c:
program files (x86)\\embarcadero\\studio\\18.0\\lib\\Android
Release/libpcre.a(pcre_maketables.o): in function pcre_maketables:pcre_maketables.c(.text+0x50): error: undefined reference to 'islower'
MSBUILD : error E2597: C:\Users\Public\Documents\Embarcadero\Studio\18.0\CatalogRepository\AndroidNDK-9c_x86_GIB.Build.22858.6822\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: c:
program files (x86)\\embarcadero\\studio\\18.0\\lib\\Android
Release/libpcre.a(pcre_maketables.o): in function pcre_maketables:pcre_maketables.c(.text+0x64): error: undefined reference to 'toupper'
MSBUILD : error E2597: C:\Users\Public\Documents\Embarcadero\Studio\18.0\CatalogRepository\AndroidNDK-9c_x86_GIB.Build.22858.6822\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: c:
program files (x86)\\embarcadero\\studio\\18.0\\lib\\Android
Release/libpcre.a(pcre_maketables.o): in function pcre_maketables:pcre_maketables.c(.text+0x6c): error: undefined reference to 'tolower'
MSBUILD : error E2597: C:\Users\Public\Documents\Embarcadero\Studio\18.0\CatalogRepository\AndroidNDK-9c_x86_GIB.Build.22858.6822\toolchains\arm-linux-androideabi-4.6\prebuilt\windows\bin\arm-linux-androideabi-ld.exe: c:
program files (x86)\\embarcadero\\studio\\18.0\\lib\\Android
Release/libpcre.a(pcre_maketables.o): in function pcre_maketables:pcre_maketables.c(.text+0xc8): error: undefined reference to 'isupper'

(I put this up some weeks ago, but nobody has given me any help yet!)

Comments

  1. Do a Clean on the project maybe. Try Release vs. Debug as well.

    ReplyDelete
  2. David Nottage Thanks, David: it was.

    ReplyDelete
  3. Eli M Thanks Eli, but it did not work. Had to use the -rfoo command line option.

    ReplyDelete

Post a Comment