Compile failed on FreeBSD 5.4

Questions and Answers : Unix/Linux : Compile failed on FreeBSD 5.4
Message board moderation

To post messages, you must log in.

AuthorMessage
Pat

Send message
Joined: 28 Jul 04
Posts: 2
Credit: 21,865,112
RAC: 20
Taiwan
Message 217235 - Posted: 18 Dec 2005, 10:53:10 UTC

I always get the following error message while compiling "boinc-cvs-2005-06-01.tar.gz":
/usr/lib/crt1.o(.text+0x5e): In function `_start':
: undefined reference to `atexit'
/usr/lib/crt1.o(.text+0x68): In function `_start':
: undefined reference to `_init_tls'
/usr/lib/crt1.o(.text+0x75): In function `_start':
: undefined reference to `atexit'
/usr/lib/crt1.o(.text+0x8e): In function `_start':
: undefined reference to `exit'
crypt_prog.o(.text+0x10): In function `die(char const*)':
/tmp/boinc/lib/crypt_prog.C:42: undefined reference to `__stderrp'
crypt_prog.o(.text+0x15):/tmp/boinc/lib/crypt_prog.C:42: undefined reference to `fprintf'
crypt_prog.o(.text+0x21):/tmp/boinc/lib/crypt_prog.C:43: undefined reference to `exit'
crypt_prog.o(.text+0x3e): In function `better_random_create(R_RANDOM_STRUCT*)':
/tmp/boinc/lib/crypt_prog.C:69: undefined reference to `fopen'
crypt_prog.o(.text+0x55):/tmp/boinc/lib/crypt_prog.C:74: undefined reference to `fread'
crypt_prog.o(.text+0x63):/tmp/boinc/lib/crypt_prog.C:75: undefined reference to `fread'
crypt_prog.o(.text+0x6c):/tmp/boinc/lib/crypt_prog.C:76: undefined reference to `fclose'
crypt_prog.o(.text+0x8e):/tmp/boinc/lib/crypt_prog.C:71: undefined reference to `__stderrp'
crypt_prog.o(.text+0x93):/tmp/boinc/lib/crypt_prog.C:71: undefined reference to `fprintf'
crypt_prog.o(.text+0x9f):/tmp/boinc/lib/crypt_prog.C:72: undefined reference to `exit'
crypt_prog.o(.text+0x129): In function `main':
/tmp/boinc/lib/crypt_prog.C:140: undefined reference to `fopen'
crypt_prog.o(.text+0x167):/tmp/boinc/lib/crypt_prog.C:144: undefined reference to `fopen'
crypt_prog.o(.text+0x253):/tmp/boinc/lib/crypt_prog.C:118: undefined reference to `fopen'
crypt_prog.o(.text+0x2b1):/tmp/boinc/lib/crypt_prog.C:125: undefined reference to `__stdoutp'
crypt_prog.o(.text+0x2d8):/tmp/boinc/lib/crypt_prog.C:97: undefined reference to `printf'
crypt_prog.o(.text+0x2e1):/tmp/boinc/lib/crypt_prog.C:98: undefined reference to `atoi'
crypt_prog.o(.text+0x341):/tmp/boinc/lib/crypt_prog.C:111: undefined reference to `fopen'
crypt_prog.o(.text+0x361):/tmp/boinc/lib/crypt_prog.C:113: undefined reference to `fopen'
crypt_prog.o(.text+0x3ad):/tmp/boinc/lib/crypt_prog.C:157: undefined reference to `puts'
crypt_prog.o(.text+0x3cf):/tmp/boinc/lib/crypt_prog.C:127: undefined reference to `fopen'
crypt_prog.o(.text+0x40d):/tmp/boinc/lib/crypt_prog.C:131: undefined reference to `fopen'
crypt_prog.o(.text+0x47d):/tmp/boinc/lib/crypt_prog.C:138: undefined reference to `printf'
crypt_prog.o(.text+0x5a8):/tmp/boinc/lib/crypt_prog.C:93: undefined reference to `puts'
crypt_prog.o(.text+0x5b4):/tmp/boinc/lib/crypt_prog.C:94: undefined reference to `exit'
crypt.o(.text+0x2b): In function `print_hex_data(__sFILE*, DATA_BLOCK&)':
/tmp/boinc/lib/crypt.C:54: undefined reference to `fprintf'
crypt.o(.text+0x52):/tmp/boinc/lib/crypt.C:58: undefined reference to `fprintf'
crypt.o(.text+0x6a):/tmp/boinc/lib/crypt.C:55: undefined reference to `fprintf'
crypt.o(.text+0x7d):/tmp/boinc/lib/crypt.C:57: undefined reference to `fprintf'
crypt.o(.text+0x8e):/tmp/boinc/lib/crypt.C:58: undefined reference to `fprintf'
crypt.o(.text+0xdc): In function `sprint_hex_data(char*, DATA_BLOCK&)':
/tmp/boinc/lib/crypt.C:70: undefined reference to `sprintf'
crypt.o(.text+0xe8):/tmp/boinc/lib/crypt.C:71: undefined reference to `strcat'
crypt.o(.text+0x183): In function `scan_hex_data(__sFILE*, DATA_BLOCK&)':
/tmp/boinc/lib/crypt.C:105: undefined reference to `fscanf'
crypt.o(.text+0x1b8): In function `sscan_hex_data':
/tmp/boinc/lib/crypt.C:121: undefined reference to `isspace'
crypt.o(.text+0x1cc):/tmp/boinc/lib/crypt.C:121: undefined reference to `isspace'
crypt.o(.text+0x1e3):/tmp/boinc/lib/crypt.C:125: undefined reference to `sscanf'
crypt.o(.text+0x218):/tmp/boinc/lib/crypt.C:130: undefined reference to `__stderrp'
crypt.o(.text+0x21d):/tmp/boinc/lib/crypt.C:130: undefined reference to `fprintf'
crypt.o(.text+0x249): In function `print_key_hex(__sFILE*, KEY*, int)':
/tmp/boinc/lib/crypt.C:144: undefined reference to `fprintf'
crypt.o(.text+0x287): In function `scan_key_hex(__sFILE*, KEY*, int)':
/tmp/boinc/lib/crypt.C:178: undefined reference to `fscanf'
crypt.o(.text+0x2b0):/tmp/boinc/lib/crypt.C:182: undefined reference to `fscanf'
crypt.o(.text+0x2d0):/tmp/boinc/lib/crypt.C:185: undefined reference to `fscanf'
crypt.o(.text+0x2f9): In function `sscan_key_hex(char const*, KEY*, int)':
/tmp/boinc/lib/crypt.C:197: undefined reference to `sscanf'
crypt.o(.text+0x315):/tmp/boinc/lib/crypt.C:202: undefined reference to `strchr'
crypt.o(.text+0x472): In function `sign_block(DATA_BLOCK&, R_RSA_PRIVATE_KEY&, DATA_BLOCK&)':
/tmp/boinc/lib/crypt.C:262: undefined reference to `printf'
crypt.o(.text+0x4b1): In function `verify_file(char const*, R_RSA_PUBLIC_KEY&, DATA_BLOCK&, bool&)':
/tmp/boinc/lib/crypt.C:286: undefined reference to `__stderrp'
crypt.o(.text+0x4b6):/tmp/boinc/lib/crypt.C:286: undefined reference to `fprintf'
crypt.o(.text+0x512):/tmp/boinc/lib/crypt.C:289: undefined reference to `strncmp'
crypt.o(.text+0x56b): In function `verify_file2(char const*, char const*, char const*, bool&)':
/tmp/boinc/lib/crypt.C:303: undefined reference to `__stderrp'
crypt.o(.text+0x570):/tmp/boinc/lib/crypt.C:303: undefined reference to `fprintf'
crypt.o(.text+0x66b): In function `verify_string(char const*, char const*, R_RSA_PUBLIC_KEY&, bool&)':
/tmp/boinc/lib/crypt.C:335: undefined reference to `strncmp'
crypt.o(.text+0x6d6): In function `read_key_file(char const*, R_RSA_PRIVATE_KEY&)':
/tmp/boinc/lib/crypt.C:354: undefined reference to `fopen'
crypt.o(.text+0x6f8):/tmp/boinc/lib/crypt.C:360: undefined reference to `fclose'
crypt.o(.text+0x716):/tmp/boinc/lib/crypt.C:362: undefined reference to `__stderrp'
crypt.o(.text+0x71b):/tmp/boinc/lib/crypt.C:362: undefined reference to `fprintf'
crypt.o(.text+0x731):/tmp/boinc/lib/crypt.C:356: undefined reference to `__stderrp'
crypt.o(.text+0x736):/tmp/boinc/lib/crypt.C:356: undefined reference to `fprintf'
md5.o(.text+0x8bf): In function `md5_append':
/tmp/boinc/lib/md5.c:359: undefined reference to `memcpy'
md5.o(.text+0x933):/tmp/boinc/lib/md5.c:373: undefined reference to `memcpy'
md5_file.o(.text+0x22): In function `md5_file(char const*, char*, double&)':
/tmp/boinc/lib/md5_file.C:44: undefined reference to `fopen'
md5_file.o(.text+0x6f):/tmp/boinc/lib/md5_file.C:52: undefined reference to `fread'
md5_file.o(.text+0xaa):/tmp/boinc/lib/md5_file.C:59: undefined reference to `sprintf'
md5_file.o(.text+0xc5):/tmp/boinc/lib/md5_file.C:62: undefined reference to `fclose'
md5_file.o(.text+0xdc):/tmp/boinc/lib/md5_file.C:46: undefined reference to `__stderrp'
md5_file.o(.text+0xe1):/tmp/boinc/lib/md5_file.C:46: undefined reference to `fprintf'
md5_file.o(.text+0xed):/tmp/boinc/lib/md5_file.C:47: undefined reference to `perror'
md5_file.o(.text+0x147): In function `md5_block(unsigned char const*, int, char*)':
/tmp/boinc/lib/md5_file.C:75: undefined reference to `sprintf'
/tmp/boinc/RSAEuro/source/librsaeuro.a(rsa.o)(.text+0xf5): In function `rsapublicfunc':
/tmp/boinc/RSAEuro/source/rsa.c:273: undefined reference to `memset'
/tmp/boinc/RSAEuro/source/librsaeuro.a(rsa.o)(.text+0x10b):/tmp/boinc/RSAEuro/source/rsa.c:274: undefined reference to `memset'
/tmp/boinc/RSAEuro/source/librsaeuro.a(rsa.o)(.text+0x1df): In function `RSAPublicDecrypt':
/tmp/boinc/RSAEuro/source/rsa.c:135: undefined reference to `memcpy'
/tmp/boinc/RSAEuro/source/librsaeuro.a(rsa.o)(.text+0x1ef):/tmp/boinc/RSAEuro/source/rsa.c:139: undefined reference to `memset'
/tmp/boinc/RSAEuro/source/librsaeuro.a(rsa.o)(.text+0x2de): In function `RSAPublicEncrypt':
/tmp/boinc/RSAEuro/source/rsa.c:79: undefined reference to `memcpy'
/tmp/boinc/RSAEuro/source/librsaeuro.a(rsa.o)(.text+0x30a):/tmp/boinc/RSAEuro/source/rsa.c:86: undefined reference to `memset'
/tmp/boinc/RSAEuro/source/librsaeuro.a(rsa.o)(.text+0x59a): In function `rsaprivatefunc':
/tmp/boinc/RSAEuro/source/rsa.c:351: undefined reference to `memset'
/tmp/boinc/RSAEuro/source/librsaeuro.a(rsa.o)(.text+0x5b0):/tmp/boinc/RSAEuro/source/rsa.c:352: undefined reference to `memset'
/tmp/boinc/RSAEuro/source/librsaeuro.a(rsa.o)(.text+0x5c6):/tmp/boinc/RSAEuro/source/rsa.c:353: undefined reference to `memset'
/tmp/boinc/RSAEuro/source/librsaeuro.a(rsa.o)(.text+0x5dc):/tmp/boinc/RSAEuro/source/rsa.c:354: undefined reference to `memset'
/tmp/boinc/RSAEuro/source/librsaeuro.a(rsa.o)(.text+0x5f2):/tmp/boinc/RSAEuro/source/rsa.c:355: more undefined references to `memset' follow
/tmp/boinc/RSAEuro/source/librsaeuro.a(rsa.o)(.text+0x763): In function `RSAPrivateDecrypt':
/tmp/boinc/RSAEuro/source/rsa.c:227: undefined reference to `memcpy'
/tmp/boinc/RSAEuro/source/librsaeuro.a(rsa.o)(.text+0x773):/tmp/boinc/RSAEuro/source/rsa.c:230: undefined reference to `memset'
/tmp/boinc/RSAEuro/source/librsaeuro.a(rsa.o)(.text+0x7e6): In function `RSAPrivateEncrypt':
/tmp/boinc/RSAEuro/source/rsa.c:172: undefined reference to `memcpy'
/tmp/boinc/RSAEuro/source/librsaeuro.a(rsa.o)(.text+0x809):/tmp/boinc/RSAEuro/source/rsa.c:178: undefined reference to `memset'
/tmp/boinc/RSAEuro/source/librsaeuro.a(r_keygen.o)(.text+0x74): In function `RSAFilter':
/tmp/boinc/RSAEuro/source/r_keygen.c:164: undefined reference to `memset'
/tmp/boinc/RSAEuro/source/librsaeuro.a(r_keygen.o)(.text+0x40e): In function `R_GeneratePEMKeys':
/tmp/boinc/RSAEuro/source/r_keygen.c:121: undefined reference to `memcpy'
/tmp/boinc/RSAEuro/source/librsaeuro.a(r_keygen.o)(.text+0x425):/tmp/boinc/RSAEuro/source/r_keygen.c:122: undefined reference to `memcpy'
/tmp/boinc/RSAEuro/source/librsaeuro.a(r_keygen.o)(.text+0x4dc):/tmp/boinc/RSAEuro/source/r_keygen.c:132: undefined reference to `memset'
/tmp/boinc/RSAEuro/source/librsaeuro.a(r_keygen.o)(.text+0x4f2):/tmp/boinc/RSAEuro/source/r_keygen.c:133: undefined reference to `memset'
/tmp/boinc/RSAEuro/source/librsaeuro.a(r_keygen.o)(.text+0x508):/tmp/boinc/RSAEuro/source/r_keygen.c:134: undefined reference to `memset'
/tmp/boinc/RSAEuro/source/librsaeuro.a(r_keygen.o)(.text+0x51e):/tmp/boinc/RSAEuro/source/r_keygen.c:135: undefined reference to `memset'
/tmp/boinc/RSAEuro/source/librsaeuro.a(r_keygen.o)(.text+0x534):/tmp/boinc/RSAEuro/source/r_keygen.c:136: undefined reference to `memset'
/tmp/boinc/RSAEuro/source/librsaeuro.a(r_keygen.o)(.text+0x54a):/tmp/boinc/RSAEuro/source/r_keygen.c:137: more undefined references to `memset' follow
/tmp/boinc/RSAEuro/source/librsaeuro.a(r_random.o)(.text+0x126): In function `R_GenerateBytes':
/tmp/boinc/RSAEuro/source/r_random.c:135: undefined reference to `memcpy'
/tmp/boinc/RSAEuro/source/librsaeuro.a(r_random.o)(.text+0x18c):/tmp/boinc/RSAEuro/source/r_random.c:152: undefined reference to `memcpy'
/tmp/boinc/RSAEuro/source/librsaeuro.a(r_random.o)(.text+0x1e6): In function `R_RandomCreate':
/tmp/boinc/RSAEuro/source/r_random.c:185: undefined reference to `time'
/tmp/boinc/RSAEuro/source/librsaeuro.a(r_random.o)(.text+0x1f4):/tmp/boinc/RSAEuro/source/r_random.c:186: undefined reference to `gmtime'
/tmp/boinc/RSAEuro/source/librsaeuro.a(r_random.o)(.text+0x1fc):/tmp/boinc/RSAEuro/source/r_random.c:187: undefined reference to `clock'
/tmp/boinc/RSAEuro/source/librsaeuro.a(r_random.o)(.text+0x2d5): In function `R_RandomMix':
/tmp/boinc/RSAEuro/source/r_random.c:214: undefined reference to `clock'
/tmp/boinc/RSAEuro/source/librsaeuro.a(r_random.o)(.text+0x2ea):/tmp/boinc/RSAEuro/source/r_random.c:215: undefined reference to `time'
/tmp/boinc/RSAEuro/source/librsaeuro.a(md5c.o)(.text+0x7dc): In function `MD5Update':
/tmp/boinc/RSAEuro/source/md5c.c:140: undefined reference to `memcpy'
/tmp/boinc/RSAEuro/source/librsaeuro.a(md5c.o)(.text+0x890): In function `MD5Final':
/tmp/boinc/RSAEuro/source/md5c.c:182: undefined reference to `memset'
/tmp/boinc/RSAEuro/source/librsaeuro.a(md5c.o)(.text+0x7ac): In function `MD5Update':
/tmp/boinc/RSAEuro/source/md5c.c:152: undefined reference to `memcpy'
/tmp/boinc/RSAEuro/source/librsaeuro.a(md5c.o)(.text+0x82c):/tmp/boinc/RSAEuro/source/md5c.c:152: undefined reference to `memcpy'
/tmp/boinc/RSAEuro/source/librsaeuro.a(prime.o)(.text+0x1b7): In function `GeneratePrime':
/tmp/boinc/RSAEuro/source/prime.c:267: undefined reference to `memset'
/tmp/boinc/RSAEuro/source/librsaeuro.a(prime.o)(.text+0x25d):/tmp/boinc/RSAEuro/source/prime.c:267: undefined reference to `memset'
/tmp/boinc/RSAEuro/source/librsaeuro.a(prime.o)(.text+0x2ce):/tmp/boinc/RSAEuro/source/prime.c:281: undefined reference to `memset'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs13_S_copy_charsEPcN9__gnu_cxx17__normal_iteratorIS_SsEES2_+0x14): In function `std::string::_S_copy_chars(char*, __gnu_cxx::__normal_iterator<char*, std::string>, __gnu_cxx::__normal_iterator<char*, std::string>)':
: undefined reference to `memcpy'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs13_S_copy_charsEPcS_S_+0x14): In function `std::string::_S_copy_chars(char*, char*, char*)':
: undefined reference to `memcpy'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs13_S_copy_charsEPcN9__gnu_cxx17__normal_iteratorIPKcSsEES4_+0x14): In function `std::string::_S_copy_chars(char*, __gnu_cxx::__normal_iterator<char const*, std::string>, __gnu_cxx::__normal_iterator<char const*, std::string>)':
: undefined reference to `memcpy'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs13_S_copy_charsEPcPKcS1_+0x14): In function `std::string::_S_copy_chars(char*, char const*, char const*)':
: undefined reference to `memcpy'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs9_M_mutateEjjj+0x85): In function `std::string::_M_mutate(unsigned int, unsigned int, unsigned int)':
: undefined reference to `memcpy'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs9_M_mutateEjjj+0xb1): more undefined references to `memcpy' follow
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs9_M_mutateEjjj+0x126): In function `std::string::_M_mutate(unsigned int, unsigned int, unsigned int)':
: undefined reference to `memmove'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs6assignEjc+0x64): In function `std::string::assign(unsigned int, char)':
: undefined reference to `memset'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs14_M_replace_auxEjjjc+0x70): In function `std::string::_M_replace_aux(unsigned int, unsigned int, unsigned int, char)':
: undefined reference to `memset'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSspLEc+0x67): In function `std::string::operator+=(char)':
: undefined reference to `memset'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs6appendEjc+0x67): In function `std::string::append(unsigned int, char)':
: undefined reference to `memset'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs9push_backEc+0x67): In function `std::string::push_back(char)':
: undefined reference to `memset'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs6assignEPKcj+0xb0): In function `std::string::assign(char const*, unsigned int)':
: undefined reference to `memcpy'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs6assignEPKcj+0xca): In function `std::string::assign(char const*, unsigned int)':
: undefined reference to `memmove'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs6insertEN9__gnu_cxx17__normal_iteratorIPcSsEEjc+0x7e): In function `std::string::insert(__gnu_cxx::__normal_iterator<char*, std::string>, unsigned int, char)':
: undefined reference to `memset'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs7replaceEN9__gnu_cxx17__normal_iteratorIPcSsEES2_jc+0x7c): In function `std::string::replace(__gnu_cxx::__normal_iterator<char*, std::string>, __gnu_cxx::__normal_iterator<char*, std::string>, unsigned int, char)':
: undefined reference to `memset'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs6insertEjPKcj+0xe1): In function `std::string::insert(unsigned int, char const*, unsigned int)':
: undefined reference to `memcpy'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs6insertEjPKcj+0x100): In function `std::string::insert(unsigned int, char const*, unsigned int)':
: undefined reference to `memcpy'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs6insertEjPKcj+0x11a): In function `std::string::insert(unsigned int, char const*, unsigned int)':
: undefined reference to `memcpy'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs6insertEjPKcj+0x130): In function `std::string::insert(unsigned int, char const*, unsigned int)':
: undefined reference to `memcpy'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs6insertEjjc+0x87): In function `std::string::insert(unsigned int, unsigned int, char)':
: undefined reference to `memset'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs6insertEN9__gnu_cxx17__normal_iteratorIPcSsEEc+0x77): In function `std::string::insert(__gnu_cxx::__normal_iterator<char*, std::string>, char)':
: undefined reference to `memset'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs15_M_replace_safeEjjPKcj+0x45): In function `std::string::_M_replace_safe(unsigned int, unsigned int, char const*, unsigned int)':
: undefined reference to `memcpy'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs7replaceEjjPKcj+0x109): In function `std::string::replace(unsigned int, unsigned int, char const*, unsigned int)':
: undefined reference to `memcpy'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs7replaceEjjPKcj+0x164): In function `std::string::replace(unsigned int, unsigned int, char const*, unsigned int)':
: undefined reference to `memcpy'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs7replaceEjjPKcj+0x189): In function `std::string::replace(unsigned int, unsigned int, char const*, unsigned int)':
: undefined reference to `memcpy'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs7replaceEjjPKcj+0x222): In function `std::string::replace(unsigned int, unsigned int, char const*, unsigned int)':
: undefined reference to `memcpy'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs7replaceEjjjc+0xb4): In function `std::string::replace(unsigned int, unsigned int, unsigned int, char)':
: undefined reference to `memset'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs12_S_constructEjcRKSaIcE+0x63): In function `std::string::_S_construct(unsigned int, char, std::allocator<char> const&)':
: undefined reference to `memset'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNKSs4copyEPcjj+0x59): In function `std::string::copy(char*, unsigned int, unsigned int) const':
: undefined reference to `memcpy'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNKSs4findEcj+0x2b): In function `std::string::find(char, unsigned int) const':
: undefined reference to `memchr'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNKSs13find_first_ofEPKcjj+0x2d): In function `std::string::find_first_of(char const*, unsigned int, unsigned int) const':
: undefined reference to `memchr'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNKSs12find_last_ofEPKcjj+0x38): In function `std::string::find_last_of(char const*, unsigned int, unsigned int) const':
: undefined reference to `memchr'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNKSs17find_first_not_ofEPKcjj+0x2d): In function `std::string::find_first_not_of(char const*, unsigned int, unsigned int) const':
: undefined reference to `memchr'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNKSs16find_last_not_ofEPKcjj+0x34): In function `std::string::find_last_not_of(char const*, unsigned int, unsigned int) const':
: undefined reference to `memchr'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs4_Rep8_M_cloneERKSaIcEj+0x34): In function `std::string::_Rep::_M_clone(std::allocator<char> const&, unsigned int)':
: undefined reference to `memcpy'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_ES3_RKS6_+0xbd): In function `std::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
: undefined reference to `memset'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs12_S_constructIN9__gnu_cxx17__normal_iteratorIPcSsEEEES2_T_S4_RKSaIcESt20forward_iterator_tag+0x62): In function `char* std::string::_S_construct<__gnu_cxx::__normal_iterator<char*, std::string> >(__gnu_cxx::__normal_iterator<char*, std::string>, __gnu_cxx::__normal_iterator<char*, std::string>, std::allocator<char> const&, std::forward_iterator_tag)':
: undefined reference to `memcpy'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs12_S_constructIPcEES0_T_S1_RKSaIcESt20forward_iterator_tag+0x7a): In function `char* std::string::_S_construct<char*>(char*, char*, std::allocator<char> const&, std::forward_iterator_tag)':
: undefined reference to `memcpy'
/usr/lib/libstdc++.a(string-inst.o)(.gnu.linkonce.t._ZNSs12_S_constructIPKcEEPcT_S3_RKSaIcESt20forward_iterator_tag+0x7a): In function `char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag)':
: undefined reference to `memcpy'
/usr/lib/libstdc++.a(allocator-inst.o)(.gnu.linkonce.t._ZN9__gnu_cxx10__mt_allocIcE13_S_initializeEv+0x60): In function `__gnu_cxx::__mt_alloc<char>::_S_initialize()':
: undefined reference to `getenv'
/usr/lib/libstdc++.a(allocator-inst.o)(.gnu.linkonce.t._ZN9__gnu_cxx10__mt_allocIcE5_TuneC1Ev+0x39): In function `__gnu_cxx::__mt_alloc<char>::_Tune::_Tune()':
: undefined reference to `getenv'
/usr/lib/libstdc++.a(allocator-inst.o)(.gnu.linkonce.t._ZN9__gnu_cxx10__mt_allocIcE5_TuneC2Ev+0x39): In function `__gnu_cxx::__mt_alloc<char>::_Tune::_Tune()':
: undefined reference to `getenv'
/usr/lib/libstdc++.a(allocator-inst.o)(.gnu.linkonce.t._ZN9__gnu_cxx10__mt_allocIwE13_S_initializeEv+0x60): In function `__gnu_cxx::__mt_alloc<wchar_t>::_S_initialize()':
: undefined reference to `getenv'
/usr/lib/libstdc++.a(allocator-inst.o)(.gnu.linkonce.t._ZN9__gnu_cxx10__mt_allocIwE5_TuneC1Ev+0x39): In function `__gnu_cxx::__mt_alloc<wchar_t>::_Tune::_Tune()':
: undefined reference to `getenv'
/usr/lib/libstdc++.a(allocator-inst.o)(.gnu.linkonce.t._ZN9__gnu_cxx10__mt_allocIwE5_TuneC2Ev+0x39): more undefined references to `getenv' follow
/usr/lib/libstdc++.a(eh_personality.o)(.text._Z21size_of_encoded_valueh+0x4d): In function `size_of_encoded_value(unsigned char)':
: undefined reference to `abort'
/usr/lib/libstdc++.a(eh_personality.o)(.text._Z21base_of_encoded_valuehP15_Unwind_Context+0x79): In function `base_of_encoded_value(unsigned char, _Unwind_Context*)':
: undefined reference to `abort'
/usr/lib/libstdc++.a(eh_personality.o)(.text._Z28read_encoded_value_with_basehjPKhPj+0x95): In function `read_encoded_value_with_base(unsigned char, unsigned int, unsigned char const*, unsigned int*)':
: undefined reference to `abort'
/usr/lib/libstdc++.a(new_op.o)(.text._Znwj+0x15): In function `operator new(unsigned int)':
: undefined reference to `malloc'
/usr/lib/libstdc++.a(new_op.o)(.text._Znwj+0x53): In function `operator new(unsigned int)':
: undefined reference to `malloc'
/usr/lib/libstdc++.a(eh_globals.o)(.text._Z16get_globals_dtorPv+0x12): In function `get_globals_dtor(void*)':
: undefined reference to `free'
/usr/lib/libstdc++.a(eh_globals.o)(.text.__cxa_get_globals+0x55): In function `__cxa_get_globals':
: undefined reference to `malloc'
/usr/lib/libstdc++.a(eh_alloc.o)(.text.__cxa_allocate_exception+0x10): In function `__cxa_allocate_exception':
: undefined reference to `malloc'
/usr/lib/libstdc++.a(eh_alloc.o)(.text.__cxa_allocate_exception+0xc1): In function `__cxa_allocate_exception':
: undefined reference to `memset'
/usr/lib/libstdc++.a(eh_alloc.o)(.text.__cxa_free_exception+0x70): In function `__cxa_free_exception':
: undefined reference to `free'
/usr/lib/libstdc++.a(del_op.o)(.text._ZdlPv+0x12): In function `operator delete(void*)':
: undefined reference to `free'
/usr/lib/libstdc++.a(eh_terminate.o)(.text._ZN10__cxxabiv111__terminateEPFvvE+0xa): In function `__cxxabiv1::__terminate(void (*)())':
: undefined reference to `abort'
/usr/lib/libstdc++.a(eh_terminate.o)(.text._ZN10__cxxabiv111__terminateEPFvvE+0x1a): In function `__cxxabiv1::__terminate(void (*)())':
: undefined reference to `abort'
/usr/lib/libstdc++.a(vterminate.o)(.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x16): In function `__gnu_cxx::__verbose_terminate_handler()':
: undefined reference to `__stderrp'
/usr/lib/libstdc++.a(vterminate.o)(.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x20): In function `__gnu_cxx::__verbose_terminate_handler()':
: undefined reference to `fputs'
/usr/lib/libstdc++.a(vterminate.o)(.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x25): In function `__gnu_cxx::__verbose_terminate_handler()':
: undefined reference to `abort'
/usr/lib/libstdc++.a(vterminate.o)(.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x5f): In function `__gnu_cxx::__verbose_terminate_handler()':
: undefined reference to `__stderrp'
/usr/lib/libstdc++.a(vterminate.o)(.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x69): In function `__gnu_cxx::__verbose_terminate_handler()':
: undefined reference to `fputs'
/usr/lib/libstdc++.a(vterminate.o)(.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x7b): In function `__gnu_cxx::__verbose_terminate_handler()':
: undefined reference to `__stderrp'
/usr/lib/libstdc++.a(vterminate.o)(.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x81): In function `__gnu_cxx::__verbose_terminate_handler()':
: undefined reference to `fputs'
/usr/lib/libstdc++.a(vterminate.o)(.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x91): In function `__gnu_cxx::__verbose_terminate_handler()':
: undefined reference to `__stderrp'
/usr/lib/libstdc++.a(vterminate.o)(.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x97): In function `__gnu_cxx::__verbose_terminate_handler()':
: undefined reference to `fputs'
/usr/lib/libstdc++.a(vterminate.o)(.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv+0xa3): In function `__gnu_cxx::__verbose_terminate_handler()':
: undefined reference to `__stderrp'
/usr/lib/libstdc++.a(vterminate.o)(.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv+0xad): In function `__gnu_cxx::__verbose_terminate_handler()':
: undefined reference to `fputs'
/usr/lib/libstdc++.a(vterminate.o)(.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv+0xbf): In function `__gnu_cxx::__verbose_terminate_handler()':
: undefined reference to `free'
/usr/lib/libstdc++.a(vterminate.o)(.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv+0xed): In function `__gnu_cxx::__verbose_terminate_handler()':
: undefined reference to `__stderrp'
/usr/lib/libstdc++.a(vterminate.o)(.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv+0xf7): In function `__gnu_cxx::__verbose_terminate_handler()':
: undefined reference to `fputs'
/usr/lib/libstdc++.a(vterminate.o)(.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x100): In function `__gnu_cxx::__verbose_terminate_handler()':
: undefined reference to `__stderrp'
/usr/lib/libstdc++.a(vterminate.o)(.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x106): In function `__gnu_cxx::__verbose_terminate_handler()':
: undefined reference to `fputs'
/usr/lib/libstdc++.a(vterminate.o)(.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x10f): In function `__gnu_cxx::__verbose_terminate_handler()':
: undefined reference to `__stderrp'
/usr/lib/libstdc++.a(vterminate.o)(.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x119): In function `__gnu_cxx::__verbose_terminate_handler()':
: undefined reference to `fputs'
/usr/lib/libstdc++.a(vterminate.o)(.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x150): In function `__gnu_cxx::__verbose_terminate_handler()':
: undefined reference to `__stderrp'
/usr/lib/libstdc++.a(vterminate.o)(.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x15a): In function `__gnu_cxx::__verbose_terminate_handler()':
: undefined reference to `fputs'
/usr/lib/libstdc++.a(vterminate.o)(.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x165): In function `__gnu_cxx::__verbose_terminate_handler()':
: undefined reference to `abort'
/usr/lib/libstdc++.a(cp-demangle.o)(.text+0x1a82): In function `d_print_resize':
: undefined reference to `realloc'
/usr/lib/libstdc++.a(cp-demangle.o)(.text+0x1a94): In function `d_print_resize':
: undefined reference to `free'
/usr/lib/libstdc++.a(cp-demangle.o)(.text+0x1b39): In function `d_print_append_buffer':
: undefined reference to `memcpy'
/usr/lib/libstdc++.a(cp-demangle.o)(.text+0x1b5a): In function `d_print_error':
: undefined reference to `free'
/usr/lib/libstdc++.a(cp-demangle.o)(.text+0x1b85): In function `d_print':
: undefined reference to `malloc'
/usr/lib/libstdc++.a(cp-demangle.o)(.text+0x1c8a): In function `d_print_comp':
: undefined reference to `memcpy'
/usr/lib/libstdc++.a(cp-demangle.o)(.text+0x260e): In function `d_print_comp':
: undefined reference to `memcpy'
/usr/lib/libstdc++.a(cp-demangle.o)(.text+0x26f9): In function `d_print_comp':
: undefined reference to `memcpy'
/usr/lib/libstdc++.a(cp-demangle.o)(.text+0x2763): In function `d_print_comp':
: undefined reference to `memcpy'
/usr/lib/libstdc++.a(cp-demangle.o)(.text+0x2b64): In function `d_print_comp':
: undefined reference to `memcpy'
/usr/lib/libstdc++.a(cp-demangle.o)(.text+0x3e19): more undefined references to `memcpy' follow
/usr/lib/libstdc++.a(cp-demangle.o)(.text+0x4081): In function `d_demangle':
: undefined reference to `malloc'
/usr/lib/libstdc++.a(cp-demangle.o)(.text+0x40d0): In function `d_demangle':
: undefined reference to `strcat'
/usr/lib/libstdc++.a(cp-demangle.o)(.text+0x42a8): In function `__cxa_demangle':
: undefined reference to `strcpy'
/usr/lib/libstdc++.a(cp-demangle.o)(.text+0x42b0): In function `__cxa_demangle':
: undefined reference to `free'
/usr/lib/libstdc++.a(cp-demangle.o)(.text+0x42c1): In function `__cxa_demangle':
: undefined reference to `free'
/usr/lib/libgcc.a(unwind-dw2.o)(.text+0x4d): In function `size_of_encoded_value':
: undefined reference to `abort'
/usr/lib/libgcc.a(unwind-dw2.o)(.text+0xd1): In function `base_of_encoded_value':
: undefined reference to `abort'
/usr/lib/libgcc.a(unwind-dw2.o)(.text+0x1f5): In function `read_encoded_value_with_base':
: undefined reference to `abort'
/usr/lib/libgcc.a(unwind-dw2.o)(.text+0x23b): In function `_Unwind_GetGR':
: undefined reference to `abort'
/usr/lib/libgcc.a(unwind-dw2.o)(.text+0x250): In function `_Unwind_GetGR':
: undefined reference to `abort'
/usr/lib/libgcc.a(unwind-dw2.o)(.text+0x273): more undefined references to `abort' follow
/usr/lib/libgcc.a(unwind-dw2.o)(.text+0xc36): In function `execute_cfa_program':
: undefined reference to `memcpy'
/usr/lib/libgcc.a(unwind-dw2.o)(.text+0xc59): In function `execute_cfa_program':
: undefined reference to `memcpy'
/usr/lib/libgcc.a(unwind-dw2.o)(.text+0xe48): In function `execute_cfa_program':
: undefined reference to `abort'
/usr/lib/libgcc.a(unwind-dw2.o)(.text+0xe80): In function `uw_frame_state_for':
: undefined reference to `memset'
/usr/lib/libgcc.a(unwind-dw2.o)(.text+0xfd7): In function `__frame_state_for':
: undefined reference to `memset'
/usr/lib/libgcc.a(unwind-dw2.o)(.text+0x10b1): In function `uw_update_context_1':
: undefined reference to `memcpy'
/usr/lib/libgcc.a(unwind-dw2.o)(.text+0x10d1): In function `uw_update_context_1':
: undefined reference to `abort'
/usr/lib/libgcc.a(unwind-dw2.o)(.text+0x1100): In function `uw_update_context_1':
: undefined reference to `abort'
/usr/lib/libgcc.a(unwind-dw2.o)(.text+0x1117): In function `uw_update_context_1':
: undefined reference to `abort'
/usr/lib/libgcc.a(unwind-dw2.o)(.text+0x1164): In function `uw_update_context_1':
: undefined reference to `abort'
/usr/lib/libgcc.a(unwind-dw2.o)(.text+0x1221): In function `uw_update_context':
: undefined reference to `abort'
/usr/lib/libgcc.a(unwind-dw2.o)(.text+0x1235): more undefined references to `abort' follow
/usr/lib/libgcc.a(unwind-dw2.o)(.text+0x125f): In function `uw_init_context_1':
: undefined reference to `memset'
/usr/lib/libgcc.a(unwind-dw2.o)(.text+0x127e): In function `uw_init_context_1':
: undefined reference to `abort'
/usr/lib/libgcc.a(unwind-dw2.o)(.text+0x133c): In function `uw_init_context_1':
: undefined reference to `abort'
/usr/lib/libgcc.a(unwind-dw2.o)(.text+0x1424): In function `uw_install_context_1':
: undefined reference to `memcpy'
/usr/lib/libgcc.a(unwind-dw2.o)(.text+0x1449): In function `uw_install_context_1':
: undefined reference to `abort'
/usr/lib/libgcc.a(unwind-dw2.o)(.text+0x14e1): In function `_Unwind_RaiseException_Phase2':
: undefined reference to `abort'
/usr/lib/libgcc.a(unwind-dw2.o)(.text+0x153d): In function `_Unwind_RaiseException':
: undefined reference to `memcpy'
/usr/lib/libgcc.a(unwind-dw2.o)(.text+0x15ec): In function `_Unwind_RaiseException':
: undefined reference to `memcpy'
/usr/lib/libgcc.a(unwind-dw2.o)(.text+0x1779): In function `_Unwind_ForcedUnwind':
: undefined reference to `memcpy'
/usr/lib/libgcc.a(unwind-dw2.o)(.text+0x1825): In function `_Unwind_Resume':
: undefined reference to `memcpy'
/usr/lib/libgcc.a(unwind-dw2.o)(.text+0x1867): In function `_Unwind_Resume':
: undefined reference to `abort'
/usr/lib/libgcc.a(unwind-dw2.o)(.text+0x18f1): In function `_Unwind_Resume_or_Rethrow':
: undefined reference to `memcpy'
/usr/lib/libgcc.a(unwind-dw2.o)(.text+0x1910): In function `_Unwind_Resume_or_Rethrow':
: undefined reference to `abort'
/usr/lib/libgcc.a(unwind-dw2-fde.o)(.text+0x4d): In function `size_of_encoded_value':
: undefined reference to `abort'
/usr/lib/libgcc.a(unwind-dw2-fde.o)(.text+0x171): In function `read_encoded_value_with_base':
: undefined reference to `abort'
/usr/lib/libgcc.a(unwind-dw2-fde.o)(.text+0x259): In function `__register_frame':
: undefined reference to `malloc'
/usr/lib/libgcc.a(unwind-dw2-fde.o)(.text+0x30d): In function `__register_frame_table':
: undefined reference to `malloc'
/usr/lib/libgcc.a(unwind-dw2-fde.o)(.text+0x3a1): In function `__deregister_frame_info_bases':
: undefined reference to `free'
/usr/lib/libgcc.a(unwind-dw2-fde.o)(.text+0x3d8): In function `__deregister_frame_info_bases':
: undefined reference to `abort'
/usr/lib/libgcc.a(unwind-dw2-fde.o)(.text+0x43b): In function `__deregister_frame':
: undefined reference to `free'
/usr/lib/libgcc.a(unwind-dw2-fde.o)(.text+0x499): In function `base_from_object':
: undefined reference to `abort'
/usr/lib/libgcc.a(unwind-dw2-fde.o)(.text+0xb33): In function `search_object':
: undefined reference to `malloc'
/usr/lib/libgcc.a(unwind-dw2-fde.o)(.text+0xb51): In function `search_object':
: undefined reference to `malloc'
/usr/lib/libgcc.a(unwind-dw2-fde.o)(.text+0xbd0): In function `search_object':
: undefined reference to `abort'
/usr/lib/libgcc.a(unwind-dw2-fde.o)(.text+0xce6): In function `search_object':
: undefined reference to `abort'
/usr/lib/libgcc.a(unwind-dw2-fde.o)(.text+0xd74): In function `search_object':
: undefined reference to `free'
/usr/lib/libpthread.so: undefined reference to `__sys_select'
/usr/lib/libpthread.so: undefined reference to `ksem_destroy'
/usr/lib/libpthread.so: undefined reference to `__sys_fcntl'
/usr/lib/libpthread.so: undefined reference to `_dup'
/usr/lib/libpthread.so: undefined reference to `_recvmsg'
/usr/lib/libpthread.so: undefined reference to `__tcdrain'
/usr/lib/libpthread.so: undefined reference to `__sys_aio_suspend'
/usr/lib/libpthread.so: undefined reference to `_funlockfile'
/usr/lib/libpthread.so: undefined reference to `snprintf'
/usr/lib/libpthread.so: undefined reference to `munmap'
/usr/lib/libpthread.so: undefined reference to `__sys_nanosleep'
/usr/lib/libpthread.so: undefined reference to `__pselect'
/usr/lib/libpthread.so: undefined reference to `errno'
/usr/lib/libpthread.so: undefined reference to `_flockfile'
/usr/lib/libpthread.so: undefined reference to `getpid'
/usr/lib/libpthread.so: undefined reference to `getpagesize'
/usr/lib/libpthread.so: undefined reference to `_sendto'
/usr/lib/libpthread.so: undefined reference to `__sys_open'
/usr/lib/libpthread.so: undefined reference to `_getlogin'
/usr/lib/libpthread.so: undefined reference to `_getsockopt'
/usr/lib/libpthread.so: undefined reference to `_socket'
/usr/lib/libpthread.so: undefined reference to `_select'
/usr/lib/libpthread.so: undefined reference to `_fstat'
/usr/lib/libm.so: undefined reference to `ldexp'
/usr/lib/libpthread.so: undefined reference to `_getsockname'
/usr/lib/libpthread.so: undefined reference to `__sys_msync'
/usr/lib/libpthread.so: undefined reference to `__sys_sigaltstack'
/usr/lib/libpthread.so: undefined reference to `__sys_read'
/usr/lib/libpthread.so: undefined reference to `_sendmsg'
/usr/lib/libpthread.so: undefined reference to `__sys_fork'
/usr/lib/libpthread.so: undefined reference to `__wait'
/usr/lib/libpthread.so: undefined reference to `mmap'
/usr/lib/libpthread.so: undefined reference to `_open'
/usr/lib/libpthread.so: undefined reference to `__sys_sigpending'
/usr/lib/libpthread.so: undefined reference to `__pause'
/usr/lib/libpthread.so: undefined reference to `_rtld_free_tls'
/usr/lib/libpthread.so: undefined reference to `_recvfrom'
/usr/lib/libpthread.so: undefined reference to `_getpeername'
/usr/lib/libpthread.so: undefined reference to `calloc'
/usr/lib/libpthread.so: undefined reference to `signalcontext'
/usr/lib/libpthread.so: undefined reference to `_connect'
/usr/lib/libpthread.so: undefined reference to `_setsockopt'
/usr/lib/libpthread.so: undefined reference to `_kevent'
/usr/lib/libpthread.so: undefined reference to `_flock'
/usr/lib/libpthread.so: undefined reference to `ksem_wait'
/usr/lib/libpthread.so: undefined reference to `sysctl'
/usr/lib/libpthread.so: undefined reference to `_readv'
/usr/lib/libpthread.so: undefined reference to `kill'
/usr/lib/libpthread.so: undefined reference to `__sys_writev'
/usr/lib/libpthread.so: undefined reference to `_getdirentries'
/usr/lib/libpthread.so: undefined reference to `_rtld_allocate_tls'
/usr/lib/libpthread.so: undefined reference to `i386_set_ldt'
/usr/lib/libpthread.so: undefined reference to `__sys_poll'
/usr/lib/libpthread.so: undefined reference to `_rtld_thread_init'
/usr/lib/libpthread.so: undefined reference to `_socketpair'
/usr/lib/libpthread.so: undefined reference to `__creat'
/usr/lib/libpthread.so: undefined reference to `ksem_init'
/usr/lib/libpthread.so: undefined reference to `__sys_sched_yield'
/usr/lib/libpthread.so: undefined reference to `revoke'
/usr/lib/libpthread.so: undefined reference to `makecontext'
/usr/lib/libpthread.so: undefined reference to `__sys_connect'
/usr/lib/libpthread.so: undefined reference to `kse_switchin'
/usr/lib/libpthread.so: undefined reference to `_dup2'
/usr/lib/libpthread.so: undefined reference to `__malloc_lock'
/usr/lib/libpthread.so: undefined reference to `strdup'
/usr/lib/libpthread.so: undefined reference to `ksem_timedwait'
/usr/lib/libpthread.so: undefined reference to `setcontext'
/usr/lib/libpthread.so: undefined reference to `__isthreaded'
/usr/lib/libpthread.so: undefined reference to `_fstatfs'
/usr/lib/libpthread.so: undefined reference to `_bind'
/usr/lib/libpthread.so: undefined reference to `ptrace'
/usr/lib/libpthread.so: undefined reference to `_fsync'
/usr/lib/libpthread.so: undefined reference to `__sys_close'
/usr/lib/libpthread.so: undefined reference to `__sys_sigsuspend'
/usr/lib/libpthread.so: undefined reference to `_writev'
/usr/lib/libpthread.so: undefined reference to `__sleep'
/usr/lib/libpthread.so: undefined reference to `__waitpid'
/usr/lib/libm.so: undefined reference to `isnan'
/usr/lib/libpthread.so: undefined reference to `_accept'
/usr/lib/libpthread.so: undefined reference to `_listen'
/usr/lib/libpthread.so: undefined reference to `__thr_jtable'
/usr/lib/libpthread.so: undefined reference to `__sys_readv'
/usr/lib/libpthread.so: undefined reference to `__sys_execve'
/usr/lib/libm.so: undefined reference to `fwrite'
/usr/lib/libpthread.so: undefined reference to `_ioctl'
/usr/lib/libpthread.so: undefined reference to `__system'
/usr/lib/libpthread.so: undefined reference to `__sys_fsync'
/usr/lib/libpthread.so: undefined reference to `_read'
/usr/lib/libpthread.so: undefined reference to `ksem_post'
/usr/lib/libpthread.so: undefined reference to `__sys_accept'
/usr/lib/libpthread.so: undefined reference to `_wait4'
/usr/lib/libpthread.so: undefined reference to `__assert'
/usr/lib/libpthread.so: undefined reference to `setsid'
/usr/lib/libpthread.so: undefined reference to `mprotect'
/usr/lib/libpthread.so: undefined reference to `_fcntl'
/usr/lib/libpthread.so: undefined reference to `setlogin'
/usr/lib/libpthread.so: undefined reference to `__sys_ioctl'
/usr/lib/libpthread.so: undefined reference to `sysctlbyname'
/usr/lib/libpthread.so: undefined reference to `_close'
*** Error code 1

