<div dir="ltr">Hi there<div><br></div><div>Build fails on OSX. Updated local checkout.</div><div><br></div><div>Built using both single command and steps mentioned in <a href="https://wiki.videolan.org/OSXCompile/">https://wiki.videolan.org/OSXCompile/</a></div><div><br></div><div>I get this linker error. Possibly building for wrong architectures I suppose?</div><div><br></div><div>







<p class=""><span class="">Undefined symbols for architecture x86_64:</span></p>
<p class=""><span class="">  "std::basic_ios<char, std::char_traits<char> >::bad() const", referenced from:</span></p>
<p class=""><span class="">      SidTune::loadFile(char const*, Buffer_sidtt<unsigned char const>&) in libsidplay2.a(SidTune.o)</span></p>
<p class=""><span class="">      SidTune::saveToOpenFile(std::basic_ofstream<char, std::char_traits<char> >&, unsigned char const*, unsigned int) in libsidplay2.a(SidTune.o)</span></p>
<p class=""><span class="">  "std::basic_ios<char, std::char_traits<char> >::operator void*() const", referenced from:</span></p>
<p class=""><span class="">      SidTune::getFromStdIn() in libsidplay2.a(SidTune.o)</span></p>
<p class=""><span class="">      SidTuneTools::readHex(std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >&) in libsidplay2.a(SidTuneTools.o)</span></p>
<p class=""><span class="">      SidTuneTools::readDec(std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >&) in libsidplay2.a(SidTuneTools.o)</span></p>
<p class=""><span class="">      SidTune::SID_fileSupport(Buffer_sidtt<unsigned char const>&, Buffer_sidtt<unsigned char const>&) in libsidplay2.a(InfoFile.o)</span></p>
<p class=""><span class="">      SidTune::INFO_fileSupport(Buffer_sidtt<unsigned char const>&, Buffer_sidtt<unsigned char const>&) in libsidplay2.a(IconInfo.o)</span></p>
<p class=""><span class="">  "std::basic_ios<char, std::char_traits<char> >::operator!() const", referenced from:</span></p>
<p class=""><span class="">      SidTune::saveC64dataFile(char const*, bool) in libsidplay2.a(SidTune.o)</span></p>
<p class=""><span class="">      SidTune::saveSIDfile(char const*, bool) in libsidplay2.a(SidTune.o)</span></p>
<p class=""><span class="">      SidTune::savePSIDfile(char const*, bool) in libsidplay2.a(SidTune.o)</span></p>
<p class=""><span class="">      SidTuneTools::readHex(std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >&) in libsidplay2.a(SidTuneTools.o)</span></p>
<p class=""><span class="">      SidTuneTools::readDec(std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >&) in libsidplay2.a(SidTuneTools.o)</span></p>
<p class=""><span class="">      SidTune::SID_fileSupport(Buffer_sidtt<unsigned char const>&, Buffer_sidtt<unsigned char const>&) in libsidplay2.a(InfoFile.o)</span></p>
<p class=""><span class="">      SidTune::SID_fileSupportSave(std::basic_ofstream<char, std::char_traits<char> >&) in libsidplay2.a(InfoFile.o)</span></p>
<p class=""><span class="">      ...</span></p>
<p class=""><span class="">  "std::allocator<char>::allocator()", referenced from:</span></p>
<p class=""><span class="">      SidTune::SID_fileSupport(Buffer_sidtt<unsigned char const>&, Buffer_sidtt<unsigned char const>&) in libsidplay2.a(InfoFile.o)</span></p>
<p class=""><span class="">      SidTune::INFO_fileSupport(Buffer_sidtt<unsigned char const>&, Buffer_sidtt<unsigned char const>&) in libsidplay2.a(IconInfo.o)</span></p>
<p class=""><span class="">  "std::allocator<char>::~allocator()", referenced from:</span></p>
<p class=""><span class="">      SidTune::SID_fileSupport(Buffer_sidtt<unsigned char const>&, Buffer_sidtt<unsigned char const>&) in libsidplay2.a(InfoFile.o)</span></p>
<p class=""><span class="">      SidTune::INFO_fileSupport(Buffer_sidtt<unsigned char const>&, Buffer_sidtt<unsigned char const>&) in libsidplay2.a(IconInfo.o)</span></p>
<p class=""><span class="">  "std::istream::get(char&)", referenced from:</span></p>
<p class=""><span class="">      SidTune::getFromStdIn() in libsidplay2.a(SidTune.o)</span></p>
<p class=""><span class="">  "std::istream::read(char*, long)", referenced from:</span></p>
<p class=""><span class="">      SidTune::loadFile(char const*, Buffer_sidtt<unsigned char const>&) in libsidplay2.a(SidTune.o)</span></p>
<p class=""><span class="">  "std::istream::seekg(long long, std::_Ios_Seekdir)", referenced from:</span></p>
<p class=""><span class="">      SidTune::loadFile(char const*, Buffer_sidtt<unsigned char const>&) in libsidplay2.a(SidTune.o)</span></p>
<p class=""><span class="">  "std::istream::tellg()", referenced from:</span></p>
<p class=""><span class="">      SidTune::loadFile(char const*, Buffer_sidtt<unsigned char const>&) in libsidplay2.a(SidTune.o)</span></p>
<p class=""><span class="">  "std::istream::putback(char)", referenced from:</span></p>
<p class=""><span class="">      SidTuneTools::readHex(std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >&) in libsidplay2.a(SidTuneTools.o)</span></p>
<p class=""><span class="">      SidTuneTools::readDec(std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >&) in libsidplay2.a(SidTuneTools.o)</span></p>
<p class=""><span class="">  "std::ostream::tellp()", referenced from:</span></p>
<p class=""><span class="">      SidTune::saveC64dataFile(char const*, bool) in libsidplay2.a(SidTune.o)</span></p>
<p class=""><span class="">      SidTune::saveSIDfile(char const*, bool) in libsidplay2.a(SidTune.o)</span></p>
<p class=""><span class="">      SidTune::savePSIDfile(char const*, bool) in libsidplay2.a(SidTune.o)</span></p>
<p class=""><span class="">  "std::ostream::write(char const*, long)", referenced from:</span></p>
<p class=""><span class="">      SidTune::saveToOpenFile(std::basic_ofstream<char, std::char_traits<char> >&, unsigned char const*, unsigned int) in libsidplay2.a(SidTune.o)</span></p>
<p class=""><span class="">      SidTune::saveC64dataFile(char const*, bool) in libsidplay2.a(SidTune.o)</span></p>
<p class=""><span class="">      SidTune::PSID_fileSupportSave(std::basic_ofstream<char, std::char_traits<char> >&, unsigned char const*) in libsidplay2.a(PSID.o)</span></p>
<p class=""><span class="">  "std::ostream::operator<<(std::ostream& (*)(std::ostream&))", referenced from:</span></p>
<p class=""><span class="">      SidTune::SID_fileSupportSave(std::basic_ofstream<char, std::char_traits<char> >&) in libsidplay2.a(InfoFile.o)</span></p>
<p class=""><span class="">  "std::ostream::operator<<(std::ios_base& (*)(std::ios_base&))", referenced from:</span></p>
<p class=""><span class="">      SidTune::SID_fileSupportSave(std::basic_ofstream<char, std::char_traits<char> >&) in libsidplay2.a(InfoFile.o)</span></p>
<p class=""><span class="">  "std::ostream::operator<<(int)", referenced from:</span></p>
<p class=""><span class="">      SidTune::SID_fileSupportSave(std::basic_ofstream<char, std::char_traits<char> >&) in libsidplay2.a(InfoFile.o)</span></p>
<p class=""><span class="">  "std::ostream::operator<<(unsigned int)", referenced from:</span></p>
<p class=""><span class="">      SidTune::SID_fileSupportSave(std::basic_ofstream<char, std::char_traits<char> >&) in libsidplay2.a(InfoFile.o)</span></p>
<p class=""><span class="">  "std::ostream::operator<<(unsigned short)", referenced from:</span></p>
<p class=""><span class="">      SidTune::SID_fileSupportSave(std::basic_ofstream<char, std::char_traits<char> >&) in libsidplay2.a(InfoFile.o)</span></p>
<p class=""><span class="">  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned long, std::allocator<char> const&)", referenced from:</span></p>
<p class=""><span class="">      SidTune::SID_fileSupport(Buffer_sidtt<unsigned char const>&, Buffer_sidtt<unsigned char const>&) in libsidplay2.a(InfoFile.o)</span></p>
<p class=""><span class="">      SidTune::INFO_fileSupport(Buffer_sidtt<unsigned char const>&, Buffer_sidtt<unsigned char const>&) in libsidplay2.a(IconInfo.o)</span></p>
<p class=""><span class="">  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()", referenced from:</span></p>
<p class=""><span class="">      SidTune::SID_fileSupport(Buffer_sidtt<unsigned char const>&, Buffer_sidtt<unsigned char const>&) in libsidplay2.a(InfoFile.o)</span></p>
<p class=""><span class="">      SidTune::INFO_fileSupport(Buffer_sidtt<unsigned char const>&, Buffer_sidtt<unsigned char const>&) in libsidplay2.a(IconInfo.o)</span></p>
<p class=""><span class="">  "std::basic_fstream<char, std::char_traits<char> >::close()", referenced from:</span></p>
<p class=""><span class="">      SidTune::loadFile(char const*, Buffer_sidtt<unsigned char const>&) in libsidplay2.a(SidTune.o)</span></p>
<p class=""><span class="">  "std::basic_fstream<char, std::char_traits<char> >::is_open()", referenced from:</span></p>
<p class=""><span class="">      SidTune::loadFile(char const*, Buffer_sidtt<unsigned char const>&) in libsidplay2.a(SidTune.o)</span></p>
<p class=""><span class="">  "std::basic_fstream<char, std::char_traits<char> >::basic_fstream(char const*, std::_Ios_Openmode)", referenced from:</span></p>
<p class=""><span class="">      SidTune::loadFile(char const*, Buffer_sidtt<unsigned char const>&) in libsidplay2.a(SidTune.o)</span></p>
<p class=""><span class="">  "std::basic_fstream<char, std::char_traits<char> >::~basic_fstream()", referenced from:</span></p>
<p class=""><span class="">      SidTune::loadFile(char const*, Buffer_sidtt<unsigned char const>&) in libsidplay2.a(SidTune.o)</span></p>
<p class=""><span class="">  "std::basic_ofstream<char, std::char_traits<char> >::close()", referenced from:</span></p>
<p class=""><span class="">      SidTune::saveC64dataFile(char const*, bool) in libsidplay2.a(SidTune.o)</span></p>
<p class=""><span class="">      SidTune::saveSIDfile(char const*, bool) in libsidplay2.a(SidTune.o)</span></p>
<p class=""><span class="">      SidTune::savePSIDfile(char const*, bool) in libsidplay2.a(SidTune.o)</span></p>
<p class=""><span class="">  "std::basic_ofstream<char, std::char_traits<char> >::basic_ofstream(char const*, std::_Ios_Openmode)", referenced from:</span></p>
<p class=""><span class="">      SidTune::saveC64dataFile(char const*, bool) in libsidplay2.a(SidTune.o)</span></p>
<p class=""><span class="">      SidTune::saveSIDfile(char const*, bool) in libsidplay2.a(SidTune.o)</span></p>
<p class=""><span class="">      SidTune::savePSIDfile(char const*, bool) in libsidplay2.a(SidTune.o)</span></p>
<p class=""><span class="">  "std::basic_ofstream<char, std::char_traits<char> >::~basic_ofstream()", referenced from:</span></p>
<p class=""><span class="">      SidTune::saveC64dataFile(char const*, bool) in libsidplay2.a(SidTune.o)</span></p>
<p class=""><span class="">      SidTune::saveSIDfile(char const*, bool) in libsidplay2.a(SidTune.o)</span></p>
<p class=""><span class="">      SidTune::savePSIDfile(char const*, bool) in libsidplay2.a(SidTune.o)</span></p>
<p class=""><span class="">  "std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >::basic_istringstream(std::string const&, std::_Ios_Openmode)", referenced from:</span></p>
<p class=""><span class="">      SidTune::SID_fileSupport(Buffer_sidtt<unsigned char const>&, Buffer_sidtt<unsigned char const>&) in libsidplay2.a(InfoFile.o)</span></p>
<p class=""><span class="">      SidTune::INFO_fileSupport(Buffer_sidtt<unsigned char const>&, Buffer_sidtt<unsigned char const>&) in libsidplay2.a(IconInfo.o)</span></p>
<p class=""><span class="">  "std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_istringstream()", referenced from:</span></p>
<p class=""><span class="">      SidTune::SID_fileSupport(Buffer_sidtt<unsigned char const>&, Buffer_sidtt<unsigned char const>&) in libsidplay2.a(InfoFile.o)</span></p>
<p class=""><span class="">      SidTune::INFO_fileSupport(Buffer_sidtt<unsigned char const>&, Buffer_sidtt<unsigned char const>&) in libsidplay2.a(IconInfo.o)</span></p>
<p class=""><span class="">  "std::ios_base::Init::Init()", referenced from:</span></p>
<p class=""><span class="">      ___cxx_global_var_init in libsidplay2.a(SidTune.o)</span></p>
<p class=""><span class="">      ___cxx_global_var_init in libsidplay2.a(InfoFile.o)</span></p>
<p class=""><span class="">  "std::ios_base::Init::~Init()", referenced from:</span></p>
<p class=""><span class="">      ___cxx_global_var_init in libsidplay2.a(SidTune.o)</span></p>
<p class=""><span class="">      ___cxx_global_var_init in libsidplay2.a(InfoFile.o)</span></p>
<p class=""><span class="">  "std::__throw_length_error(char const*)", referenced from:</span></p>
<p class=""><span class="">      std::vector<sidemu*, std::allocator<sidemu*> >::_M_insert_aux(__gnu_cxx::__normal_iterator<sidemu**, std::vector<sidemu*, std::allocator<sidemu*> > >, sidemu* const&) in libresid-builder.a(resid-builder.o)</span></p>
<p class=""><span class="">  "std::cin", referenced from:</span></p>
<p class=""><span class="">      SidTune::getFromStdIn() in libsidplay2.a(SidTune.o)</span></p>
<p class=""><span class="">  "std::basic_ostream<char, std::char_traits<char> >& std::endl<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&)", referenced from:</span></p>
<p class=""><span class="">      SidTune::SID_fileSupportSave(std::basic_ofstream<char, std::char_traits<char> >&) in libsidplay2.a(InfoFile.o)</span></p>
<p class=""><span class="">  "std::basic_ostream<char, std::char_traits<char> >& std::operator<<<std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*)", referenced from:</span></p>
<p class=""><span class="">      SidTune::SID_fileSupportSave(std::basic_ofstream<char, std::char_traits<char> >&) in libsidplay2.a(InfoFile.o)</span></p>
<p class=""><span class="">  "std::basic_ostream<char, std::char_traits<char> >& std::operator<<<std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char)", referenced from:</span></p>
<p class=""><span class="">      SidTune::SID_fileSupportSave(std::basic_ofstream<char, std::char_traits<char> >&) in libsidplay2.a(InfoFile.o)</span></p>
<p class=""><span class="">  "std::basic_ostream<char, std::char_traits<char> >& std::operator<<<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, std::_Setw)", referenced from:</span></p>
<p class=""><span class="">      SidTune::SID_fileSupportSave(std::basic_ofstream<char, std::char_traits<char> >&) in libsidplay2.a(InfoFile.o)</span></p>
<p class=""><span class="">  "std::basic_ostream<char, std::char_traits<char> >& std::operator<<<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, std::_Setfill<char>)", referenced from:</span></p>
<p class=""><span class="">      SidTune::SID_fileSupportSave(std::basic_ofstream<char, std::char_traits<char> >&) in libsidplay2.a(InfoFile.o)</span></p>
<p class=""><span class="">  CCLD     <a href="http://libavi_plugin.la">libavi_plugin.la</a></span></p>
<p class=""><span class="">  "std::basic_istream<char, std::char_traits<char> >& std::operator>><char, std::char_traits<char> >(std::basic_istream<char, std::char_traits<char> >&, char&)", referenced from:</span></p>
<p class=""><span class="">      SidTuneTools::readHex(std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >&) in libsidplay2.a(SidTuneTools.o)</span></p>
<p class=""><span class="">      SidTuneTools::readDec(std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >&) in libsidplay2.a(SidTuneTools.o)</span></p>
<p class=""><span class="">      SidTuneTools::skipToEqu(std::basic_istringstream<char, std::char_traits<char>, std::allocator<char> >&) in libsidplay2.a(SidTuneTools.o)</span></p>
<p class=""><span class="">      SidTune::SID_fileSupport(Buffer_sidtt<unsigned char const>&, Buffer_sidtt<unsigned char const>&) in libsidplay2.a(InfoFile.o)</span></p>
<p class=""><span class="">ld: symbol(s) not found for architecture x86_64</span></p>
<p class=""><span class="">clang: error: linker command failed with exit code 1 (use -v to see invocation)</span></p>
<p class=""><span class="">make[4]: *** [<a href="http://libsid_plugin.la">libsid_plugin.la</a>] Error 1</span></p>
<p class=""><span class="">make[4]: *** Waiting for unfinished jobs....</span></p>
<p class=""><span class="">make[3]: *** [all-recursive] Error 1</span></p>
<p class=""><span class="">make[2]: *** [all] Error 2</span></p>
<p class=""><span class="">make[1]: *** [all-recursive] Error 1</span></p>
<p class=""><span class="">make: *** [all] Error 2</span></p><p class=""><span class=""><br></span></p><p class=""><span class="">Any help is appreciated.</span></p><p class=""><span class=""><br></span></p><p class=""><span class="">Thanks</span></p></div></div>