Using TMS Xdata wont compile to linux

Issue #129 resolved
Anonymous created an issue

Hi, I'm using Tms xdata and tms remoteDB om my fmx aplication

when I try to compile to linux using fmxlinux I got these error :

C:\Program Files (x86)\Embarcadero\Studio\19.0\bin\ld-linux.exe: error: cannot find -lz c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Linuxapi.Curl.o:Linuxapi.Curl:function Linuxapi::Curl::curl_global_init(int): error: undefined reference to 'curl_global_init' c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Linuxapi.Curl.o:Linuxapi.Curl:function Linuxapi::Curl::curl_global_cleanup(): error: undefined reference to 'curl_global_cleanup' c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Linuxapi.Curl.o:Linuxapi.Curl:function Linuxapi::Curl::curl_slist_append(curl_slist, char): error: undefined reference to 'curl_slist_append' c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Linuxapi.Curl.o:Linuxapi.Curl:function Linuxapi::Curl::curl_slist_free_all(curl_slist): error: undefined reference to 'curl_slist_free_all' c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Linuxapi.Curl.o:Linuxapi.Curl:function Linuxapi::Curl::curl_easy_init(): error: undefined reference to 'curl_easy_init' c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Linuxapi.Curl.o:Linuxapi.Curl:function Linuxapi::Curl::curl_easy_setopt(void, CURLoption): error: undefined reference to 'curl_easy_setopt' c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Linuxapi.Curl.o:Linuxapi.Curl:function Linuxapi::Curl::curl_easy_perform(void): error: undefined reference to 'curl_easy_perform' c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Linuxapi.Curl.o:Linuxapi.Curl:function Linuxapi::Curl::curl_easy_cleanup(void): error: undefined reference to 'curl_easy_cleanup' c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Linuxapi.Curl.o:Linuxapi.Curl:function Linuxapi::Curl::curl_easy_getinfo(void, CURLINFO): error: undefined reference to 'curl_easy_getinfo' c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Linuxapi.Curl.o:Linuxapi.Curl:function Linuxapi::Curl::curl_easy_duphandle(void): error: undefined reference to 'curl_easy_duphandle' c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.ZLib.o:System.ZLib:function System::Zlib::deflate(System::Zlib::z_stream&, int): error: undefined reference to 'deflate' c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.ZLib.o:System.ZLib:function System::Zlib::deflateEnd(System::Zlib::z_stream&): error: undefined reference to 'deflateEnd' c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.ZLib.o:System.ZLib:function System::Zlib::inflate(System::Zlib::z_stream&, int): error: undefined reference to 'inflate' c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.ZLib.o:System.ZLib:function System::Zlib::inflateEnd(System::Zlib::z_stream&): error: undefined reference to 'inflateEnd' c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.ZLib.o:System.ZLib:function System::Zlib::inflateReset(System::Zlib::z_stream&): error: undefined reference to 'inflateReset' c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.ZLib.o:System.ZLib:function System::Zlib::deflateInit2_(System::Zlib::z_stream&, int, int, int, int, int, char, int): error: undefined reference to 'deflateInit2_' c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.ZLib.o:System.ZLib:function System::Zlib::inflateInit2_(System::Zlib::z_stream&, int, char, int): error: undefined reference to 'inflateInit2_'

if I remove the use of Xdata.Client from the Uses clause of my form then it works.

Comments (2)

  1. Log in to comment