[vlc-devel] PATCH: Compiler problem on OS X

Brian Weaver cmdrclueless at gmail.com
Sun Dec 27 01:55:36 CET 2009


Fixed it.

On Sat, Dec 26, 2009 at 6:54 PM, Brian Weaver <cmdrclueless at gmail.com> wrote:
> 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
> modules/video_output.
>
> Extracting /Users/weave/Documents/development/VLC/vlc.git/modules/video_output/../../compat/.libs/libcompat.a
> (cd .libs/libopengllayer_plugin.lax/libcompat.a && ar x
> /Users/weave/Documents/development/VLC/vlc.git/modules/video_output/../../compat/.libs/libcompat.a)
> /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
> .libs/libopengllayer_plugin_la-opengllayer.o
> .libs/libopengllayer_plugin.lax/libcompat.a/strndup.o
> .libs/libopengllayer_plugin.lax/libcompat.a/strnlen.o
> .libs/libopengllayer_plugin.lax/libcompat.a/tdestroy.o
> -L/Users/weave/Documents/development/VLC/vlc.git/./extras/contrib/hosts/i686-apple-darwin10/lib
> -lpthread ../../src/.libs/libvlccore.dylib
> -L///Users/weave/Documents/development/VLC/vlc.git/extras/contrib/hosts/i686-apple-darwin10/lib
> ///Users/weave/Documents/development/VLC/vlc.git/extras/contrib/hosts/i686-apple-darwin10/lib/libintl.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
> libopengllayer_plugin_la-opengllayer.o
>  ".objc_class_name_NSValue", referenced from:
>      literal-pointer at __OBJC@__cls_refs at NSValue in
> libopengllayer_plugin_la-opengllayer.o
> 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 */
>



-- 

/* insert witty comment here */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fixes-a-build-error-on-OS-X.patch
Type: application/octet-stream
Size: 1009 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20091226/952ebb86/attachment.obj>


More information about the vlc-devel mailing list