(Delphi Linux)ld-linux.exe:错误:找不到-lgcc_s [英] (Delphi Linux) ld-linux.exe: error: cannot find -lgcc_s

查看:228
本文介绍了(Delphi Linux)ld-linux.exe:错误:找不到-lgcc_s的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经设置了位于以下位置的PAserver: C:\ Program Files(x86)\ Embarcadero \ Studio \ 19.0 \ PAServer \ LinuxPAServer19.0.tar.gz 在我的Ubuntu Gnome 16.10虚拟机上.

请注意,我以前从未使用过pa服务器,这是我第一次使用它.

此后,我继续在Rad Studio 10.2上进行配置文件,测试连接成功.

编译后出现此错误:

 <代码> [DCC错误] E2597 C:\ Program Files(x86)\ Embarcadero \ Studio \ 19.0 \ bin \ ld-linux.exe:错误:找不到-lgcc_sC:\ Program Files(x86)\ Embarcadero \ Studio \ 19.0 \ bin \ ld-linux.exe:错误:找不到-lcC:\ Program Files(x86)\ Embarcadero \ Studio \ 19.0 \ bin \ ld-linux.exe:错误:找不到-ldlC:\ Program Files(x86)\ Embarcadero \ Studio \ 19.0 \ bin \ ld-linux.exe:错误:找不到-lpthreadC:\ Program Files(x86)\ Embarcadero \ Studio \ 19.0 \ bin \ ld-linux.exe:错误:找不到-lmc:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ SysInit.o:SysInit:function Sysinit :: __ malloc(NativeUInt):error:undefined reference to'malloc'c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ SysInit.o:SysInit:function Sysinit :: __ free(void *):error:undefined reference to'free'c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ SysInit.o:SysInit:function Sysinit :: pthread_once(int& ;, void(*)()):错误:未定义对'pthread_once'c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ SysInit.o:SysInit:function Sysinit :: pthread_key_create(unsigned int& ;, void(*)(void *)):错误:未定义引用"pthread_key_create"c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ SysInit.o:SysInit:function Sysinit :: dladdr(NativeUInt,dl_info&):错误:未定义对'dladdr'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ SysInit.o:SysInit:function Sysinit :: dlopen(char *,int):错误:未定义对dlopen的引用c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ SysInit.o:SysInit:function Sysinit :: dlclose(NativeUInt):error:undefined reference to'dlclose'c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ SysInit.o:SysInit:function Sysinit :: dlsym(NativeUInt,char *):错误:未定义对'dlsym'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ SysInit.o:SysInit:function Sysinit :: TlsGetValue(unsigned int):错误:未定义对'pthread_getspecific'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ SysInit.o:SysInit:function Sysinit :: TlsSetValue(unsigned int,void *):错误:未定义对'pthread_setspecific'的引用SysInit.pas:1150:错误:对'_Unwind_Resume'的未定义引用System.pas:684:错误:对"memset"的未定义引用System.pas:17775:错误:对'_Unwind_Resume'的未定义引用System.pas:16961:错误:对'_Unwind_Resume'的未定义引用System.pas:16998:错误:对'_Unwind_Resume'的未定义引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: getenv(char *):错误:未定义对'getenv'的引用c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: __ malloc(NativeUInt):error:undefined reference to'malloc'c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: calloc(NativeUInt,NativeUInt):错误:未定义对'calloc'的引用c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: realloc(void *,NativeUInt):错误:未定义对'realloc'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: __ free(void *):错误:未定义对'free'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: __ exit(int):错误:未定义对'exit'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: memmove(void *,void const *,NativeUInt):错误:未定义对'memmove的引用'c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: memset(void *,int,NativeUInt):错误:未定义对'memset'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: __ raise(int):error:undefined reference to'raise'c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: pthread_self():错误:未定义对'pthread_self'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: sched_yield():错误:未定义对'sched_yield'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: dlopen(char *,int):错误:未定义对'dlopen'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: dlclose(NativeUInt):错误:未定义对dlclose的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: dlsym(NativeUInt,char *):错误:未定义对dlsym的引用c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: dlerror():error:undefined reference to'dlerror'c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: open(char *,int):error:undefined reference to'open'c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: __ chdir(char *):错误:未定义对'chdir'的引用c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: __ close(int):error:undefined reference to'close'c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: fchdir(int):错误:未定义对'fchdir'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: ftruncate(int,long):错误:未定义对'ftruncate'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: getcwd(char *,NativeUInt):错误:未定义对'getcwd'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: lseek(int,long,int):错误:未定义对'lseek'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: __ read(int,void *,NativeUInt):错误:未定义对'read'的引用c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: sysconf(int):错误:未定义对'sysconf'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: usleep(unsigned int):错误:未定义对'usleep'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: __ write(int,void *,NativeUInt):错误:未定义对'write'的引用c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: iconv(void *,char **,NativeUInt *,char **,NativeUInt *):错误:对'iconv'的未定义引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: iconv_open(char *,char *):错误:未定义对'iconv_open'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: iconv_close(void *):错误:未定义对'iconv_close'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: mmap(void *,NativeUInt,int,int,int,long):错误:未定义引用"mmap"c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: munmap(void *,NativeUInt):错误:未定义对'munmap'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: __ error():错误:未定义对'__errno_location'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: wcscoll_l(int const *,int const *,void *):错误:未定义引用'wcscoll_l'c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: towupper_l(unsigned int,void *):错误:未定义对'towupper_l'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: setlocale(int,char const *):错误:未定义对'setlocale'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: newlocale(int,char const *,void *):错误:未定义对'newlocale的引用'c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: times(tms&):error:undefined reference to'times'c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: fegetexceptflag(unsigned short *,unsigned int):错误:未定义对'fegetexceptflag'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: fesetexceptflag(unsigned short *,unsigned int):错误:未定义对'fesetexceptflag'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: fegetround():错误:未定义对'fegetround'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: fesetround(unsigned int):错误:未定义对'fesetround'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: fedisableexcept(unsigned int):错误:未定义对'fedisableexcept'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: libm_cosl(long double):错误:未定义对'cosl'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: libm_sinl(long double):错误:未定义对'sinl'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: libm_atanl(long double):错误:未定义对'atanl'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: libm_sqrtl(long double):错误:未定义对'sqrtl'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: llrintl(long double):错误:未定义对'llrintl'的引用System.pas:17159:错误:对'memset'的未定义引用c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: _ Unwind_RaiseException(_Unwind_Exception&):错误:未定义对'_Unwind_RaiseException的引用c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: _ Unwind_GetRegionStart(_Unwind_Context *):错误:未定义对'_Unwind_GetRegionStart'的引用c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: _ Unwind_GetLanguageSpecificData(_Unwind_Context *):错误:未定义对'_Unwind_GetLanguageSpecificData'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: _ Unwind_SetGR(_Unwind_Context *,int,NativeUInt):错误:未定义对'_Unwind_SetGR'的引用c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: _ Unwind_GetIP(_Unwind_Context *):错误:未定义对'_Unwind_GetIP'的引用c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.o:System:function System :: _ Unwind_SetIP(_Unwind_Context *,NativeUInt):错误:未定义对'_Unwind_SetIP'的引用System.pas:24170:错误:对'memcpy'的未定义引用System.pas:23916:错误:未定义对'memcpy'的引用System.pas:23917:错误:对'memcpy'的未定义引用c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Dlfcn.o:Posix.Dlfcn:function Posix :: Dlfcn :: dladdr(NativeUInt,dl_info&):错误:未定义的引用到"dladdr"c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Dlfcn.o:Posix.Dlfcn:function Posix :: Dlfcn :: dlopen(char *,int):error:undefined reference到'dlopen'c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Dlfcn.o:Posix.Dlfcn:function Posix :: Dlfcn :: dlclose(NativeUInt):error:undefined reference to'dlclose'c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Dlfcn.o:Posix.Dlfcn:function Posix :: Dlfcn :: dlsym(NativeUInt,char *):错误:未定义引用到"dlsym"c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Fcntl.o:Posix.Fcntl:function Posix :: Fcntl :: __ open(char *,int):错误:未定义的引用打开'c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Fcntl.o:Posix.Fcntl:function Posix :: Fcntl :: fcntl(int,int):错误:未定义引用'fcntl'c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.SysStat.o:Posix.SysStat:function Posix :: Sysstat :: fstat(int,_stat&):错误:未定义参考到"fstat"c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.SysStat.o:Posix.SysStat:function Posix :: Sysstat :: lstat(char *,_stat&):错误:未定义引用"lstat"c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.SysStat.o:Posix.SysStat:function Posix :: Sysstat :: stat(char *,_stat&):错误:未定义引用"stat"c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Signal.o:Posix.Signal:function Posix :: Signal :: sigaction(int,sigaction_t *,sigaction_t *):错误:未定义对"sigaction"的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Signal.o:Posix.Signal:function Posix :: Signal :: sigaddset(sigset_t& ;, int):错误:未定义的引用到'sigaddset'c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Signal.o:Posix.Signal:function Posix :: Signal :: kill(int,int):错误:未定义引用'杀'c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Time.o:Posix.Time:function Posix :: Time :: clock_gettime(int,timespec *):错误:未定义参考到"clock_gettime"c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Time.o:Posix.Time:function Posix :: Time :: localtime_r(long& ;, tm&):错误:未定义引用"localtime_r"c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.SysTime.o:Posix.SysTime:function Posix :: Systime :: gettimeofday(timeval& ;, void *):错误:未定义引用"gettimeofday"c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Locale.o:Posix.Locale:function Posix :: Locale :: localeconv():error:undefined reference to'localeconv'c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Locale.o:Posix.Locale:function Posix :: Locale :: newlocale(int,char const *,void *):错误:未定义对"newlocale"的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Locale.o:Posix.Locale:function Posix :: Locale :: freelocale(void *):error:undefined reference to'freelocale'c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Locale.o:Posix.Locale:function Posix :: Locale :: duplocale(void *):error:undefined reference to'duplocale'c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Locale.o:Posix.Locale:function Posix :: Locale :: uselocale(void *):error:undefined reference to'uselocale'c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Iconv.o:Posix.Iconv:function Posix :: Iconv :: iconv_open(char *,char *):错误:未定义引用"iconv_open"c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Iconv.o:Posix.Iconv:function Posix :: Iconv :: iconv_close(void *):错误:未定义对'iconv_close'c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Dirent.o:Posix.Dirent:function Posix :: Dirent :: closedir(__ dirstream *):错误:未定义对封闭的c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Dirent.o:Posix.Dirent:function Posix :: Dirent :: opendir(char *):error:undefined reference to'opendir'c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Dirent.o:Posix.Dirent:function Posix :: Dirent :: readdir_r(__ dirstream *,dirent *,dirent *&):错误:未定义对'readdir_r'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Errno.o:Posix.Errno:function Posix :: Errno :: __ error():错误:未定义对'__errno_location'的引用c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Fnmatch.o:Posix.Fnmatch:function Posix :: Fnmatch :: fnmatch(char *,char *,int):错误:对'fnmatch'的未定义引用c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Langinfo.o:Posix.Langinfo:function Posix :: Langinfo :: nl_langinfo(int):错误:未定义对'nl_langinfo的引用'c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Langinfo.o:Posix.Langinfo:function Posix :: Langinfo :: nl_langinfo_l(int,void *):错误:未定义引用到'nl_langinfo_l'c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Pthread.o:Posix.Pthread:function Posix :: Pthread :: GetCurrentThreadID():error:undefined reference to'pthread_self'c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Stdlib.o:Posix.Stdlib:function Posix :: Stdlib :: getenv(char *):error:undefined reference to'getenv'c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.String_.o:Posix.String_:function Posix :: String _ :: memcmp(void const *,void const *,NativeUInt):错误:对'memcmp'的未定义引用c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.String_.o:Posix.String_:function Posix :: String _ :: strcmp(char *,char *):错误:未定义引用"strcmp"c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.String_.o:Posix.String_:function Posix :: String _ :: strerror_r(int,char *,NativeUInt):错误:未定义对"strerror_r"的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Unistd.o:Posix.Unistd:function Posix :: Unistd :: euidaccess(char *,int):error:undefined reference访问"c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Unistd.o:Posix.Unistd:function Posix :: Unistd :: __ close(int):error:undefined reference to'close'c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Unistd.o:Posix.Unistd:function Posix :: Unistd :: getpid():错误:未定义对'getpid'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Unistd.o:Posix.Unistd:function Posix :: Unistd :: __ read(int,void *,NativeUInt):错误:未定义对读"的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Unistd.o:Posix.Unistd:function Posix :: Unistd :: __ write(int,void *,NativeUInt):错误:未定义对写"的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Semaphore.o:Posix.Semaphore:function Posix :: Semaphore :: sem_destroy(sem_t&):错误:未定义对'sem_destroy'c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Semaphore.o:Posix.Semaphore:function Posix :: Semaphore :: sem_getvalue(sem_t& ;, int&):错误:未定义引用"sem_getvalue"c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Semaphore.o:Posix.Semaphore:function Posix :: Semaphore :: sem_init(sem_t& int,unsigned int):错误:对'sem_init'的未定义引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Semaphore.o:Posix.Semaphore:function Posix :: Semaphore :: sem_post(sem_t&):错误:未定义对'sem_post'c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Semaphore.o:Posix.Semaphore:function Posix :: Semaphore :: sem_trywait(sem_t&):错误:未定义对'sem_trywait'c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Semaphore.o:Posix.Semaphore:function Posix :: Semaphore :: sem_wait(sem_t&):错误:未定义对'sem_wait'c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Semaphore.o:Posix.Semaphore:function Posix :: Semaphore :: sem_timedwait(sem_t& ;, timespec&):错误:未定义引用"sem_timedwait"c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.SysUtsname.o:Posix.SysUtsname:function Posix :: Sysutsname :: uname(utsname&):error:undefined reference to'amec:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Wchar.o:Posix.Wchar:function Posix :: Wchar :: wcscoll_l(int const *,int const *,void *):错误:未定义对'wcscoll_l'的引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Wchar.o:Posix.Wchar:function Posix :: Wchar :: wcscasecmp_l(int const *,int const *,void *):错误:未定义对'wcscasecmp_l'的引用c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Wctype.o:Posix.Wctype:function Posix :: Wctype :: towlower_l(unsigned int,void *):错误:未定义引用"towlower_l"c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ Posix.Wctype.o:Posix.Wctype:function Posix :: Wctype :: towupper_l(unsigned int,void *):错误:未定义引用"towupper_l"c:\程序文件(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.Internal.ExcUtils.o:System.Internal.ExcUtils:function System :: Internal :: Excutils :: TlsGetValue(int):错误:未定义对"pthread_getspecific"的引用System.SysUtils.pas:978:错误:对"memset"的未定义引用c:\ program files(x86)\ embarcadero \ studio \ 19.0 \ lib \ Linux64 \ debug \ System.SysUtils.o:System.SysUtils:function System :: Sysutils :: gnu_get_libc_version():error:undefined reference to'gnu_get_libc_version' 

