[vlc-devel] Compiler problem on OS X

Brian Weaver cmdrclueless at gmail.com
Sun Dec 27 00:54:51 CET 2009

I'm trying to compile head and I've run into some problems. I've
looked at the commit log and cannot figure out what has changed that
now prevents me from doing a normal build. I've been able to build
fine for the last few days. After my latest pull of git code my build
is broken with linker errors. I get the following errors in

Extracting /Users/weave/Documents/development/VLC/vlc.git/modules/video_output/../../compat/.libs/libcompat.a
(cd .libs/libopengllayer_plugin.lax/libcompat.a && ar x
/Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 -isysroot
/Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5  -o
.libs/libopengllayer_plugin.dylib -bundle
-lpthread ../../src/.libs/libvlccore.dylib
/usr/lib/libiconv.dylib  -mmacosx-version-min=10.5 -march=prescott
-mtune=generic -arch i386 -Wl,-framework -Wl,QuartzCore -Wl,-framework
-Wl,OpenGL -arch i386 -Wl,-headerpad_max_install_names
Undefined symbols:
  ".objc_class_name_NSAutoreleasePool", referenced from:
      literal-pointer at __OBJC@__cls_refs at NSAutoreleasePool in
  ".objc_class_name_NSValue", referenced from:
      literal-pointer at __OBJC@__cls_refs at NSValue in
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [libopengllayer_plugin.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I've done a 'git clean -d -f -x' at least once to make sure that I
have a pristine repository. I'm also certain I'm using the same build
commands I've been using for 2 weeks since I put them in a script.

Any pointers would be appreciated.

-- Weave


/* insert witty comment here */

More information about the vlc-devel mailing list