[vlc-devel] Issues building VLC on MacOS X
Andre-John Mas
ajmas at sympatico.ca
Tue Aug 11 03:23:37 CEST 2009
On 10-Aug-2009, at 20:49, Andre-John Mas wrote:
>
> On 9-Aug-2009, at 12:13, Felix Paul Kühne wrote:
>
>> Hi Andre-John,
>>
>> you seem to run "make VLC-release.app" before running "make"
>> itself. This is not supported right now (although it could be
>> easily fixed) and therefore your build lacks libcompat. Just run
>> "make" and _then_ "make VLC-release.app" as suggested by the wiki
>> article.
>
> Hi Felix,
>
> I am still running into issues. I have posted the complete build
> output here:
>
> http://ajmas.dyndns.org/shared/vlcbuild-20090810.txt
>
Looks like the issue is related to the libtool version. I tried
replacing the generated libtool in the vlc-1.0.1 project folder with a
symbolic link to the version (2.2.6) provided by MacPorts. This
results in the build taking place, only to fail later at:
/bin/sh ../../../libtool --tag=CC --mode=link /Developer/usr/bin/
llvm-gcc-4.2 -std=gnu99 -isysroot /Developer/SDKs/MacOSX10.5.sdk -
mmacosx-version-min=10.5 `top_srcdir="../../.."
top_builddir="../../.." ../../../vlc-config --cflags plugin
librtp_plugin.la` -I../../../libs/srtp -I/Users/ajmas/Development/
third-party/vlc-1.0.1/./extras/contrib/include -D_INTL_REDIRECT_MACROS
-DMACOSX_DEPLOYMENT_TARGET=10.5 -Wall -Wextra -Wsign-compare -Wundef -
Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -
Wmissing-prototypes -Wvolatile-register-var -Werror-implicit-function-
declaration -rpath '/Users/ajmas/Development/third-party/vlc-1.0.1/
vlc_install_dir/lib/vlc/access' -avoid-version -module -export-symbol-
regex ^vlc_entry -shrext .dylib -no-undefined `top_srcdir="../../.."
top_builddir="../../.." ../../../vlc-config --ldflags plugin
librtp_plugin.la` -L/opt/local/lib -L/usr/lib -L/usr/local/lib -L/
Users/ajmas/Development/third-party/vlc-1.0.1/./extras/contrib/lib -
Wl,-headerpad_max_install_names -o librtp_plugin.la -rpath /Users/
ajmas/Development/third-party/vlc-1.0.1/vlc_install_dir/lib/vlc/access
librtp_plugin_la-rtp.lo librtp_plugin_la-input.lo librtp_plugin_la-
session.lo `top_srcdir="../../.." top_builddir="../../.." ../../../vlc-
config -libs plugin librtp_plugin.la` ../../../src/
libvlccore.la ../../../compat/libcompat.la ../../../libs/srtp/
libvlc_srtp.la
libtool: link: (cd .libs/librtp_plugin.lax/libcompat.a && ar x "/Users/
ajmas/Development/third-party/vlc-1.0.1/modules/access/rtp/../../../
compat/.libs/libcompat.a")
libtool: link: (cd .libs/librtp_plugin.lax/libvlc_srtp.a && ar x "/
Users/ajmas/Development/third-party/vlc-1.0.1/modules/access/
rtp/../../../libs/srtp/.libs/libvlc_srtp.a")
libtool: link: /usr/bin/gcc-4.0 -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.1/./extras/contrib/lib ../../../src/.libs/libvlccore.dylib -
L///Users/ajmas/Development/third-party/vlc-1.0.1/extras/contrib/lib -
lm /opt/local/lib/libgcrypt.dylib /opt/local/lib/libgpg-error.dylib /
opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib -lc -
lpthread -isysroot /Developer/SDKs/MacOSX10.5.sdk -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
André-John
More information about the vlc-devel
mailing list