@AT 1 Posted 16 hours ago (edited) I'm trying to build my project fro Linux64 target with 13.0 and building fails with the: [DCC Error] E2597 C:\Program Files (x86)\Embarcadero\Studio\37.0\bin\ld-linux.exe: error: cannot find -lgcc_s C:\Program Files (x86)\Embarcadero\Studio\37.0\bin\ld-linux.exe: error: cannot find -lc C:\Program Files (x86)\Embarcadero\Studio\37.0\bin\ld-linux.exe: error: cannot find -ldl C:\Program Files (x86)\Embarcadero\Studio\37.0\bin\ld-linux.exe: error: cannot find -lpthread C:\Program Files (x86)\Embarcadero\Studio\37.0\bin\ld-linux.exe: error: cannot find -lm c:\\program files (x86)\\embarcadero\\studio\\37.0\\lib\\Linux64\\release/libpcre_PIC.a(pcre_globals.o):C:\Projects\Ganymede\tp\runtime\rtl\common\regex\pcre\source\pcre_globals.c:pcre_malloc: error: undefined reference to 'malloc' c:\\program files (x86)\\embarcadero\\studio\\37.0\\lib\\Linux64\\release/libpcre_PIC.a(pcre_globals.o):C:\Projects\Ganymede\tp\runtime\rtl\common\regex\pcre\source\pcre_globals.c:pcre_free: error: undefined reference to 'free' c:\\program files (x86)\\embarcadero\\studio\\37.0\\lib\\Linux64\\release/libpcre_PIC.a(pcre_globals.o):C:\Projects\Ganymede\tp\runtime\rtl\common\regex\pcre\source\pcre_globals.c:pcre_stack_malloc: error: undefined reference to 'malloc' c:\\program files (x86)\\embarcadero\\studio\\37.0\\lib\\Linux64\\release/libpcre_PIC.a(pcre_globals.o):C:\Projects\Ganymede\tp\runtime\rtl\common\regex\pcre\source\pcre_globals.c:pcre_stack_free: error: undefined reference to 'free' c:\program files (x86)\embarcadero\studio\37.0\lib\Linux64\debug\SysInit.o:SysInit:function Sysinit::__malloc(unsigned long long): error: undefined reference to 'malloc' c:\program files (x86)\embarcadero\studio\37.0\lib\Linux64\debug\SysInit.o:SysInit:function Sysinit::__free(void*): error: undefined reference to 'free' c:\program files (x86)\embarcadero\studio\37.0\lib\Linux64\debug\SysInit.o:SysInit:function Sysinit::pthread_once(int&, void (*)()): error: undefined reference to 'pthread_once' c:\program files (x86)\embarcadero\studio\37.0\lib\Linux64\debug\SysInit.o:SysInit:function Sysinit::pthread_key_create(unsigned int&, void (*)(void*)): error: undefined reference to 'pthread_key_create' ... Total 265 linker errors. The Linux SDK (Ubuntu 24.04.x) is shared with the 12.3 and 13.0. and 12.3 continues building the project without issue. All required packages are installed in the Linux instance, PAServer works fine with 13.0. I was trying to refresh, delete/import SDK, however, the issue is still there. Has anyone see the same issue? Edited 16 hours ago by @AT Share this post Link to post
RDP1974 40 Posted 3 hours ago (edited) I had same behavior installing the linux only in the setup, then adding windows is working ok btw. ubuntu should have built-essential installed Edited 3 hours ago by RDP1974 Share this post Link to post