Problem compiling VLC contrib x86_64 in Mac OSX SL

macOS specific usage questions
diegofn
Blank Cone
Blank Cone
Posts: 48
Joined: 06 Mar 2008 17:34

Problem compiling VLC contrib x86_64 in Mac OSX SL

Postby diegofn » 22 May 2010 20:34

Hi

I'm compiling the VLC Contrib for intel64 architectures and I receive the following message in ffmpeg.

touch .gsm
(cd ffmpeg; CC="/Developer/usr/bin/gcc-4.2" CXX="/Developer/usr/bin/g++-4.2" LD="ld" RANLIB="ranlib" AR="ar" STRIP="strip" ./configure --prefix=/Users/diegofn/Documents/vlc/vlc-1.1/extras/contrib/hosts/x86_64-apple-darwin* --extra-cflags="-I/Users/diegofn/Documents/vlc/vlc-1.1/extras/contrib/hosts/x86_64-apple-darwin*/include -march=core2 -mtune=core2 -m64 -arch x86_64 -DMACOSX_DEPLOYMENT_TARGET=10.5 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -DNDEBUG -isystem /Users/diegofn/Documents/vlc/vlc-1.1/extras/contrib/hosts/x86_64-apple-darwin*/include -DHAVE_LRINTF" --extra-ldflags="-L/Users/diegofn/Documents/vlc/vlc-1.1/extras/contrib/hosts/x86_64-apple-darwin*/lib -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.5.sdk -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5" --cross-prefix=x86_64-apple-darwin*- --enable-cross-compile --enable-libmp3lame --enable-libgsm --enable-memalign-hack --cc=/Developer/usr/bin/gcc-4.2 --arch=x86_64 --cpu=core2 --disable-debug --enable-gpl --enable-postproc --disable-ffserver --disable-ffmpeg --disable-ffplay --disable-devices --disable-protocols --disable-filters --disable-network --disable-shared --enable-static && make && make install-libs install-headers)
Must specify target arch and OS when cross-compiling

If you think configure made a mistake, make sure you are using the latest
version from SVN. If the latest version fails, report the problem to the
ffmpeg-user@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.err" produced by configure as this will help
solving the problem.
make[1]: *** [.ffmpeg] Error 1
make: *** [using-src] Error 2

Can you help me? I think that you forget any flag in the configure script.

Thanks for all!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Problem compiling VLC contrib x86_64 in Mac OSX SL

Postby Jean-Baptiste Kempf » 23 May 2010 12:23

Come on IRC to discuss with us.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

fkuehne
Developer
Developer
Posts: 7200
Joined: 16 Mar 2004 19:37
VLC version: 0.4.6 - present
Operating System: Darwin
Location: Germany
Contact:

Re: Problem compiling VLC contrib x86_64 in Mac OSX SL

Postby fkuehne » 23 May 2010 22:22

Edit config.mak in extras/contrib and make sure both BUILD and HOST is set to "x86_64-apple-darwin10" to work-around this limitation in ffmpeg's build system.
VideoLAN
Felix Paul Kühne
Medic. VLC developer for appleOS since before you were born.
Blog: https://www.feepk.net


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 8 guests