Jens Olsson - 2011-01-23

I just tried to compile Mediatomb on OSX. Dont seem to work out of the box. IS htere anything I have to do to make it work or is it not just working at the moment?

#svn co https://svn.mediatomb.cc/svnroot/mediatomb/trunk/mediatomb mediatomb
<snip>
#cd mediatomb
#utoreconf -i
<snip>
#./configure
CONFIGURATION SUMMARY ----
sqlite3               : yes
mysql                 : missing
libjs                 : missing
libmagic              : missing
inotify               : missing
libexif               : missing
id3lib                : disabled
taglib                : yes
libmp4v2              : missing
ffmpeg                : missing
ffmpegthumbnailer     : missing
lastfmlib             : missing
external transcoding  : yes
curl                  : missing
YouTube               : missing
Weborama              : missing
Apple Trailers        : missing
SopCast               : disabled
libextractor          : disabled
db-autocreate         : yes
<snip>
#make
<snip>
g++  -g -O2   -o mediatomb  mediatomb-main.o libmediatomb.a ../tombupnp/build/libtombupnp.a             -liconv -lsqlite3  -L/sw/lib -ltag      -lz  -D_THREAD_SAFE     -lexpat     -L/sw/lib -lcurl -lz
ld: warning: in /sw/lib/libiconv.dylib, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in /sw/lib/libsqlite3.dylib, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in /sw/lib/libtag.dylib, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in /sw/lib/libexpat.dylib, file was built for i386 which is not the architecture being linked (x86_64)
ld: warning: in /sw/lib/libcurl.dylib, file was built for i386 which is not the architecture being linked (x86_64)
Undefined symbols:
  "TagLib::ID3v2::Tag::frameList(TagLib::ByteVector const&) const", referenced from:
      TagHandler::serveContent(zmm::Ref<CdsItem>, int, long long*)in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
  "_XML_ParserFree", referenced from:
      mxml::Parser::parse(zmm::Ref<mxml::Context>, zmm::String)   in libmediatomb.a(libmediatomb_a-parser_expat.o)
      mxml::Parser::parse(zmm::Ref<mxml::Context>, zmm::String)   in libmediatomb.a(libmediatomb_a-parser_expat.o)
  "_sqlite3_mprintf", referenced from:
      Sqlite3Storage::quote(zmm::String)       in libmediatomb.a(libmediatomb_a-sqlite3_storage.o)
  "TagLib::ID3v2::AttachedPictureFrame::mimeType() const", referenced from:
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
  "TagLib::FileRef::audioProperties() const", referenced from:
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
  "TagLib::String::operator=(TagLib::String const&)", referenced from:
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
  "_sqlite3_get_table", referenced from:
      SLSelectTask::run(sqlite3**, Sqlite3Storage*)      in libmediatomb.a(libmediatomb_a-sqlite3_storage.o)
  "TagLib::MPEG::File::ID3v2Tag(bool)", referenced from:
      TagHandler::serveContent(zmm::Ref<CdsItem>, int, long long*)in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::serveContent(zmm::Ref<CdsItem>, int, long long*)in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
  "TagLib::String::toCString(bool) const", referenced from:
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
  "_sqlite3_close", referenced from:
      Sqlite3Storage::threadProc()       in libmediatomb.a(libmediatomb_a-sqlite3_storage.o)
      SLInitTask::run(sqlite3**, Sqlite3Storage*)      in libmediatomb.a(libmediatomb_a-sqlite3_storage.o)
      SLBackupTask::run(sqlite3**, Sqlite3Storage*)      in libmediatomb.a(libmediatomb_a-sqlite3_storage.o)
  "_XML_SetElementHandler", referenced from:
      mxml::Parser::parse(zmm::Ref<mxml::Context>, zmm::String)   in libmediatomb.a(libmediatomb_a-parser_expat.o)
  "_sqlite3_free", referenced from:
      Sqlite3Storage::quote(zmm::String)       in libmediatomb.a(libmediatomb_a-sqlite3_storage.o)
      SLExecTask::run(sqlite3**, Sqlite3Storage*)      in libmediatomb.a(libmediatomb_a-sqlite3_storage.o)
      SLSelectTask::run(sqlite3**, Sqlite3Storage*)      in libmediatomb.a(libmediatomb_a-sqlite3_storage.o)
      SLInitTask::run(sqlite3**, Sqlite3Storage*)      in libmediatomb.a(libmediatomb_a-sqlite3_storage.o)
  "_XML_ErrorString", referenced from:
      mxml::Parser::parse(zmm::Ref<mxml::Context>, zmm::String)   in libmediatomb.a(libmediatomb_a-parser_expat.o)
  "_sqlite3_exec", referenced from:
      SLExecTask::run(sqlite3**, Sqlite3Storage*)      in libmediatomb.a(libmediatomb_a-sqlite3_storage.o)
      SLInitTask::run(sqlite3**, Sqlite3Storage*)      in libmediatomb.a(libmediatomb_a-sqlite3_storage.o)
  "_XML_SetCharacterDataHandler", referenced from:
      mxml::Parser::parse(zmm::Ref<mxml::Context>, zmm::String)   in libmediatomb.a(libmediatomb_a-parser_expat.o)
  "TagLib::MPEG::File::~File()", referenced from:
      TagHandler::serveContent(zmm::Ref<CdsItem>, int, long long*)in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::serveContent(zmm::Ref<CdsItem>, int, long long*)in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
  "TagLib::MPEG::File::File(char const*, bool, TagLib::AudioProperties::ReadStyle)", referenced from:
      TagHandler::serveContent(zmm::Ref<CdsItem>, int, long long*)in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
  "TagLib::FileRef::FileRef(char const*, bool, TagLib::AudioProperties::ReadStyle)", referenced from:
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
  "TagLib::String::size() const", referenced from:
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
  "TagLib::ID3v2::Frame::frameID() const", referenced from:
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
  "TagLib::ByteVector::size() const", referenced from:
      TagHandler::serveContent(zmm::Ref<CdsItem>, int, long long*)in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::serveContent(zmm::Ref<CdsItem>, int, long long*)in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
  "_sqlite3_open", referenced from:
      Sqlite3Storage::threadProc()       in libmediatomb.a(libmediatomb_a-sqlite3_storage.o)
      SLInitTask::run(sqlite3**, Sqlite3Storage*)      in libmediatomb.a(libmediatomb_a-sqlite3_storage.o)
      SLBackupTask::run(sqlite3**, Sqlite3Storage*)      in libmediatomb.a(libmediatomb_a-sqlite3_storage.o)
  "_XML_GetCurrentColumnNumber", referenced from:
      mxml::Parser::parse(zmm::Ref<mxml::Context>, zmm::String)   in libmediatomb.a(libmediatomb_a-parser_expat.o)
  "TagLib::String::operator==(TagLib::String const&) const", referenced from:
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
  "_libiconv", referenced from:
      StringConverter::_convert(zmm::String, bool, unsigned long*)in libmediatomb.a(libmediatomb_a-string_converter.o)
      StringConverter::_convert(zmm::String, bool, unsigned long*)in libmediatomb.a(libmediatomb_a-string_converter.o)
  "TagLib::FileRef::tag() const", referenced from:
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
  "_sqlite3_errcode", referenced from:
      Sqlite3Storage::getError(zmm::String, zmm::String, sqlite3*)in libmediatomb.a(libmediatomb_a-sqlite3_storage.o)
  "TagLib::String::String(char const*, TagLib::String::Type)", referenced from:
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
  "TagLib::FileRef::~FileRef()", referenced from:
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
  "TagLib::FileRef::isNull() const", referenced from:
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
  "typeinfo for TagLib::ID3v2::TextIdentificationFrame", referenced from:
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
  "TagLib::ByteVector::ByteVector(char const*)", referenced from:
      TagHandler::serveContent(zmm::Ref<CdsItem>, int, long long*)in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
  "TagLib::String::String(TagLib::ByteVector const&, TagLib::String::Type)", referenced from:
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
  "_XML_SetDefaultHandler", referenced from:
      mxml::Parser::parse(zmm::Ref<mxml::Context>, zmm::String)   in libmediatomb.a(libmediatomb_a-parser_expat.o)
  "_libiconv_close", referenced from:
      StringConverter::~StringConverter()in libmediatomb.a(libmediatomb_a-string_converter.o)
      StringConverter::~StringConverter()in libmediatomb.a(libmediatomb_a-string_converter.o)
  "_XML_SetCommentHandler", referenced from:
      mxml::Parser::parse(zmm::Ref<mxml::Context>, zmm::String)   in libmediatomb.a(libmediatomb_a-parser_expat.o)
  "_XML_SetUserData", referenced from:
      mxml::Parser::parse(zmm::Ref<mxml::Context>, zmm::String)   in libmediatomb.a(libmediatomb_a-parser_expat.o)
  "_XML_Parse", referenced from:
      mxml::Parser::parse(zmm::Ref<mxml::Context>, zmm::String)   in libmediatomb.a(libmediatomb_a-parser_expat.o)
  "TagLib::File::isValid() const", referenced from:
      TagHandler::serveContent(zmm::Ref<CdsItem>, int, long long*)in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
  "_sqlite3_last_insert_rowid", referenced from:
      SLExecTask::run(sqlite3**, Sqlite3Storage*)      in libmediatomb.a(libmediatomb_a-sqlite3_storage.o)
  "TagLib::ID3v2::AttachedPictureFrame::picture() const", referenced from:
      TagHandler::serveContent(zmm::Ref<CdsItem>, int, long long*)in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::serveContent(zmm::Ref<CdsItem>, int, long long*)in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::serveContent(zmm::Ref<CdsItem>, int, long long*)in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
  "TagLib::ByteVector::~ByteVector()", referenced from:
      TagHandler::serveContent(zmm::Ref<CdsItem>, int, long long*)in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::serveContent(zmm::Ref<CdsItem>, int, long long*)in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::serveContent(zmm::Ref<CdsItem>, int, long long*)in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::serveContent(zmm::Ref<CdsItem>, int, long long*)in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::serveContent(zmm::Ref<CdsItem>, int, long long*)in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::serveContent(zmm::Ref<CdsItem>, int, long long*)in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::serveContent(zmm::Ref<CdsItem>, int, long long*)in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::serveContent(zmm::Ref<CdsItem>, int, long long*)in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
  "_XML_GetCurrentLineNumber", referenced from:
      mxml::Parser::parse(zmm::Ref<mxml::Context>, zmm::String)   in libmediatomb.a(libmediatomb_a-parser_expat.o)
  "typeinfo for TagLib::ID3v2::Frame", referenced from:
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
  "_sqlite3_free_table", referenced from:
      Sqlite3Result::~Sqlite3Result()in libmediatomb.a(libmediatomb_a-sqlite3_storage.o)
      Sqlite3Result::~Sqlite3Result()in libmediatomb.a(libmediatomb_a-sqlite3_storage.o)
  "_XML_ParserCreate", referenced from:
      mxml::Parser::parse(zmm::Ref<mxml::Context>, zmm::String)   in libmediatomb.a(libmediatomb_a-parser_expat.o)
  "_XML_GetErrorCode", referenced from:
      mxml::Parser::parse(zmm::Ref<mxml::Context>, zmm::String)   in libmediatomb.a(libmediatomb_a-parser_expat.o)
  "TagLib::ByteVector::data()", referenced from:
      TagHandler::serveContent(zmm::Ref<CdsItem>, int, long long*)in libmediatomb.a(libmediatomb_a-taglib_handler.o)
  "TagLib::ID3v2::Tag::frameList() const", referenced from:
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
  "TagLib::String::String()", referenced from:
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
  "_sqlite3_errmsg", referenced from:
      Sqlite3Storage::getError(zmm::String, zmm::String, sqlite3*)in libmediatomb.a(libmediatomb_a-sqlite3_storage.o)
  "TagLib::String::~String()", referenced from:
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
      TagHandler::fillMetadata(zmm::Ref<CdsItem>)         in libmediatomb.a(libmediatomb_a-taglib_handler.o)
  "_libiconv_open", referenced from:
      StringConverter::StringConverter(zmm::String, zmm::String)in libmediatomb.a(libmediatomb_a-string_converter.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [mediatomb] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2