解决方案

我已解决此问题,方法是删除SDK,然后重新添加它,并在要求覆盖某些文件时选择 no to all .>

I have set up the PAserver that was located at: C:\Program Files (x86)\Embarcadero\Studio\19.0\PAServer\LinuxPAServer19.0.tar.gz on my Ubuntu Gnome 16.10 vm.

Please note that I have never used the pa server before and this is my first time using it

After that I proceeded to make a profile on Rad Studio 10.2 and the test connection was a success.

After I compile I get this error:

[DCC Error] E2597 C:\Program Files (x86)\Embarcadero\Studio\19.0\bin\ld-linux.exe: error: cannot find -lgcc_s
  C:\Program Files (x86)\Embarcadero\Studio\19.0\bin\ld-linux.exe: error: cannot find -lc
  C:\Program Files (x86)\Embarcadero\Studio\19.0\bin\ld-linux.exe: error: cannot find -ldl
  C:\Program Files (x86)\Embarcadero\Studio\19.0\bin\ld-linux.exe: error: cannot find -lpthread
  C:\Program Files (x86)\Embarcadero\Studio\19.0\bin\ld-linux.exe: error: cannot find -lm
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\SysInit.o:SysInit:function Sysinit::__malloc(NativeUInt): error: undefined reference to 'malloc'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\SysInit.o:SysInit:function Sysinit::__free(void*): error: undefined reference to 'free'
  c:\program files (x86)\embarcadero\studio\19.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\19.0\lib\Linux64\debug\SysInit.o:SysInit:function Sysinit::pthread_key_create(unsigned int&, void (*)(void*)): error: undefined reference to 'pthread_key_create'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\SysInit.o:SysInit:function Sysinit::dladdr(NativeUInt, dl_info&): error: undefined reference to 'dladdr'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\SysInit.o:SysInit:function Sysinit::dlopen(char*, int): error: undefined reference to 'dlopen'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\SysInit.o:SysInit:function Sysinit::dlclose(NativeUInt): error: undefined reference to 'dlclose'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\SysInit.o:SysInit:function Sysinit::dlsym(NativeUInt, char*): error: undefined reference to 'dlsym'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\SysInit.o:SysInit:function Sysinit::TlsGetValue(unsigned int): error: undefined reference to 'pthread_getspecific'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\SysInit.o:SysInit:function Sysinit::TlsSetValue(unsigned int, void*): error: undefined reference to 'pthread_setspecific'
  SysInit.pas:1150: error: undefined reference to '_Unwind_Resume'
  System.pas:684: error: undefined reference to 'memset'
  System.pas:17775: error: undefined reference to '_Unwind_Resume'
  System.pas:16961: error: undefined reference to '_Unwind_Resume'
  System.pas:16998: error: undefined reference to '_Unwind_Resume'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::getenv(char*): error: undefined reference to 'getenv'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::__malloc(NativeUInt): error: undefined reference to 'malloc'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::calloc(NativeUInt, NativeUInt): error: undefined reference to 'calloc'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::realloc(void*, NativeUInt): error: undefined reference to 'realloc'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::__free(void*): error: undefined reference to 'free'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::__exit(int): error: undefined reference to 'exit'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::memmove(void*, void const*, NativeUInt): error: undefined reference to 'memmove'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::memset(void*, int, NativeUInt): error: undefined reference to 'memset'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::__raise(int): error: undefined reference to 'raise'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::pthread_self(): error: undefined reference to 'pthread_self'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::sched_yield(): error: undefined reference to 'sched_yield'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::dlopen(char*, int): error: undefined reference to 'dlopen'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::dlclose(NativeUInt): error: undefined reference to 'dlclose'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::dlsym(NativeUInt, char*): error: undefined reference to 'dlsym'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::dlerror(): error: undefined reference to 'dlerror'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::open(char*, int): error: undefined reference to 'open'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::__chdir(char*): error: undefined reference to 'chdir'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::__close(int): error: undefined reference to 'close'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::fchdir(int): error: undefined reference to 'fchdir'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::ftruncate(int, long): error: undefined reference to 'ftruncate'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::getcwd(char*, NativeUInt): error: undefined reference to 'getcwd'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::lseek(int, long, int): error: undefined reference to 'lseek'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::__read(int, void*, NativeUInt): error: undefined reference to 'read'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::sysconf(int): error: undefined reference to 'sysconf'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::usleep(unsigned int): error: undefined reference to 'usleep'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::__write(int, void*, NativeUInt): error: undefined reference to 'write'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::iconv(void*, char**, NativeUInt*, char**, NativeUInt*): error: undefined reference to 'iconv'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::iconv_open(char*, char*): error: undefined reference to 'iconv_open'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::iconv_close(void*): error: undefined reference to 'iconv_close'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::mmap(void*, NativeUInt, int, int, int, long): error: undefined reference to 'mmap'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::munmap(void*, NativeUInt): error: undefined reference to 'munmap'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::__error(): error: undefined reference to '__errno_location'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::wcscoll_l(int const*, int const*, void*): error: undefined reference to 'wcscoll_l'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::towupper_l(unsigned int, void*): error: undefined reference to 'towupper_l'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::setlocale(int, char const*): error: undefined reference to 'setlocale'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::newlocale(int, char const*, void*): error: undefined reference to 'newlocale'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::times(tms&): error: undefined reference to 'times'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::fegetexceptflag(unsigned short*, unsigned int): error: undefined reference to 'fegetexceptflag'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::fesetexceptflag(unsigned short*, unsigned int): error: undefined reference to 'fesetexceptflag'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::fegetround(): error: undefined reference to 'fegetround'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::fesetround(unsigned int): error: undefined reference to 'fesetround'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::fedisableexcept(unsigned int): error: undefined reference to 'fedisableexcept'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::libm_cosl(long double): error: undefined reference to 'cosl'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::libm_sinl(long double): error: undefined reference to 'sinl'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::libm_atanl(long double): error: undefined reference to 'atanl'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::libm_sqrtl(long double): error: undefined reference to 'sqrtl'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::llrintl(long double): error: undefined reference to 'llrintl'
  System.pas:17159: error: undefined reference to 'memset'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::_Unwind_RaiseException(_Unwind_Exception&): error: undefined reference to '_Unwind_RaiseException'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::_Unwind_GetRegionStart(_Unwind_Context*): error: undefined reference to '_Unwind_GetRegionStart'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::_Unwind_GetLanguageSpecificData(_Unwind_Context*): error: undefined reference to '_Unwind_GetLanguageSpecificData'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::_Unwind_SetGR(_Unwind_Context*, int, NativeUInt): error: undefined reference to '_Unwind_SetGR'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::_Unwind_GetIP(_Unwind_Context*): error: undefined reference to '_Unwind_GetIP'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.o:System:function System::_Unwind_SetIP(_Unwind_Context*, NativeUInt): error: undefined reference to '_Unwind_SetIP'
  System.pas:24170: error: undefined reference to 'memcpy'
  System.pas:23916: error: undefined reference to 'memcpy'
  System.pas:23917: error: undefined reference to 'memcpy'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Dlfcn.o:Posix.Dlfcn:function Posix::Dlfcn::dladdr(NativeUInt, dl_info&): error: undefined reference to 'dladdr'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Dlfcn.o:Posix.Dlfcn:function Posix::Dlfcn::dlopen(char*, int): error: undefined reference to 'dlopen'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Dlfcn.o:Posix.Dlfcn:function Posix::Dlfcn::dlclose(NativeUInt): error: undefined reference to 'dlclose'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Dlfcn.o:Posix.Dlfcn:function Posix::Dlfcn::dlsym(NativeUInt, char*): error: undefined reference to 'dlsym'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Fcntl.o:Posix.Fcntl:function Posix::Fcntl::__open(char*, int): error: undefined reference to 'open'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Fcntl.o:Posix.Fcntl:function Posix::Fcntl::fcntl(int, int): error: undefined reference to 'fcntl'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.SysStat.o:Posix.SysStat:function Posix::Sysstat::fstat(int, _stat&): error: undefined reference to 'fstat'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.SysStat.o:Posix.SysStat:function Posix::Sysstat::lstat(char*, _stat&): error: undefined reference to 'lstat'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.SysStat.o:Posix.SysStat:function Posix::Sysstat::stat(char*, _stat&): error: undefined reference to 'stat'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Signal.o:Posix.Signal:function Posix::Signal::sigaction(int, sigaction_t*, sigaction_t*): error: undefined reference to 'sigaction'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Signal.o:Posix.Signal:function Posix::Signal::sigaddset(sigset_t&, int): error: undefined reference to 'sigaddset'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Signal.o:Posix.Signal:function Posix::Signal::kill(int, int): error: undefined reference to 'kill'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Time.o:Posix.Time:function Posix::Time::clock_gettime(int, timespec*): error: undefined reference to 'clock_gettime'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Time.o:Posix.Time:function Posix::Time::localtime_r(long&, tm&): error: undefined reference to 'localtime_r'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.SysTime.o:Posix.SysTime:function Posix::Systime::gettimeofday(timeval&, void*): error: undefined reference to 'gettimeofday'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Locale.o:Posix.Locale:function Posix::Locale::localeconv(): error: undefined reference to 'localeconv'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Locale.o:Posix.Locale:function Posix::Locale::newlocale(int, char const*, void*): error: undefined reference to 'newlocale'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Locale.o:Posix.Locale:function Posix::Locale::freelocale(void*): error: undefined reference to 'freelocale'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Locale.o:Posix.Locale:function Posix::Locale::duplocale(void*): error: undefined reference to 'duplocale'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Locale.o:Posix.Locale:function Posix::Locale::uselocale(void*): error: undefined reference to 'uselocale'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Iconv.o:Posix.Iconv:function Posix::Iconv::iconv_open(char*, char*): error: undefined reference to 'iconv_open'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Iconv.o:Posix.Iconv:function Posix::Iconv::iconv_close(void*): error: undefined reference to 'iconv_close'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Dirent.o:Posix.Dirent:function Posix::Dirent::closedir(__dirstream*): error: undefined reference to 'closedir'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Dirent.o:Posix.Dirent:function Posix::Dirent::opendir(char*): error: undefined reference to 'opendir'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Dirent.o:Posix.Dirent:function Posix::Dirent::readdir_r(__dirstream*, dirent*, dirent*&): error: undefined reference to 'readdir_r'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Errno.o:Posix.Errno:function Posix::Errno::__error(): error: undefined reference to '__errno_location'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Fnmatch.o:Posix.Fnmatch:function Posix::Fnmatch::fnmatch(char*, char*, int): error: undefined reference to 'fnmatch'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Langinfo.o:Posix.Langinfo:function Posix::Langinfo::nl_langinfo(int): error: undefined reference to 'nl_langinfo'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Langinfo.o:Posix.Langinfo:function Posix::Langinfo::nl_langinfo_l(int, void*): error: undefined reference to 'nl_langinfo_l'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Pthread.o:Posix.Pthread:function Posix::Pthread::GetCurrentThreadID(): error: undefined reference to 'pthread_self'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Stdlib.o:Posix.Stdlib:function Posix::Stdlib::getenv(char*): error: undefined reference to 'getenv'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.String_.o:Posix.String_:function Posix::String_::memcmp(void const*, void const*, NativeUInt): error: undefined reference to 'memcmp'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.String_.o:Posix.String_:function Posix::String_::strcmp(char*, char*): error: undefined reference to 'strcmp'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.String_.o:Posix.String_:function Posix::String_::strerror_r(int, char*, NativeUInt): error: undefined reference to 'strerror_r'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Unistd.o:Posix.Unistd:function Posix::Unistd::euidaccess(char*, int): error: undefined reference to 'access'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Unistd.o:Posix.Unistd:function Posix::Unistd::__close(int): error: undefined reference to 'close'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Unistd.o:Posix.Unistd:function Posix::Unistd::getpid(): error: undefined reference to 'getpid'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Unistd.o:Posix.Unistd:function Posix::Unistd::__read(int, void*, NativeUInt): error: undefined reference to 'read'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Unistd.o:Posix.Unistd:function Posix::Unistd::__write(int, void*, NativeUInt): error: undefined reference to 'write'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Semaphore.o:Posix.Semaphore:function Posix::Semaphore::sem_destroy(sem_t&): error: undefined reference to 'sem_destroy'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Semaphore.o:Posix.Semaphore:function Posix::Semaphore::sem_getvalue(sem_t&, int&): error: undefined reference to 'sem_getvalue'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Semaphore.o:Posix.Semaphore:function Posix::Semaphore::sem_init(sem_t&, int, unsigned int): error: undefined reference to 'sem_init'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Semaphore.o:Posix.Semaphore:function Posix::Semaphore::sem_post(sem_t&): error: undefined reference to 'sem_post'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Semaphore.o:Posix.Semaphore:function Posix::Semaphore::sem_trywait(sem_t&): error: undefined reference to 'sem_trywait'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Semaphore.o:Posix.Semaphore:function Posix::Semaphore::sem_wait(sem_t&): error: undefined reference to 'sem_wait'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Semaphore.o:Posix.Semaphore:function Posix::Semaphore::sem_timedwait(sem_t&, timespec&): error: undefined reference to 'sem_timedwait'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.SysUtsname.o:Posix.SysUtsname:function Posix::Sysutsname::uname(utsname&): error: undefined reference to 'uname'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Wchar.o:Posix.Wchar:function Posix::Wchar::wcscoll_l(int const*, int const*, void*): error: undefined reference to 'wcscoll_l'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Wchar.o:Posix.Wchar:function Posix::Wchar::wcscasecmp_l(int const*, int const*, void*): error: undefined reference to 'wcscasecmp_l'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Wctype.o:Posix.Wctype:function Posix::Wctype::towlower_l(unsigned int, void*): error: undefined reference to 'towlower_l'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\Posix.Wctype.o:Posix.Wctype:function Posix::Wctype::towupper_l(unsigned int, void*): error: undefined reference to 'towupper_l'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.Internal.ExcUtils.o:System.Internal.ExcUtils:function System::Internal::Excutils::TlsGetValue(int): error: undefined reference to 'pthread_getspecific'
  System.SysUtils.pas:978: error: undefined reference to 'memset'
  c:\program files (x86)\embarcadero\studio\19.0\lib\Linux64\debug\System.SysUtils.o:System.SysUtils:function System::Sysutils::gnu_get_libc_version(): error: undefined reference to 'gnu_get_libc_version'

解决方案

I fixed this by removing the SDK and re-adding it and selecting no to all when asked to overwrite some files.

这篇关于(Delphi Linux)ld-linux.exe:错误:找不到-lgcc_s的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