Opened 7 years ago

Closed 6 years ago

#55149 closed defect (wontfix)

mediainfo @0.7.99 fails to build on SnowLeopard, Mac OS X 10.6.8, because of "Undefined symbols for architecture x86_64"

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: ctreleaven (Craig Treleaven)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: snowleopard Cc:
Port: mediainfo

Description

Making all in test
MediaInfoLib compiled
checking build system type... x86_64-apple-darwin10.8.0
checking host system type... x86_64-apple-darwin10.8.0
…
checking dynamic linker characteristics... darwin10.8.0 dyld
checking how to hardcode library paths into programs... immediate
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
config.status: executing libtool commands

Configured MediaInfo for ''

  Unicode?                                                yes
  stream missing support?                                 no

  Using libzen?                                           builtin (static)
  Using libmediainfo?                                     builtin (static)

  CXXFLAGS:  -O2 -DUNICODE -DUNICODE -DSIZE_T_IS_LONG
  LIBS:  /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_multimedia_mediainfo/mediainfo/work/MediaInfo_CLI_GNU_FromSource/MediaInfoLib/Project/GNU/Library/.libs/libmediainfo.a -lz /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_multimedia_mediainfo/mediainfo/work/MediaInfo_CLI_GNU_FromSource/ZenLib/Project/GNU/Library/.libs/libzen.a -lpthread -lstdc++
