config.status: creating lib/libvlc.pc
ld: warning: cannot export hidden symbol _libvlc_media_new_from_input_item from .libs/media.o
ld: warning: cannot export hidden symbol _libvlc_media_set_state from .libs/media.o
ld: warning: cannot export hidden symbol _libvlc_get_input_thread from .libs/media_player.o
ld: warning: cannot export hidden symbol _libvlc_media_list_add_file_content from .libs/media_list.o
Making all in bin
OBJC vlc_osx-darwinvlc.o
CC rootwrap.o
OBJC vlc_osx_static-darwinvlc.o
CC cachegen.o
CCLD vlc-cache-gen
CCLD vlc-wrapper
GEN ../modules/plugins.dat
Cross-compilation: cache generation skipped!
OBJCLD vlc-osx
OBJCLD vlc-osx-static
Undefined symbols for architecture x86_64:
"_aligned_alloc", referenced from:
_AllocatePicture in libvlccore.a(picture.o)
_picture_pool_NewExtended in libvlccore.a(picture_pool.o)
"_libintl_bind_textdomain_codeset", referenced from:
_vlc_bindtextdomain in libvlccore.a(textdomain.o)
"_libintl_bindtextdomain", referenced from:
_vlc_bindtextdomain in libvlccore.a(textdomain.o)
"_libintl_dgettext", referenced from:
_module_gettext in libvlccore.a(modules.o)
_vlc_gettext in libvlccore.a(textdomain.o)
"_libintl_dngettext", referenced from:
_vlc_ngettext in libvlccore.a(textdomain.o)
"_memrchr", referenced from:
_vlc_uri_remove_dot_segments in libvlccore.a(url.o)
"_timespec_get", referenced from:
_NTPtime64 in libvlccore.a(mtime.o)
_vout_snapshot_SaveImage in libvlccore.a(snapshot.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[2]: *** [vlc-osx-static] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
When I compile for the OSX I got this error, need help!
here is my config options:
../extras/package/macosx/configure.sh --enable-debug --host=x86_64-apple-darwin15 --with-macosx-version-min=10.10 --enable-static