Stop in /tmp/boinc/lib.
*** Error code 1

Stop in /tmp/boinc.
*** Error code 1

Stop in /tmp/boinc.



What's wrong? Please give me a hand. Thanks a lot!
ID: 217235 · Report as offensive
Dotsch
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 2422
Credit: 919,393
RAC: 0
Germany
Message 217243 - Posted: 18 Dec 2005, 11:21:47 UTC

I had simliar problems on NetBSD and OpenBSD.
Can you try to define all the needed libs in the LIBS and CLIENTLIBS in the Makefile. You will need "-lm -lc -lgcc_s -lstdc++ -lboinc -lcrypot -lssl"
ID: 217243 · Report as offensive
Pat

Send message
Joined: 28 Jul 04
Posts: 2
Credit: 21,865,112
RAC: 20
Taiwan
Message 217421 - Posted: 18 Dec 2005, 18:51:49 UTC - in response to Message 217243.  


I tried to repalce LIB and CLIENTLIBS with "-lm -lc -lgcc_s -lstdc++ -lboinc -lcrypot -lssl." Also, I tried to attach these parameters behind the orginal ones.

However, both of the previous ways don't work for me. Anymore suggestion? Thanks.

Classic SETI@home got binaries for FreeBSD, why not BOINC? It's not fair... :(

