[vlc-devel] Build failure of VLC 1.0.0-rc4 on MacOS X

Andre-John Mas andrejohn.mas at gmail.com
Thu Jun 25 05:53:18 CEST 2009


Hi,

I am trying to build VLC on MacOS X 10.5.7 Intel, following the  
instructions here in the quick steps:

http://wiki.videolan.org/OSXCompile

and I get a build failure:

rm -fr .libs/librtp_plugin.lax/libvlc_srtp.a
mkdir .libs/librtp_plugin.lax/libvlc_srtp.a
Extracting /Users/ajmas/Development/third-party/vlc-1.0.0-rc4/modules/ 
access/rtp/../../../libs/srtp/.libs/libvlc_srtp.a
(cd .libs/librtp_plugin.lax/libvlc_srtp.a && ar x /Users/ajmas/ 
Development/third-party/vlc-1.0.0-rc4/modules/access/rtp/../../../libs/ 
srtp/.libs/libvlc_srtp.a)
/Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 -isysroot /Developer/SDKs/ 
MacOSX10.5.sdk -mmacosx-version-min=10.5  -o .libs/librtp_plugin.dylib  
-bundle  .libs/librtp_plugin_la-rtp.o .libs/librtp_plugin_la- 
input.o .libs/librtp_plugin_la-session.o  .libs/librtp_plugin.lax/ 
libcompat.a/strndup.o .libs/librtp_plugin.lax/libcompat.a/ 
strnlen.o  .libs/librtp_plugin.lax/libvlc_srtp.a/srtp.o   -L/opt/local/ 
lib -L/usr/lib -L/usr/local/lib -L/Users/ajmas/Development/third-party/ 
vlc-1.0.0-rc4/./extras/contrib/lib ../../../src/.libs/libvlccore.dylib  
-L///Users/ajmas/Development/third-party/vlc-1.0.0-rc4/extras/contrib/ 
lib /usr/lib/libpthread.dylib /usr/lib/libm.dylib /usr/lib/libc.dylib / 
opt/local/lib/libgcrypt.dylib /opt/local/lib/libgpg-error.dylib /opt/ 
local/lib/libintl.dylib /opt/local/lib/libiconv.dylib -lc -lpthread  - 
mmacosx-version-min=10.5 -march=pentium-m -mtune=prescott -Wl,- 
headerpad_max_install_names
Undefined symbols:
   "_gcry_cipher_setkey", referenced from:
       _proto_derive in srtp.o
       _srtp_derive in srtp.o
   "_gcry_cipher_setctr", referenced from:
       _ctr_crypt in srtp.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[6]: *** [librtp_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

Any ideas?

André-John


More information about the vlc-devel mailing list