Skip to content

Instantly share code, notes, and snippets.

@gmanley
Created February 24, 2011 04:09
Show Gist options
  • Save gmanley/841734 to your computer and use it in GitHub Desktop.
Save gmanley/841734 to your computer and use it in GitHub Desktop.
Mac OSX 10.6 VLC Build Error
[Gray][~/source/vlc] ∴ ./configure \
continue > --build=x86_64-apple-darwin10 \
continue > --disable-debug \
continue > --with-tuning=core2
checking build system type... x86_64-apple-darwin10
checking host system type... x86_64-apple-darwin10
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
....
libvlc configuration
--------------------
version : 1.2.0-git
system : darwin
architecture : x86_64 mmx sse sse2
build flavour :
vlc aliases : cvlc rvlc nvlc
plugins/bindings :
You can tune the compiler flags in vlc-config.
To build vlc and its plugins, type ./compile' or make'.
[Gray][~/source/vlc] ∴ uname -a
Darwin Grays-iMac.local 10.6.0 Darwin Kernel Version 10.6.0: Wed Nov 10 18:11:58 PST 2010; root:xnu-1504.9.26~3/RELEASE_X86_64 x86_64
[Gray][~/source/vlc] ∴ make -j4
export MACOSX_DEPLOYMENT_TARGET=10.5
make all-recursive
.....
Making all in macosx_dialog_provider
make all-am
OBJC libmacosx_dialog_provider_plugin_la-VLCLoginPanel.lo
OBJC libmacosx_dialog_provider_plugin_la-VLCProgressPanel.lo
OBJC libmacosx_dialog_provider_plugin_la-VLCUIWidgets.lo
OBJC libmacosx_dialog_provider_plugin_la-dialogProvider.lo
OBJCLD libmacosx_dialog_provider_plugin.la
libtool: link: warning: `/Users/Gray/source/vlc/./extras/contrib/hosts/x86_64-apple-darwin10/lib/libintl.la' seems to be moved
libtool: link: warning: `/Users/Gray/source/vlc/extras/contrib/hosts/x86_64-apple-darwin10/lib/libiconv.la' seems to be moved
libtool: link: warning: `/Users/Gray/source/vlc/./extras/contrib/hosts/x86_64-apple-darwin10/lib/libiconv.la' seems to be moved
libtool: link: warning: `/Users/Gray/source/vlc/extras/contrib/hosts/x86_64-apple-darwin10/lib/libiconv.la' seems to be moved
/usr/bin/nm: no name list
/usr/bin/nm: no name list
ld: duplicate symbol l_objc_msgSendSuper2_fixup_initWithContentRect_styleMask_backing_defer_ in .libs/libmacosx_dialog_provider_plugin_la-VLCProgressPanel.o and .libs/libmacosx_dialog_provider_plugin_la-VLCLoginPanel.o
collect2: ld returned 1 exit status
make[6]: *** [libmacosx_dialog_provider_plugin.la] Error 1
make[5]: *** [all] Error 2
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
export CC="/Developer/usr/bin/llvm-gcc-4.2"
export CXX="/Developer/usr/bin/llvm-g++-4.2"
export OBJC="/Developer/usr/bin/llvm-gcc-4.2"
git clean -xfd
git pull
cd extras/contrib
./bootstrap -t x86_64-apple-darwin10
make
cd ../../
./bootstrap
./configure \
--build=x86_64-apple-darwin10 \
--disable-debug \
--with-tuning=core2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment