[FFmpeg-user] Error with libav filters when building static on OSX 10.9

csparker247 csparker247 at gmail.com
Tue Jan 21 22:59:23 CET 2014


I'm using this script to build a static ffmpeg binary on OSX:  build.sh
<https://github.com/csparker247/ffmpeg-static/blob/master/build.sh>   (It
does require a couple of other files in that repo, but mostly they just
setup the build and target locations). I've modified it from the original
repo to suit my purposes and I know there's a lot I need to fix with it, but
I've yet to have any major problems with the binaries.

Anyway, up until recently I've been compiling on 10.6.8 and this script has
run fine. I just tried it on Mavericks, however, and get errors on (at
least) two filters:

`libavfilter/x86/af_volume.asm:43: error: macho: sorry, cannot apply 32 bit
absolute relocations in 64 bit mode, consider "[_symbol wrt rip]" for mem
access, "qword" and "dq _foo" for pointers.`
`libavfilter/x86/vf_gradfun.asm:56: error: macho: sorry, cannot apply 32 bit
absolute relocations in 64 bit mode, consider "[_symbol wrt rip]" for mem
access, "qword" and "dq _foo" for pointers.`
show up with multiple errors in each file, then I get the generic make error
1 for each filter's .o file.

I did just confirm that the daily snapshot compiles correctly using only
`./configure`. I also tried the script but removed the (admittedly sketchy)
extra libav install. There's a lot of options to this script that were added
at the wisdom of the original repository's maintainers, so I'm honestly not
sure where to start. Thoughts?

Also sorry for not using code blocks. I'm not really sure how to add them to
a mailing list.



--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Error-with-libav-filters-when-building-static-on-OSX-10-9-tp4663353.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list