checking build system type... x86_64-apple-darwin10.8.0
checking host system type... x86_64-apple-darwin10.8.0
checking for a BSD-compatible install... /opt/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... /opt/local/bin/clang-mp-3.9 -arch x86_64
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /opt/local/bin/clang-mp-3.9 -arch x86_64 accepts -g... yes
checking for /opt/local/bin/clang-mp-3.9 -arch x86_64 option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /opt/local/bin/clang-mp-3.9 -arch x86_64... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether /opt/local/bin/clang++-mp-3.9 -arch x86_64 accepts -g... yes
checking dependency style of /opt/local/bin/clang++-mp-3.9 -arch x86_64... gcc3
checking how to print strings... printf
checking for a sed that does not truncate output... /opt/local/bin/gsed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by /opt/local/bin/clang-mp-3.9 -arch x86_64... /opt/local/libexec/llvm-3.9/bin/ld
checking if the linker (/opt/local/libexec/llvm-3.9/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /opt/local/bin/nm -B
checking the name lister (/opt/local/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-apple-darwin10.8.0 file names to x86_64-apple-darwin10.8.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin10.8.0 file names to toolchain format... func_convert_file_noop
checking for /opt/local/libexec/llvm-3.9/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /opt/local/bin/nm -B output from /opt/local/bin/clang-mp-3.9 -arch x86_64 object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... /opt/local/bin/clang-mp-3.9 -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /opt/local/bin/clang-mp-3.9 -arch x86_64 supports -fno-rtti -fno-exceptions... yes
checking for /opt/local/bin/clang-mp-3.9 -arch x86_64 option to produce PIC... -fno-common -DPIC
checking if /opt/local/bin/clang-mp-3.9 -arch x86_64 PIC flag -fno-common -DPIC works... yes
checking if /opt/local/bin/clang-mp-3.9 -arch x86_64 static flag -static works... no
checking if /opt/local/bin/clang-mp-3.9 -arch x86_64 supports -c -o file.o... yes
checking if /opt/local/bin/clang-mp-3.9 -arch x86_64 supports -c -o file.o... (cached) yes
checking whether the /opt/local/bin/clang-mp-3.9 -arch x86_64 linker (/opt/local/libexec/llvm-3.9/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.8.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... /opt/local/bin/clang++-mp-3.9 -E
checking for ld used by /opt/local/bin/clang++-mp-3.9 -arch x86_64... /opt/local/libexec/llvm-3.9/bin/ld
checking if the linker (/opt/local/libexec/llvm-3.9/bin/ld) is GNU ld... no
checking whether the /opt/local/bin/clang++-mp-3.9 -arch x86_64 linker (/opt/local/libexec/llvm-3.9/bin/ld) supports shared libraries... yes
checking for /opt/local/bin/clang++-mp-3.9 -arch x86_64 option to produce PIC... -fno-common -DPIC
checking if /opt/local/bin/clang++-mp-3.9 -arch x86_64 PIC flag -fno-common -DPIC works... yes
checking if /opt/local/bin/clang++-mp-3.9 -arch x86_64 static flag -static works... no
checking if /opt/local/bin/clang++-mp-3.9 -arch x86_64 supports -c -o file.o... yes
checking if /opt/local/bin/clang++-mp-3.9 -arch x86_64 supports -c -o file.o... (cached) yes
checking whether the /opt/local/bin/clang++-mp-3.9 -arch x86_64 linker (/opt/local/libexec/llvm-3.9/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.8.0 dyld
checking how to hardcode library paths into programs... immediate
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
config.status: executing libtool commands

Configured MediaInfo for ''

  Unicode?                                                yes
  stream missing support?                                 no

  Using libzen?                                           builtin (static)
  Using libmediainfo?                                     builtin (static)

  CXXFLAGS: -mmacosx-version-min=10.5  -O2 -DUNICODE -DUNICODE -DSIZE_T_IS_LONG
  LIBS:  /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_multimedia_mediainfo/mediainfo/work/MediaInfo_CLI_GNU_FromSource/MediaInfoLib/Project/GNU/Library/.libs/libmediainfo.a -lz /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_multimedia_mediainfo/mediainfo/work/MediaInfo_CLI_GNU_FromSource/ZenLib/Project/GNU/Library/.libs/libzen.a -lpthread -lstdc++
 rm -f mediainfo
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
libtool: link: /opt/local/bin/clang++-mp-3.9 -arch x86_64 -mmacosx-version-min=10.5 -O2 -DUNICODE -DUNICODE -DSIZE_T_IS_LONG -mmacosx-version-min=10.5 -o mediainfo CLI_Main.o CommandLine_Parser.o Help.o Core.o  -framework CoreFoundation /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_multimedia_mediainfo/mediainfo/work/MediaInfo_CLI_GNU_FromSource/MediaInfoLib/Project/GNU/Library/.libs/libmediainfo.a -lz /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_multimedia_mediainfo/mediainfo/work/MediaInfo_CLI_GNU_FromSource/ZenLib/Project/GNU/Library/.libs/libzen.a -lpthread -lstdc++
Undefined symbols for architecture x86_64:
  "std::ctype<char>::_M_widen_init() const", referenced from:
      STRINGERR(ZenLib::Ztring) in CLI_Main.o
      STRINGOUT(ZenLib::Ztring) in CLI_Main.o
      STRINGOUT(ZenLib::Ztring) in CommandLine_Parser.o
      STRINGOUT(ZenLib::Ztring) in Help.o
      MediaInfoLib::element_details::Element_Node::Print_Tree_Cat(MediaInfoLib::element_details::Element_Node::print_struc&) in libmediainfo.a(File__Analyze_Element.o)
      MediaInfoLib::element_details::Element_Node::Print_Tree(MediaInfoLib::element_details::Element_Node::print_struc&) in libmediainfo.a(File__Analyze_Element.o)
  "std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_append(wchar_t const*, unsigned long)", referenced from:
      Log_0(MediaInfo_Event_Log_0*, UserHandle_struct*) in CLI_Main.o
      std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > std::operator+<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >(wchar_t const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in CommandLine_Parser.o
      std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > std::operator+<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >(wchar_t const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in Core.o
      ZenLib::Ztring::From_GUID(ZenLib::uint128) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_CC1(unsigned char) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_CC2(unsigned short) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_UUID(ZenLib::uint128) in libzen.a(Ztring.o)
      ...
  "std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t, unsigned long) const", referenced from:
      _main in CLI_Main.o
      Language(Core&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in CommandLine_Parser.o
      Output(Core&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in CommandLine_Parser.o
      Default(Core&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in CommandLine_Parser.o
      Inform(Core&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in CommandLine_Parser.o
      ZenLib::Ztring::From_Number(float, unsigned char, ZenLib::ztring_t) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_Number(double, unsigned char, ZenLib::ztring_t) in libzen.a(Ztring.o)
      ...
  "std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_create(unsigned long&, unsigned long)", referenced from:
      void std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_construct<wchar_t*>(wchar_t*, wchar_t*, std::forward_iterator_tag) in CLI_Main.o
      void std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_construct<wchar_t const*>(wchar_t const*, wchar_t const*, std::forward_iterator_tag) in CLI_Main.o
      void std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_construct<wchar_t*>(wchar_t*, wchar_t*, std::forward_iterator_tag) in CommandLine_Parser.o
      void std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_construct<wchar_t const*>(wchar_t const*, wchar_t const*, std::forward_iterator_tag) in CommandLine_Parser.o
      void std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_construct<wchar_t*>(wchar_t*, wchar_t*, std::forward_iterator_tag) in Help.o
      void std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_construct<wchar_t const*>(wchar_t const*, wchar_t const*, std::forward_iterator_tag) in Help.o
      void std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_construct<wchar_t*>(wchar_t*, wchar_t*, std::forward_iterator_tag) in Core.o
      ...
  "std::__throw_out_of_range_fmt(char const*, ...)", referenced from:
      Parse(Core&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&) in CommandLine_Parser.o
      Language(Core&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in CommandLine_Parser.o
      Output(Core&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in CommandLine_Parser.o
      LogFile(Core&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in CommandLine_Parser.o
      Default(Core&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in CommandLine_Parser.o
      Inform(Core&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in CommandLine_Parser.o
      Set_Program_Name(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in Help.o
      ...
  "std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_replace_aux(unsigned long, unsigned long, unsigned long, wchar_t)", referenced from:
      Default(Core&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in CommandLine_Parser.o
      ZenLib::Ztring::From_Unicode(wchar_t) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_UTF16(char const*) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_UTF16LE(char const*) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_UTF16BE(char const*) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_UTF16LE(char const*, unsigned long, unsigned long) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_UTF16BE(char const*, unsigned long, unsigned long) in libzen.a(Ztring.o)
      ...
  "std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_replace(unsigned long, unsigned long, wchar_t const*, unsigned long)", referenced from:
      Parse(Core&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&) in CommandLine_Parser.o
      LogFile(Core&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in CommandLine_Parser.o
      Default(Core&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in CommandLine_Parser.o
      Help() in Help.o
      Help_Nothing() in Help.o
      Help_Output() in Help.o
      Core::Menu_View_Easy() in Core.o
      ...
  "std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find(wchar_t const*, unsigned long, unsigned long) const", referenced from:
      Parse(Core&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&) in CommandLine_Parser.o
      Help_xxx(Core&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in CommandLine_Parser.o
      ZenLib::Ztring::SubString(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, unsigned long, ZenLib::ztring_t) const in libzen.a(Ztring.o)
      ZenLib::Ztring::FindAndReplace(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, unsigned long, ZenLib::ztring_t) in libzen.a(Ztring.o)
      ZenLib::Ztring::Count(ZenLib::Ztring const&, ZenLib::ztring_t) const in libzen.a(Ztring.o)
      ZenLib::Ztring::Compare(ZenLib::Ztring const&, ZenLib::Ztring const&, ZenLib::ztring_t) const in libzen.a(Ztring.o)
      MediaInfoLib::MediaInfo_Internal::Entry() in libmediainfo.a(MediaInfo_Internal.o)
      ...
  "std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::reserve(unsigned long)", referenced from:
      std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > std::operator+<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >(wchar_t const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in CommandLine_Parser.o
      std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > std::operator+<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >(wchar_t const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in Core.o
      ZenLib::Ztring::From_UTF16BE(char const*, unsigned long, unsigned long) in libzen.a(Ztring.o)
      std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > std::operator+<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >(wchar_t const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in libmediainfo.a(MediaInfo_Config.o)
      std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > std::operator+<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >(wchar_t const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in libmediainfo.a(MediaInfo_Inform.o)
      std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > std::operator+<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >(wchar_t const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in libmediainfo.a(MediaInfoList_Internal.o)
      std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > std::operator+<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >(wchar_t const*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in libmediainfo.a(File__Analyze.o)
      ...
  "std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::~basic_string()", referenced from:
      __GLOBAL__sub_I_Help.cpp in Help.o
  "std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::rfind(wchar_t, unsigned long) const", referenced from:
      Set_Program_Name(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in Help.o
      MediaInfoLib::File_SequenceInfo::FileHeader_Begin() in libmediainfo.a(File_SequenceInfo.o)
      MediaInfoLib::File_Mxf::Streams_Finish_Identification(ZenLib::uint128) in libmediainfo.a(File_Mxf.o)
      MediaInfoLib::EbuCore_WithFactor(MediaInfoLib::Node*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ZenLib::Ztring const&, ZenLib::Ztring const&, ZenLib::Ztring const&) in libmediainfo.a(Export_EbuCore.o)
      ZenLib::FileName::Name_Get() const in libzen.a(FileName.o)
      ZenLib::FileName::Extension_Get() const in libzen.a(FileName.o)
      MediaInfoLib::File__Analyze::Stream_Prepare(MediaInfoLib::stream_t, unsigned long) in libmediainfo.a(File__Analyze_Streams.o)
      ...
  "std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_assign(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&)", referenced from:
      Set_Program_Name(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in Help.o
      Core::Data_Prepare() in Core.o
      Core::Menu_Debug_Demux(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in Core.o
      Core::Menu_Help_Version() in Core.o
      Core::Menu_Help_Info_Formats() in Core.o
      Core::Menu_Help_Info_Codecs() in Core.o
      Core::Menu_Help_Info_Parameters() in Core.o
      ...
  "std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::compare(char const*) const", referenced from:
      MediaInfoLib::File__Analyze::Open_Buffer_Continue(unsigned char const*, unsigned long) in libmediainfo.a(File__Analyze.o)
      MediaInfoLib::File__Analyze::Param_Info(char const*, char const*, unsigned char) in libmediainfo.a(File__Analyze.o)
      MediaInfoLib::File__Analyze::Param_Info(char const*, char const*, unsigned char) in libmediainfo.a(File_Dpx.o)
      MediaInfoLib::File_Dxw::FileHeader_Begin() in libmediainfo.a(File_Dxw.o)
      MediaInfoLib::File__Analyze::Element_Info(char const*, char const*, unsigned char) in libmediainfo.a(File_Flv.o)
      MediaInfoLib::File__Analyze::Param_Info(char const*, char const*, unsigned char) in libmediainfo.a(File_Flv.o)
      MediaInfoLib::File_Flv::meta_SCRIPTDATAVALUE(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in libmediainfo.a(File_Flv.o)
      ...
  "std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
      MediaInfoLib::File__Analyze::Header_Manage() in libmediainfo.a(File__Analyze.o)
      MediaInfoLib::File__Analyze::Element_Name(ZenLib::Ztring const&) in libmediainfo.a(File__Analyze.o)
      MediaInfoLib::File__Analyze::Info(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long) in libmediainfo.a(File__Analyze.o)
      MediaInfoLib::File__Analyze::Element_End(ZenLib::Ztring const&) in libmediainfo.a(File__Analyze.o)
      void MediaInfoLib::File__Analyze::Param<int>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, unsigned char) in libmediainfo.a(File__Analyze.o)
      std::vector<MediaInfoLib::element_details, std::allocator<MediaInfoLib::element_details> >::_M_fill_insert(__gnu_cxx::__normal_iterator<MediaInfoLib::element_details*, std::vector<MediaInfoLib::element_details, std::allocator<MediaInfoLib::element_details> > >, unsigned long, MediaInfoLib::element_details const&) in libmediainfo.a(File__Analyze.o)
      MediaInfoLib::File_Flv::meta_SCRIPTDATAVALUE(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in libmediainfo.a(File_Flv.o)
      ...
  "std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream(std::_Ios_Openmode)", referenced from:
      MediaInfoLib::operator<<(std::ostream&, MediaInfoLib::element_details::Element_Node_Data const&) in libmediainfo.a(File__Analyze_Element.o)
  "VTT for std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >", referenced from:
      MediaInfoLib::operator<<(std::ostream&, MediaInfoLib::element_details::Element_Node_Data const&) in libmediainfo.a(File__Analyze_Element.o)
  "std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::rfind(wchar_t const*, unsigned long, unsigned long) const", referenced from:
      MediaInfoLib::MediaInfo_Internal::Inform(MediaInfoLib::stream_t, unsigned long, bool) in libmediainfo.a(MediaInfo_Inform.o)
      ZenLib::FileName::Path_Get() const in libzen.a(FileName.o)
      ZenLib::FileName::Name_Get() const in libzen.a(FileName.o)
      ZenLib::FileName::Extension_Get() const in libzen.a(FileName.o)
      MediaInfoLib::File__Analyze::Fill(MediaInfoLib::stream_t, unsigned long, unsigned long, ZenLib::Ztring const&, bool) in libmediainfo.a(File__Analyze_Streams.o)
      MediaInfoLib::File__Analyze::Fill(MediaInfoLib::stream_t, unsigned long, char const*, ZenLib::Ztring const&, bool) in libmediainfo.a(File__Analyze_Streams.o)
      MediaInfoLib::Reader_Directory::Format_Test(MediaInfoLib::MediaInfo_Internal*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >) in libmediainfo.a(Reader_Directory.o)
      ...
  "std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find_first_not_of(wchar_t const*, unsigned long, unsigned long) const", referenced from:
      MediaInfoLib::MediaInfo_Internal::Option(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in libmediainfo.a(MediaInfo_Internal.o)
      MediaInfoLib::MediaInfo_Config::Language_Get(ZenLib::Ztring const&, ZenLib::Ztring const&, bool) in libmediainfo.a(MediaInfo_Config.o)
      MediaInfoLib::File_Riff::AVI__Tdat_tc_A() in libmediainfo.a(File_Riff_Elements.o)
      MediaInfoLib::File_Riff::AVI__Tdat_tc_O() in libmediainfo.a(File_Riff_Elements.o)
      MediaInfoLib::File_Mpeg_Psi::ATSC_multiple_string_structure(ZenLib::Ztring&, char const*) in libmediainfo.a(File_Mpeg_Psi.o)
      MediaInfoLib::File_Mpeg_Descriptors::ATSC_multiple_string_structure(ZenLib::Ztring&, char const*) in libmediainfo.a(File_Mpeg_Descriptors.o)
  "std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long)", referenced from:
      MediaInfoLib::MediaInfo_Internal::Entry() in libmediainfo.a(MediaInfo_Internal.o)
      MediaInfoLib::File__Analyze::ForceFinish(char const*) in libmediainfo.a(File__Analyze.o)
      MediaInfoLib::File__Analyze::Fill(char const*) in libmediainfo.a(File__Analyze.o)
      MediaInfoLib::File__Analyze::Accept(char const*) in libmediainfo.a(File__Analyze.o)
      MediaInfoLib::element_details::Element_Node_Info::Element_Node_Info<char const*>(char const*, char const*, unsigned char) in libmediainfo.a(File__Analyze.o)
      MediaInfoLib::element_details::Element_Node_Info::Element_Node_Info<ZenLib::Ztring>(ZenLib::Ztring, char const*, unsigned char) in libmediainfo.a(File__Analyze.o)
      MediaInfoLib::element_details::Element_Node_Info::Element_Node_Info<std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > >(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, char const*, unsigned char) in libmediainfo.a(File__Analyze.o)
      ...
  "std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long, unsigned long)", referenced from:
      MediaInfoLib::DPX_DateTime2Iso(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in libmediainfo.a(File_Dpx.o)
      MediaInfoLib::File_Pdf::FileHeader_Parse() in libmediainfo.a(File_Pdf.o)
      MediaInfoLib::File_Pdf::Data_Parse() in libmediainfo.a(File_Pdf.o)
      MediaInfoLib::File_Pdf::Get_Next(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, ZenLib::Ztring&) in libmediainfo.a(File_Pdf.o)
      __ZN12MediaInfoLib18To_JSON_AttributesB5cxx11ERNS_4NodeERKi in libmediainfo.a(OutputHelpers.o)
  "std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find(char, unsigned long) const", referenced from:
      MediaInfoLib::DPX_DateTime2Iso(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in libmediainfo.a(File_Dpx.o)
      MediaInfoLib::File_Mpegv::Streams_Fill() in libmediainfo.a(File_Mpegv.o)
      MediaInfoLib::File_Pdf::xref() in libmediainfo.a(File_Pdf.o)
      MediaInfoLib::File_Pdf::Data_Parse() in libmediainfo.a(File_Pdf.o)
      MediaInfoLib::File_Pdf::Get_Next(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, ZenLib::Ztring&) in libmediainfo.a(File_Pdf.o)
      MediaInfoLib::File_Avc::ScanOrder_Detect(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) in libmediainfo.a(File_Avc.o)
      MediaInfoLib::File_Avc::GOP_Detect(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) in libmediainfo.a(File_Avc.o)
      ...
  "std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find_last_of(wchar_t const*, unsigned long, unsigned long) const", referenced from:
      MediaInfoLib::File__ReferenceFilesHelper::ParseReferences() in libmediainfo.a(File__ReferenceFilesHelper.o)
  "std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_erase(unsigned long, unsigned long)", referenced from:
      MediaInfoLib::File_Flv::meta_SCRIPTDATAVALUE(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in libmediainfo.a(File_Flv.o)
      MediaInfoLib::File_Avc::ScanOrder_Detect(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) in libmediainfo.a(File_Avc.o)
      MediaInfoLib::File_Avc::GOP_Detect(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) in libmediainfo.a(File_Avc.o)
      MediaInfoLib::File_Avc::slice_header() in libmediainfo.a(File_Avc.o)
  "std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find_first_of(char const*, unsigned long, unsigned long) const", referenced from:
      MediaInfoLib::File_Pdf::Get_Next(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, ZenLib::Ztring&) in libmediainfo.a(File_Pdf.o)
  "std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::resize(unsigned long, char)", referenced from:
      MediaInfoLib::File_Ttml::Read_Buffer_Continue() in libmediainfo.a(File_Ttml.o)
      MediaInfoLib::File_Mxf::Streams_Finish_Descriptor(ZenLib::uint128, ZenLib::uint128) in libmediainfo.a(File_Mxf.o)
      MediaInfoLib::File_Pdf::Get_Next(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, ZenLib::Ztring&) in libmediainfo.a(File_Pdf.o)
      MediaInfoLib::File_Avc::ScanOrder_Detect(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) in libmediainfo.a(File_Avc.o)
      MediaInfoLib::File_Avc::GOP_Detect(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) in libmediainfo.a(File_Avc.o)
      MediaInfoLib::element_details::Element_Node_Data::get_hexa_from_deci_limited_by_bits(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, unsigned char, unsigned char) in libmediainfo.a(File__Analyze_Element.o)
      MediaInfoLib::element_details::Element_Node::Print_Xml(MediaInfoLib::element_details::Element_Node::print_struc&) in libmediainfo.a(File__Analyze_Element.o)
      ...
  "std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find_first_not_of(char, unsigned long) const", referenced from:
      MediaInfoLib::File_Avc::ScanOrder_Detect(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) in libmediainfo.a(File_Avc.o)
      MediaInfoLib::File_Avc::GOP_Detect(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) in libmediainfo.a(File_Avc.o)
  "std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find_last_not_of(char, unsigned long) const", referenced from:
      MediaInfoLib::File_Avc::ScanOrder_Detect(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) in libmediainfo.a(File_Avc.o)
      MediaInfoLib::File_Avc::GOP_Detect(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) in libmediainfo.a(File_Avc.o)
  "std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::find(char const*, unsigned long, unsigned long) const", referenced from:
      MediaInfoLib::File_Mpegv::Streams_Fill() in libmediainfo.a(File_Mpegv.o)
      MediaInfoLib::File_Rm::MDPR() in libmediainfo.a(File_Rm.o)
      MediaInfoLib::File_Pdf::Get_Next(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, ZenLib::Ztring&) in libmediainfo.a(File_Pdf.o)
      MediaInfoLib::File_Avc::ScanOrder_Detect(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) in libmediainfo.a(File_Avc.o)
      MediaInfoLib::File_Mpega::Header_Encoders() in libmediainfo.a(File_Mpega.o)
      MediaInfoLib::File_Vc1::Streams_Fill() in libmediainfo.a(File_Vc1.o)
      MediaInfoLib::File__Tags_Helper::Synched_Test() in libmediainfo.a(File__Tags.o)
      ...
  "std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::str() const", referenced from:
      MediaInfoLib::File_Vc3::TimeCode() in libmediainfo.a(File_Vc3.o)
      MediaInfoLib::operator<<(std::ostream&, MediaInfoLib::element_details::Element_Node_Data const&) in libmediainfo.a(File__Analyze_Element.o)
      MediaInfoLib::element_details::Element_Node::Print_Tree_Cat(MediaInfoLib::element_details::Element_Node::print_struc&) in libmediainfo.a(File__Analyze_Element.o)
      MediaInfoLib::element_details::Element_Node::Print(MediaInfoLib::MediaInfo_Config::trace_Format, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long long) in libmediainfo.a(File__Analyze_Element.o)
  "std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream(std::_Ios_Openmode)", referenced from:
      MediaInfoLib::File_Vc3::TimeCode() in libmediainfo.a(File_Vc3.o)
      MediaInfoLib::element_details::Element_Node::Print_Tree_Cat(MediaInfoLib::element_details::Element_Node::print_struc&) in libmediainfo.a(File__Analyze_Element.o)
      MediaInfoLib::element_details::Element_Node::Print(MediaInfoLib::MediaInfo_Config::trace_Format, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long long) in libmediainfo.a(File__Analyze_Element.o)
  "VTT for std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >", referenced from:
      MediaInfoLib::File_Vc3::TimeCode() in libmediainfo.a(File_Vc3.o)
      MediaInfoLib::element_details::Element_Node::Print_Tree_Cat(MediaInfoLib::element_details::Element_Node::print_struc&) in libmediainfo.a(File__Analyze_Element.o)
      MediaInfoLib::element_details::Element_Node::Print(MediaInfoLib::MediaInfo_Config::trace_Format, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long long) in libmediainfo.a(File__Analyze_Element.o)
  "vtable for std::__cxx11::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >", referenced from:
      MediaInfoLib::File_Vc3::TimeCode() in libmediainfo.a(File_Vc3.o)
      MediaInfoLib::operator<<(std::ostream&, MediaInfoLib::element_details::Element_Node_Data const&) in libmediainfo.a(File__Analyze_Element.o)
      MediaInfoLib::element_details::Element_Node::Print_Tree_Cat(MediaInfoLib::element_details::Element_Node::print_struc&) in libmediainfo.a(File__Analyze_Element.o)
      MediaInfoLib::element_details::Element_Node::Print(MediaInfoLib::MediaInfo_Config::trace_Format, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long long) in libmediainfo.a(File__Analyze_Element.o)
  NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
  "std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct(unsigned long, char)", referenced from:
      __ZN12MediaInfoLib6To_XMLB5cxx11ERNS_4NodeERKi in libmediainfo.a(OutputHelpers.o)
      __ZN12MediaInfoLib18To_JSON_AttributesB5cxx11ERNS_4NodeERKi in libmediainfo.a(OutputHelpers.o)
      __ZN12MediaInfoLib16To_JSON_ElementsB5cxx11ERNS_4NodeERKi in libmediainfo.a(OutputHelpers.o)
      __ZN12MediaInfoLib7To_JSONB5cxx11ERNS_4NodeERKi in libmediainfo.a(OutputHelpers.o)
  "std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_construct(unsigned long, wchar_t)", referenced from:
      ZenLib::Ztring::Quote(wchar_t) in libzen.a(Ztring.o)
      MediaInfoLib::File_Bdmv::FileHeader_Begin() in libmediainfo.a(File_Bdmv.o)
      MediaInfoLib::File_Bdmv::Read_Buffer_Continue() in libmediainfo.a(File_Bdmv.o)
      MediaInfoLib::Reader_Directory::Format_Test(MediaInfoLib::MediaInfo_Internal*, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >) in libmediainfo.a(Reader_Directory.o)
      MediaInfoLib::Reader_Directory::Bdmv_Directory_Cleanup(ZenLib::ZtringList&) in libmediainfo.a(Reader_Directory.o)
      MediaInfoLib::Reader_Directory::P2_Directory_Cleanup(ZenLib::ZtringList&) in libmediainfo.a(Reader_Directory.o)
      MediaInfoLib::Reader_Directory::Xdcam_Directory_Cleanup(ZenLib::ZtringList&) in libmediainfo.a(Reader_Directory.o)
      ...
  "std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::resize(unsigned long, wchar_t)", referenced from:
      ZenLib::Ztring::operator()(unsigned long) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_CC1(unsigned char) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_CC2(unsigned short) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_Number(float, unsigned char, ZenLib::ztring_t) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_Number(double, unsigned char, ZenLib::ztring_t) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_Number(long double, unsigned char, ZenLib::ztring_t) in libzen.a(Ztring.o)
      ZenLib::Ztring::Date_From_String(char const*, unsigned long) in libzen.a(Ztring.o)
      ...
  "std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::compare(wchar_t const*) const", referenced from:
      ZenLib::Ztring::Compare(ZenLib::Ztring const&, ZenLib::Ztring const&, ZenLib::ztring_t) const in libzen.a(Ztring.o)
      MediaInfoLib::MediaInfo::Option_Static(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in libmediainfo.a(MediaInfo.o)
      MediaInfoLib::MediaInfo_Internal::Open(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in libmediainfo.a(MediaInfo_Internal.o)
      MediaInfoLib::MediaInfo_Internal::Entry() in libmediainfo.a(MediaInfo_Internal.o)
      MediaInfoLib::MediaInfo_Internal::Option(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in libmediainfo.a(MediaInfo_Internal.o)
      MediaInfoLib::MediaInfo_Internal::Get(MediaInfoLib::stream_t, unsigned long, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, MediaInfoLib::info_t, MediaInfoLib::info_t) in libmediainfo.a(MediaInfo_Internal.o)
      MediaInfoLib::MediaInfo_Config::Language_Set(ZenLib::ZtringListList const&) in libmediainfo.a(MediaInfo_Config.o)
      ...
  "std::__cxx11::basic_stringbuf<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::str() const", referenced from:
      ZenLib::Ztring::From_Number(unsigned short, unsigned char) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_Number(unsigned char, unsigned char) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_Number(signed char, unsigned char) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_Number(short, unsigned char) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_Number(int, unsigned char) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_Number(unsigned int, unsigned char) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_Number(long long, unsigned char) in libzen.a(Ztring.o)
      ...
  "std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_mutate(unsigned long, unsigned long, wchar_t const*, unsigned long)", referenced from:
      ZenLib::Ztring::From_UTF8(char const*) in libzen.a(Ztring.o)
      ZenLib::Ztring::Date_From_Milliseconds_1601(unsigned long long) in libzen.a(Ztring.o)
      MediaInfoLib::MediaInfo_Config::Option(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in libmediainfo.a(MediaInfo_Config.o)
      __ZN12MediaInfoLib22MediaInfoList_Internal6InformB5cxx11Emm in libmediainfo.a(MediaInfoList_Internal.o)
      ZenLib::ZtringListList::Write(ZenLib::Ztring const&) in libzen.a(ZtringListList.o)
      MediaInfoLib::File_Mpegv::group_start() in libmediainfo.a(File_Mpegv.o)
      MediaInfoLib::File_Mpegv::slice_start() in libmediainfo.a(File_Mpegv.o)
      ...
  "std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&, unsigned long)", referenced from:
      __ZNK6ZenLib6Ztring8To_LocalB5cxx11Ev in libzen.a(Ztring.o)
      MediaInfoLib::MediaInfo_Internal::Entry() in libmediainfo.a(MediaInfo_Internal.o)
      std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*) in libmediainfo.a(MediaInfo_Internal.o)
      MediaInfoLib::File__Analyze::Reject(char const*) in libmediainfo.a(File__Analyze.o)
      std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*) in libmediainfo.a(File__Analyze.o)
      MediaInfoLib::File__Analyze::GoTo(unsigned long long, char const*) in libmediainfo.a(File__Analyze.o)
      MediaInfoLib::File__Analyze::GoToFromEnd(unsigned long long, char const*) in libmediainfo.a(File__Analyze.o)
      ...
  "std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_erase(unsigned long, unsigned long)", referenced from:
      ZenLib::Ztring::Date_From_String(char const*, unsigned long) in libzen.a(Ztring.o)
      MediaInfoLib::MediaInfo_Internal::Option(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) in libmediainfo.a(MediaInfo_Internal.o)
      MediaInfoLib::Xml_Name_Escape_0_7_78(ZenLib::Ztring const&) in libmediainfo.a(MediaInfo_Inform.o)
      MediaInfoLib::MediaInfo_Internal::Inform(MediaInfoLib::stream_t, unsigned long, bool) in libmediainfo.a(MediaInfo_Inform.o)
      MediaInfoLib::MediaInfo_Internal::Xml_Name_Escape(ZenLib::Ztring const&) in libmediainfo.a(MediaInfo_Inform.o)
      MediaInfoLib::File_Mpegv::user_data_start() in libmediainfo.a(File_Mpegv.o)
      MediaInfoLib::File_Mpeg4v::user_data_start() in libmediainfo.a(File_Mpeg4v.o)
      ...
  "std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_mutate(unsigned long, unsigned long, char const*, unsigned long)", referenced from:
      __ZNK6ZenLib6Ztring7To_UTF8B5cxx11Ev in libzen.a(Ztring.o)
      __ZNK6ZenLib6Ztring8To_LocalB5cxx11Ev in libzen.a(Ztring.o)
      MediaInfoLib::File_Mpegv::group_start() in libmediainfo.a(File_Mpegv.o)
      MediaInfoLib::File_Rm::RJMD_property(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) in libmediainfo.a(File_Rm.o)
      MediaInfoLib::File_Mxf::Streams_Finish_Descriptor(ZenLib::uint128, ZenLib::uint128) in libmediainfo.a(File_Mxf.o)
      MediaInfoLib::File_Mxf::SystemScheme1_TimeCodeArray() in libmediainfo.a(File_Mxf.o)
      MediaInfoLib::File_DvDif::timecode() in libmediainfo.a(File_DvDif.o)
      ...
  "std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_append(char const*, unsigned long)", referenced from:
      __ZNK6ZenLib6Ztring7To_UTF8B5cxx11Ev in libzen.a(Ztring.o)
      __ZNK6ZenLib6Ztring8To_LocalB5cxx11Ev in libzen.a(Ztring.o)
      MediaInfoLib::MediaInfo_Internal::Entry() in libmediainfo.a(MediaInfo_Internal.o)
      std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*) in libmediainfo.a(MediaInfo_Internal.o)
      std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in libmediainfo.a(MediaInfo_Internal.o)
      std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, char const*) in libmediainfo.a(File__Analyze.o)
      std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in libmediainfo.a(File__Analyze.o)
      ...
  "std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned long)", referenced from:
      __ZNK6ZenLib6Ztring7To_UTF8B5cxx11Ev in libzen.a(Ztring.o)
      std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in libmediainfo.a(MediaInfo_Internal.o)
      Base64::encode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in libmediainfo.a(MediaInfo_Inform.o)
      std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in libmediainfo.a(File__Analyze.o)
      Base64::encode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in libmediainfo.a(File_Flv.o)
      Base64::encode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in libmediainfo.a(File_Mk.o)
      std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in libmediainfo.a(File_Mxf.o)
      ...
  "std::__cxx11::basic_stringstream<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_stringstream(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::_Ios_Openmode)", referenced from:
      ZenLib::Ztring::To_int8s(unsigned char, ZenLib::ztring_t) const in libzen.a(Ztring.o)
      ZenLib::Ztring::To_float80(ZenLib::ztring_t) const in libzen.a(Ztring.o)
      ZenLib::Ztring::To_int8u(unsigned char, ZenLib::ztring_t) const in libzen.a(Ztring.o)
      ZenLib::Ztring::To_float32(ZenLib::ztring_t) const in libzen.a(Ztring.o)
      ZenLib::Ztring::To_int16s(unsigned char, ZenLib::ztring_t) const in libzen.a(Ztring.o)
      ZenLib::Ztring::To_int16u(unsigned char, ZenLib::ztring_t) const in libzen.a(Ztring.o)
      ZenLib::Ztring::To_int32s(unsigned char, ZenLib::ztring_t) const in libzen.a(Ztring.o)
      ...
  "std::__cxx11::basic_ostringstream<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_ostringstream(std::_Ios_Openmode)", referenced from:
      ZenLib::Ztring::From_Number(unsigned short, unsigned char) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_Number(unsigned char, unsigned char) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_Number(signed char, unsigned char) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_Number(short, unsigned char) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_Number(int, unsigned char) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_Number(unsigned int, unsigned char) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_Number(long long, unsigned char) in libzen.a(Ztring.o)
      ...
  "std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace_aux(unsigned long, unsigned long, unsigned long, char)", referenced from:
      ZenLib::Ztring::From_CC4(unsigned int) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_CC3(unsigned int) in libzen.a(Ztring.o)
      Base64::encode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in libmediainfo.a(MediaInfo_Inform.o)
      MediaInfoLib::DPX_DateTime2Iso(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in libmediainfo.a(File_Dpx.o)
      MediaInfoLib::File_Dpx::GenericSectionHeader_Cineon() in libmediainfo.a(File_Dpx.o)
      Base64::encode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in libmediainfo.a(File_Flv.o)
      MediaInfoLib::File_Flv::meta_SCRIPTDATAVALUE(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) in libmediainfo.a(File_Flv.o)
      ...
  "VTT for std::__cxx11::basic_ostringstream<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >", referenced from:
      ZenLib::Ztring::From_Number(unsigned short, unsigned char) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_Number(unsigned char, unsigned char) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_Number(signed char, unsigned char) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_Number(short, unsigned char) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_Number(int, unsigned char) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_Number(unsigned int, unsigned char) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_Number(long long, unsigned char) in libzen.a(Ztring.o)
      ...
  "VTT for std::__cxx11::basic_stringstream<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >", referenced from:
      ZenLib::Ztring::To_int8s(unsigned char, ZenLib::ztring_t) const in libzen.a(Ztring.o)
      ZenLib::Ztring::To_float80(ZenLib::ztring_t) const in libzen.a(Ztring.o)
      ZenLib::Ztring::To_int8u(unsigned char, ZenLib::ztring_t) const in libzen.a(Ztring.o)
      ZenLib::Ztring::To_float32(ZenLib::ztring_t) const in libzen.a(Ztring.o)
      ZenLib::Ztring::To_int16s(unsigned char, ZenLib::ztring_t) const in libzen.a(Ztring.o)
      ZenLib::Ztring::To_int16u(unsigned char, ZenLib::ztring_t) const in libzen.a(Ztring.o)
      ZenLib::Ztring::To_int32s(unsigned char, ZenLib::ztring_t) const in libzen.a(Ztring.o)
      ...
  "vtable for std::__cxx11::basic_stringbuf<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >", referenced from:
      ZenLib::Ztring::From_Number(unsigned short, unsigned char) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_Number(unsigned char, unsigned char) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_Number(signed char, unsigned char) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_Number(short, unsigned char) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_Number(int, unsigned char) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_Number(unsigned int, unsigned char) in libzen.a(Ztring.o)
      ZenLib::Ztring::From_Number(long long, unsigned char) in libzen.a(Ztring.o)
      ...
  NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
  "std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::find_first_of(wchar_t const*, unsigned long, unsigned long) const", referenced from:
      ZenLib::ZtringListList::Write(ZenLib::Ztring const&) in libzen.a(ZtringListList.o)
      ZenLib::ZtringList::Read() const in libzen.a(ZtringList.o)
      MediaInfoLib::File_Hls::FileHeader_Begin() in libmediainfo.a(File_Hls.o)
      MediaInfoLib::File_Hevc::sei_message_user_data_unregistered_Ateme(unsigned int) in libmediainfo.a(File_Hevc.o)
  "std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::swap(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >&)", referenced from:
      ZenLib::ZtringListList::Swap1(unsigned long, unsigned long) in libzen.a(ZtringListList.o)
      ZenLib::ZtringList::Swap(unsigned long, unsigned long) in libzen.a(ZtringList.o)
  "std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()", referenced from:
      __GLOBAL__sub_I_Http_Utils.cpp in libzen.a(Http_Utils.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [mediainfo] Error 1
Problem while compiling MediaInfo (CLI)

Attachments (1)

main.log (453.0 KB) - added by ballapete (Peter "Pete" Dyballa) 7 years ago.

Download all attachments as: .zip

Change History (12)

Changed 7 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

comment:1 Changed 7 years ago by kencu (Ken)

Yet another build that does not specify the -stdlib=libc++ on the build line, so your system adds the wrong one by default. It's probably the cause of this error.

builds fine for me, with my slightly modified clang-3.9:

$ port -v installed mediainfo
The following ports are currently installed:
  mediainfo @0.7.98_0 (active) platform='darwin 10' archs='x86_64' date='2017-10-22T16:43:30-0700'

Try this fix:

configure.cxxflags-append  -stdlib=libc++
configure.ldflags-append   -stdlib=libc++

If that doesn't fix it, you could try the fix I used in botan:

# add the selected -stdlib to clang builds
# see https://trac.macports.org/ticket/53123
if {[string match *clang* ${configure.cxx}]} {
    configure.cxx ${configure.cxx} -stdlib=${configure.cxx_stdlib}
}

If you get tired of doing this, the slightly modified clang-3.9 I use is available here <https://github.com/kencu/SnowLeopardPorts/tree/master/lang/llvm-3.9> and the working part is this tiny patch, that makes clang-3.9 deliver -stdlib=libc++ if there is none specified on the build line, instead of -stdlib=libstdc++ as it is doing for you now.

comment:2 Changed 7 years ago by mf2k (Frank Schima)

Cc: ctreleaven@… removed
Owner: set to ctreleaven
Status: newassigned

comment:3 in reply to:  1 Changed 7 years ago by ballapete (Peter "Pete" Dyballa)

It's not that easy… The mediainfo package has:

 28 use_configure       no
 29 
 30 variant universal {}
 31 
 32 build.cmd           ./CLI_Compile.sh
 33 build.target
 34 build.args          --prefix=${prefix}
 35 build.env           CC="${configure.cc} [get_canonical_archflags cc]" \
 36                     CPP="${configure.cc} -E" \
 37                     CXX="${configure.cxx} [get_canonical_archflags cxx]" \
 38                     CXXCPP="${configure.cxx} -E" \
 39                     numprocs=${build.jobs}

By trial and error build succeeded with:

 36                     CPP="${configure.cc} -E" \
 37                     CXX="${configure.cxx} [get_canonical_archflags cxx] -stdlib=libc++" \
 38                     LD="${configure.ldflags} -stdlib=libc++" \
 39                     CXXCPP="${configure.cxx} -E" \

And the best thing: Mediainfo works on the command line!

Can be closed as solved (works for me now, saved in local tree).

comment:4 Changed 7 years ago by kencu (Ken)

Peter, that's essentially the botan fix I mentioned:

# add the selected -stdlib to clang builds
# see https://trac.macports.org/ticket/53123
if {[string match *clang* ${configure.cxx}]} {
    configure.cxx ${configure.cxx} -stdlib=${configure.cxx_stdlib}
}

Could you try that please, and if you confirm it works, we can add it to the Portfile.

comment:5 in reply to:  4 ; Changed 7 years ago by ballapete (Peter "Pete" Dyballa)

Replying to kencu:

Could you try that please, and if you confirm it works, we can add it to the Portfile.

Yes, the mediainfo binary works very well from the command line.

comment:6 in reply to:  5 ; Changed 7 years ago by kencu (Ken)

Replying to ballapete:

Yes, the mediainfo binary works very well from the command line.

OK. I'll check whether this block works on one of my systems.

# add the selected -stdlib to clang builds

if {[string match *clang* ${configure.cxx}]} {
    configure.cxx ${configure.cxx} -stdlib=${configure.cxx_stdlib}
}

comment:7 Changed 7 years ago by kencu (Ken)

Looks like this is a bit more compilicated. This link line:

libtool: link: /opt/local/bin/clang++-mp-3.9 -arch x86_64 -mmacosx-version-min=10.5 -O2 -DUNICODE -DUNICODE -DSIZE_T_IS_LONG -mmacosx-version-min=10.5 -o mediainfo CLI_Main.o CommandLine_Parser.o Help.o Core.o  -framework CoreFoundation /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_multimedia_mediainfo/mediainfo/work/MediaInfo_CLI_GNU_FromSource/MediaInfoLib/Project/GNU/Library/.libs/libmediainfo.a -lz /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_multimedia_mediainfo/mediainfo/work/MediaInfo_CLI_GNU_FromSource/ZenLib/Project/GNU/Library/.libs/libzen.a -lpthread -lstdc++

hardcodes a link to -lstdc++ as the final entry. That should not happen. We'll have to dig in a bit here and see why that is happening.

comment:8 in reply to:  7 Changed 7 years ago by ballapete (Peter "Pete" Dyballa)

Did you copy&paste the proper line or did you misread it? I see that two static libraries from the package are linked to the binary and that two shared libraries are mentioned. None of them is given as a complete pathname. Me, amateur by profession, wouldn't call that "hardcoded."

comment:9 in reply to:  6 Changed 7 years ago by ctreleaven (Craig Treleaven)

Replying to kencu:

Replying to ballapete:

Yes, the mediainfo binary works very well from the command line.

OK. I'll check whether this block works on one of my systems.

# add the selected -stdlib to clang builds

if {[string match *clang* ${configure.cxx}]} {
    configure.cxx ${configure.cxx} -stdlib=${configure.cxx_stdlib}
}

Hmm, build immediately fails for me on Yosemite with the following:

libtool: compile:  /usr/bin/clang++ -stdlib=libc++ -arch x86_64 -DPACKAGE_NAME=\"libzen\" -DPACKAGE_TARNAME=\"libzen\" -DPACKAGE_VERSION=\"0.4.37\" "-DPACKAGE_STRING=\"libzen 0.4.37\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libzen\" -DVERSION=\"0.4.37\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I../../../Source -mmacosx-version-min=10.5 -g -O2 -DUNICODE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DSIZE_T_IS_LONG -DSTREAM_MISSING -fPIC -O2 -MT ../../../Source/ZenLib/Dir.lo -MD -MP -MF ../../../Source/ZenLib/.deps/Dir.Tpo -c ../../../Source/ZenLib/Dir.cpp -o ../../../Source/ZenLib/Dir.o
[...]
clang: error: invalid deployment target for -stdlib=libc++ (requires OS X 10.7 or later)

This is building with the newly-released version 17.10.

comment:10 Changed 7 years ago by kencu (Ken)

Apple's /usr/bin/clang will restrict you to libstdc++ with a deployment target of 10.6 or earlier (because that system doesn't natively have libc++ installed).

macPorts-installed clangs don't have this restriction.

So if you're building with libc++, either the -mmacosx-version-min=10.5 will have to be changed to 10.7 or greater, or you'll need to use a MacPorts-installed clang

comment:11 Changed 6 years ago by ctreleaven (Craig Treleaven)

Resolution: wontfix
Status: assignedclosed
Note: See TracTickets for help on using tickets.