{"id":5012,"date":"2014-03-30T17:52:14","date_gmt":"2014-03-30T17:52:14","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/unable-to-compile-i386-compatible-ffmpeg-dylibs-on-mac-os-x-collection-of-common-programming-errors\/"},"modified":"2014-03-30T17:52:14","modified_gmt":"2014-03-30T17:52:14","slug":"unable-to-compile-i386-compatible-ffmpeg-dylibs-on-mac-os-x-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/unable-to-compile-i386-compatible-ffmpeg-dylibs-on-mac-os-x-collection-of-common-programming-errors\/","title":{"rendered":"Unable to compile i386 compatible ffmpeg dylibs on Mac OS X-Collection of common programming errors"},"content":{"rendered":"<p>I&#8217;m running 64-bit Lion but I need to compile a 32-bit version of ffmpeg because another library I&#8217;m using is only available as 32-bit. I&#8217;ve tried a number of different configurations but they&#8217;re all giving me errors. Here&#8217;s what I&#8217;ve tried:<\/p>\n<blockquote>\n<p>.\/configure &#8211;disable-static &#8211;enable-shared &#8211;disable-outdev=sdl &#8211;disable-bzlib &#8211;disable-libfreetype &#8211;disable-libopenjpeg &#8211;enable-zlib &#8211;enable-runtime-cpudetect &#8211;arch=i386 &#8211;extra-cflags=&#8221;-arch i386&#8243; &#8211;extra-ldflags=&#8221;-arch i386&#8243; &#8211;target-os=darwin &#8211;enable-cross-compile<\/p>\n<p>.\/configure &#8211;disable-static &#8211;enable-shared &#8211;disable-outdev=sdl &#8211;disable-bzlib &#8211;disable-libfreetype &#8211;disable-libopenjpeg &#8211;enable-zlib &#8211;enable-runtime-cpudetect &#8211;arch=i386 &#8211;extra-cflags=&#8221;-arch i386&#8243; &#8211;extra-ldflags=&#8221;-arch i386&#8243;<\/p>\n<p>.\/configure &#8211;disable-static &#8211;enable-shared &#8211;disable-outdev=sdl &#8211;disable-bzlib &#8211;disable-libfreetype &#8211;disable-libopenjpeg &#8211;enable-zlib &#8211;enable-runtime-cpudetect &#8211;arch=x86_32<\/p>\n<\/blockquote>\n<p>I either get a &#8220;ran out of registers during register allocation&#8221; error during make or gcc complains that cross-compile is not active.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m running 64-bit Lion but I need to compile a 32-bit version of ffmpeg because another library I&#8217;m using is only available as 32-bit. I&#8217;ve tried a number of different configurations but they&#8217;re all giving me errors. Here&#8217;s what I&#8217;ve tried: .\/configure &#8211;disable-static &#8211;enable-shared &#8211;disable-outdev=sdl &#8211;disable-bzlib &#8211;disable-libfreetype &#8211;disable-libopenjpeg &#8211;enable-zlib &#8211;enable-runtime-cpudetect &#8211;arch=i386 &#8211;extra-cflags=&#8221;-arch i386&#8243; &#8211;extra-ldflags=&#8221;-arch i386&#8243; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5012","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5012","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5012"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5012\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5012"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5012"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5012"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}