ID: 217421 · Report as offensive
Dotsch
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 2422
Credit: 919,393
RAC: 0
Germany
Message 217460 - Posted: 18 Dec 2005, 20:29:33 UTC - in response to Message 217421.  


I tried to repalce LIB and CLIENTLIBS with "-lm -lc -lgcc_s -lstdc++ -lboinc -lcrypot -lssl." Also, I tried to attach these parameters behind the orginal ones.

However, both of the previous ways don't work for me. Anymore suggestion? Thanks.

Hm, no idea in the moment. Looks like a linker problem on all the BSDs.
Do you use the FreeBSD ports ?


Classic SETI@home got binaries for FreeBSD, why not BOINC? It's not fair... :(

Because Berkeley has no resources to port it to the other OSes. But a lot of ports was done by volunteers. These are also available for download (boinc.berkeley.edu/download_other.php), including a link to the FreeBSD ports.
ID: 217460 · Report as offensive
Dotsch
Volunteer tester
Avatar

Send message
Joined: 9 Jun 99
Posts: 2422
Credit: 919,393
RAC: 0
Germany
Message 219699 - Posted: 22 Dec 2005, 11:02:00 UTC - in response to Message 217460.  


I tried to repalce LIB and CLIENTLIBS with "-lm -lc -lgcc_s -lstdc++ -lboinc -lcrypot -lssl." Also, I tried to attach these parameters behind the orginal ones.

However, both of the previous ways don't work for me. Anymore suggestion? Thanks.

Hm, no idea in the moment. Looks like a linker problem on all the BSDs.
Do you use the FreeBSD ports ?

You can try to change the linkagae in the Makefile to following :
LIBS = -lc -lm  /usr/lib/libz.a   /usr/local/lib/libstdc++.a /usr/local/lib/gcc/sparc64-unknown-openbsd3.8/3.4.5/libgcc.a -lm -lpthread -lc  /usr/local/lib/libstdc++.a /usr/local/lib/gcc/sparc64-unknown-openbsd3.8/3.4.5/libgcc.a -lm -lpthread -lc -lstdc++
CLIENTLIBS = -lc -lm  /usr/local/lib/libstdc++.a /usr/local/lib/gcc/sparc64-unknown-openbsd3.8/3.4.5/libgcc.a -lm -lpthread -lc -lstdc++


ID: 219699 · Report as offensive

Questions and Answers : Unix/Linux : Compile failed on FreeBSD 5.4


 
©2025 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.