C++ Builder 10.4 + UniDac + Android 32 -> Linker Errors
Posted: Fri 05 Feb 2021 07:24
Howdy,
What do I need to add to my project to compile a C++ program for Android 32 with the following missing functions:
[ldandroid Error] C:\Users\Public\Documents\Embarcadero\Studio\21.0\CatalogRepository\AndroidNDK-21-21.0.38860.1461\android-ndk-r21\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.exe: error: cannot find -lKbmMemTableRunC104Pro
[ldandroid Error] C:\Users\Public\Documents\Embarcadero\Studio\21.0\CatalogRepository\AndroidNDK-21-21.0.38860.1461\android-ndk-r21\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.exe: error: cannot find -lvclimg
[ldandroid Error] C:\Users\Public\Documents\Embarcadero\Studio\21.0\CatalogRepository\AndroidNDK-21-21.0.38860.1461\android-ndk-r21\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.exe: error: cannot find -lvcl
[ldandroid Error] C:\Users\Public\Documents\Embarcadero\Studio\21.0\CatalogRepository\AndroidNDK-21-21.0.38860.1461\android-ndk-r21\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.exe: error: cannot find -lvclactnband
[ldandroid Error] C:\Users\Public\Documents\Embarcadero\Studio\21.0\CatalogRepository\AndroidNDK-21-21.0.38860.1461\android-ndk-r21\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.exe: error: cannot find -lvclx
[ldandroid Error] C:\Users\Public\Documents\Embarcadero\Studio\21.0\CatalogRepository\AndroidNDK-21-21.0.38860.1461\android-ndk-r21\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.exe: error: cannot find -lvcldb
[ldandroid Error] C:\Users\Public\Documents\Embarcadero\Studio\21.0\CatalogRepository\AndroidNDK-21-21.0.38860.1461\android-ndk-r21\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.exe: error: cannot find -lvclwinx
[ldandroid Error] c:\program files (x86)\embarcadero\studio\21.0\lib\Android\release/libvquery270.a(LiteStaticVirtual.o):LiteStaticVirtual:function Litestaticvirtual::lite_sqlite3PagerSetCodec(void*, void*, void*, void*, void*): error: undefined reference to 'lite_sqlite3PagerSetCodec'
[ldandroid Error] c:\program files (x86)\embarcadero\studio\21.0\lib\Android\release/libvquery270.a(LiteStaticVirtual.o):LiteStaticVirtual:function Litestaticvirtual::lite_sqlite3GetBackend(void*, int): error: undefined reference to 'lite_sqlite3GetBackend'
[ldandroid Error] c:\program files (x86)\embarcadero\studio\21.0\lib\Android\release/libvquery270.a(LiteStaticVirtual.o):LiteStaticVirtual:function Litestaticvirtual::lite_sqlite3BtreeGetPageSize(void*): error: undefined reference to 'lite_sqlite3BtreeGetPageSize'
[ldandroid Error] c:\program files (x86)\embarcadero\studio\21.0\lib\Android\release/libvquery270.a(LiteStaticVirtual.o):LiteStaticVirtual:function Litestaticvirtual::lite_sqlite3BtreeBeginTrans(void*, int, int*): error: undefined reference to 'lite_sqlite3BtreeBeginTrans'
[ldandroid Error] c:\program files (x86)\embarcadero\studio\21.0\lib\Android\release/libvquery270.a(LiteStaticVirtual.o):LiteStaticVirtual:function Litestaticvirtual::lite_sqlite3BtreeCommit(void*): error: undefined reference to 'lite_sqlite3BtreeCommit'
[ldandroid Error] c:\program files (x86)\embarcadero\studio\21.0\lib\Android\release/libvquery270.a(LiteStaticVirtual.o):LiteStaticVirtual:function Litestaticvirtual::lite_sqlite3BtreeRollback(void*, int): error: undefined reference to 'lite_sqlite3BtreeRollback'
[ldandroid Error] c:\program files (x86)\embarcadero\studio\21.0\lib\Android\release/libvquery270.a(LiteStaticVirtual.o):LiteStaticVirtual:function Litestaticvirtual::lite_sqlite3GetBtreePager(void*): error: undefined reference to 'lite_sqlite3GetBtreePager'
[ldandroid Error] c:\program files (x86)\embarcadero\studio\21.0\lib\Android\release/libvquery270.a(LiteStaticVirtual.o):LiteStaticVirtual:function Litestaticvirtual::lite_sqlite3PagerGetCodec(void*): error: undefined reference to 'lite_sqlite3PagerGetCodec'
[ldandroid Error] c:\program files (x86)\embarcadero\studio\21.0\lib\Android\release/libvquery270.a(LiteStaticVirtual.o):LiteStaticVirtual:function Litestaticvirtual::lite_sqlite3PagerPagecount(void*, int*): error: undefined reference to 'lite_sqlite3PagerPagecount'
[ldandroid Error] c:\program files (x86)\embarcadero\studio\21.0\lib\Android\release/libvquery270.a(LiteStaticVirtual.o):LiteStaticVirtual:function Litestaticvirtual::lite_sqlite3PagerIsMjPgno(void*, unsigned int): error: undefined reference to 'lite_sqlite3PagerIsMjPgno'
[ldandroid Error] c:\program files (x86)\embarcadero\studio\21.0\lib\Android\release/libvquery270.a(LiteStaticVirtual.o):LiteStaticVirtual:function Litestaticvirtual::lite_sqlite3PagerGet(void*, unsigned int, void*, int): error: undefined reference to 'lite_sqlite3PagerGet'
[ldandroid Error] c:\program files (x86)\embarcadero\studio\21.0\lib\Android\release/libvquery270.a(LiteStaticVirtual.o):LiteStaticVirtual:function Litestaticvirtual::lite_sqlite3PagerWrite(void*): error: undefined reference to 'lite_sqlite3PagerWrite'
[ldandroid Error] c:\program files (x86)\embarcadero\studio\21.0\lib\Android\release/libvquery270.a(LiteStaticVirtual.o):LiteStaticVirtual:function Litestaticvirtual::lite_sqlite3PagerUnref(void*): error: undefined reference to 'lite_sqlite3PagerUnref'
[ldandroid Error] c:\program files (x86)\embarcadero\studio\21.0\lib\Android\release/libvquery270.a(LiteStaticVirtual.o):LiteStaticVirtual:function Litestaticvirtual::sqlite3InitVfsFunctions(Litecallvirtual::sqlite3_vfs*): error: undefined reference to 'sqlite3InitVfsFunctions'
[ldandroid Error] c:\program files (x86)\embarcadero\studio\21.0\lib\Android\release/libvquery270.a(LiteStaticVirtual.o):LiteStaticVirtual:function Litestaticvirtual::sqlite3InitCodecFunctions(Litecallvirtual::sqlite3_codec*): error: undefined reference to 'sqlite3InitCodecFunctions'
Failed
All the best,
Aggie85
What do I need to add to my project to compile a C++ program for Android 32 with the following missing functions:
[ldandroid Error] C:\Users\Public\Documents\Embarcadero\Studio\21.0\CatalogRepository\AndroidNDK-21-21.0.38860.1461\android-ndk-r21\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.exe: error: cannot find -lKbmMemTableRunC104Pro
[ldandroid Error] C:\Users\Public\Documents\Embarcadero\Studio\21.0\CatalogRepository\AndroidNDK-21-21.0.38860.1461\android-ndk-r21\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.exe: error: cannot find -lvclimg
[ldandroid Error] C:\Users\Public\Documents\Embarcadero\Studio\21.0\CatalogRepository\AndroidNDK-21-21.0.38860.1461\android-ndk-r21\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.exe: error: cannot find -lvcl
[ldandroid Error] C:\Users\Public\Documents\Embarcadero\Studio\21.0\CatalogRepository\AndroidNDK-21-21.0.38860.1461\android-ndk-r21\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.exe: error: cannot find -lvclactnband
[ldandroid Error] C:\Users\Public\Documents\Embarcadero\Studio\21.0\CatalogRepository\AndroidNDK-21-21.0.38860.1461\android-ndk-r21\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.exe: error: cannot find -lvclx
[ldandroid Error] C:\Users\Public\Documents\Embarcadero\Studio\21.0\CatalogRepository\AndroidNDK-21-21.0.38860.1461\android-ndk-r21\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.exe: error: cannot find -lvcldb
[ldandroid Error] C:\Users\Public\Documents\Embarcadero\Studio\21.0\CatalogRepository\AndroidNDK-21-21.0.38860.1461\android-ndk-r21\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64\bin\arm-linux-androideabi-ld.exe: error: cannot find -lvclwinx
[ldandroid Error] c:\program files (x86)\embarcadero\studio\21.0\lib\Android\release/libvquery270.a(LiteStaticVirtual.o):LiteStaticVirtual:function Litestaticvirtual::lite_sqlite3PagerSetCodec(void*, void*, void*, void*, void*): error: undefined reference to 'lite_sqlite3PagerSetCodec'
[ldandroid Error] c:\program files (x86)\embarcadero\studio\21.0\lib\Android\release/libvquery270.a(LiteStaticVirtual.o):LiteStaticVirtual:function Litestaticvirtual::lite_sqlite3GetBackend(void*, int): error: undefined reference to 'lite_sqlite3GetBackend'
[ldandroid Error] c:\program files (x86)\embarcadero\studio\21.0\lib\Android\release/libvquery270.a(LiteStaticVirtual.o):LiteStaticVirtual:function Litestaticvirtual::lite_sqlite3BtreeGetPageSize(void*): error: undefined reference to 'lite_sqlite3BtreeGetPageSize'
[ldandroid Error] c:\program files (x86)\embarcadero\studio\21.0\lib\Android\release/libvquery270.a(LiteStaticVirtual.o):LiteStaticVirtual:function Litestaticvirtual::lite_sqlite3BtreeBeginTrans(void*, int, int*): error: undefined reference to 'lite_sqlite3BtreeBeginTrans'
[ldandroid Error] c:\program files (x86)\embarcadero\studio\21.0\lib\Android\release/libvquery270.a(LiteStaticVirtual.o):LiteStaticVirtual:function Litestaticvirtual::lite_sqlite3BtreeCommit(void*): error: undefined reference to 'lite_sqlite3BtreeCommit'
[ldandroid Error] c:\program files (x86)\embarcadero\studio\21.0\lib\Android\release/libvquery270.a(LiteStaticVirtual.o):LiteStaticVirtual:function Litestaticvirtual::lite_sqlite3BtreeRollback(void*, int): error: undefined reference to 'lite_sqlite3BtreeRollback'
[ldandroid Error] c:\program files (x86)\embarcadero\studio\21.0\lib\Android\release/libvquery270.a(LiteStaticVirtual.o):LiteStaticVirtual:function Litestaticvirtual::lite_sqlite3GetBtreePager(void*): error: undefined reference to 'lite_sqlite3GetBtreePager'
[ldandroid Error] c:\program files (x86)\embarcadero\studio\21.0\lib\Android\release/libvquery270.a(LiteStaticVirtual.o):LiteStaticVirtual:function Litestaticvirtual::lite_sqlite3PagerGetCodec(void*): error: undefined reference to 'lite_sqlite3PagerGetCodec'
[ldandroid Error] c:\program files (x86)\embarcadero\studio\21.0\lib\Android\release/libvquery270.a(LiteStaticVirtual.o):LiteStaticVirtual:function Litestaticvirtual::lite_sqlite3PagerPagecount(void*, int*): error: undefined reference to 'lite_sqlite3PagerPagecount'
[ldandroid Error] c:\program files (x86)\embarcadero\studio\21.0\lib\Android\release/libvquery270.a(LiteStaticVirtual.o):LiteStaticVirtual:function Litestaticvirtual::lite_sqlite3PagerIsMjPgno(void*, unsigned int): error: undefined reference to 'lite_sqlite3PagerIsMjPgno'
[ldandroid Error] c:\program files (x86)\embarcadero\studio\21.0\lib\Android\release/libvquery270.a(LiteStaticVirtual.o):LiteStaticVirtual:function Litestaticvirtual::lite_sqlite3PagerGet(void*, unsigned int, void*, int): error: undefined reference to 'lite_sqlite3PagerGet'
[ldandroid Error] c:\program files (x86)\embarcadero\studio\21.0\lib\Android\release/libvquery270.a(LiteStaticVirtual.o):LiteStaticVirtual:function Litestaticvirtual::lite_sqlite3PagerWrite(void*): error: undefined reference to 'lite_sqlite3PagerWrite'
[ldandroid Error] c:\program files (x86)\embarcadero\studio\21.0\lib\Android\release/libvquery270.a(LiteStaticVirtual.o):LiteStaticVirtual:function Litestaticvirtual::lite_sqlite3PagerUnref(void*): error: undefined reference to 'lite_sqlite3PagerUnref'
[ldandroid Error] c:\program files (x86)\embarcadero\studio\21.0\lib\Android\release/libvquery270.a(LiteStaticVirtual.o):LiteStaticVirtual:function Litestaticvirtual::sqlite3InitVfsFunctions(Litecallvirtual::sqlite3_vfs*): error: undefined reference to 'sqlite3InitVfsFunctions'
[ldandroid Error] c:\program files (x86)\embarcadero\studio\21.0\lib\Android\release/libvquery270.a(LiteStaticVirtual.o):LiteStaticVirtual:function Litestaticvirtual::sqlite3InitCodecFunctions(Litecallvirtual::sqlite3_codec*): error: undefined reference to 'sqlite3InitCodecFunctions'
Failed
All the best,
Aggie85