I am following the tutorial on https://trac.ffmpeg.org/wiki/CompilationGuide/MacOSX <https://trac.ffmpeg.org/wiki/CompilationGuide/MacOSX> to compile FFMPEG from scratch, incl. all of the dependencies. I am not using Howebrew or anything like that.
I could compile all the dependencies into a PREFIX, except pkg-config (because I had problems compiling glib). So I installed pkg-config as a binary and I can use it from the terminal: $ pkg-config --version 0.28 I ran configure PKG_CONFIG_PATH="/Users/peter/Documents/phd/projects/sources/ffmepg_dependencies_build/lib/pkgconfig" ./configure --prefix="/Users/peter/Documents/phd/projects/sources/ffmepg_dependencies_build" --enable-gpl --enable-nonfree --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --disable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --disable-libfreetype successful, but make fails with ibavformat/file.c:190:29: error: use of undeclared identifier 'O_SEQUENTIAL' access = O_RDONLY | O_SEQUENTIAL; ^ 1 error generated. make: *** [libavformat/file.o] Error 1 Does this happen because I made a mistake in compiling a dependency? Cheers, Peter Configure output: Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/c++/4.2.1 Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/c++/4.2.1 Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/c++/4.2.1 Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/c++/4.2.1 Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/c++/4.2.1 install prefix /Users/peter/Documents/phd/projects/sources/ffmepg_dependencies_build source path . C compiler gcc C library ARCH x86 (generic) big-endian no runtime cpu detection yes yasm yes MMX enabled yes MMXEXT enabled yes 3DNow! enabled yes 3DNow! extended enabled yes SSE enabled yes SSSE3 enabled yes AVX enabled yes XOP enabled yes FMA3 enabled yes FMA4 enabled yes i686 features enabled yes CMOV is fast yes EBX available yes EBP available yes debug symbols yes strip symbols yes optimize for size no optimizations yes static yes shared no postprocessing support yes new filter support yes network support yes threading support pthreads safe bitstream reader yes SDL support no opencl enabled no texi2html enabled no perl enabled yes pod2man enabled yes makeinfo enabled yes makeinfo supports HTML no External libraries: bzlib libmp3lame libx264 iconv libvorbis securetransport libfdk_aac libvpx zlib Enabled decoders: aac ayuv frwu aac_fixed bethsoftvid g2m aac_latm bfi g723_1 aasc bink g729 ac3 binkaudio_dct gif ac3_fixed binkaudio_rdft gsm adpcm_4xm bintext gsm_ms adpcm_adx bmp h261 adpcm_afc bmv_audio h263 adpcm_ct bmv_video h263i adpcm_dtk brender_pix h263p adpcm_ea c93 h264 adpcm_ea_maxis_xa cavs h264_vda adpcm_ea_r1 ccaption hap adpcm_ea_r2 cdgraphics hevc adpcm_ea_r3 cdxl hnm4_video adpcm_ea_xas cinepak hq_hqa adpcm_g722 cljr hqx adpcm_g726 cllc huffyuv adpcm_g726le comfortnoise iac adpcm_ima_amv cook idcin adpcm_ima_apc cpia idf adpcm_ima_dk3 cscd iff_byterun1 adpcm_ima_dk4 cyuv iff_ilbm adpcm_ima_ea_eacs dca imc adpcm_ima_ea_sead dds indeo2 adpcm_ima_iss dfa indeo3 adpcm_ima_oki dirac indeo4 adpcm_ima_qt dnxhd indeo5 adpcm_ima_rad dpx interplay_dpcm adpcm_ima_smjpeg dsd_lsbf interplay_video adpcm_ima_wav dsd_lsbf_planar jacosub adpcm_ima_ws dsd_msbf jpeg2000 adpcm_ms dsd_msbf_planar jpegls adpcm_sbpro_2 dsicinaudio jv adpcm_sbpro_3 dsicinvideo kgv1 adpcm_sbpro_4 dss_sp kmvc adpcm_swf dvbsub lagarith adpcm_thp dvdsub libfdk_aac adpcm_thp_le dvvideo libvorbis adpcm_vima dxa libvpx_vp8 adpcm_xa dxtory libvpx_vp9 adpcm_yamaha eac3 loco aic eacmv mace3 alac eamad mace6 alias_pix eatgq mdec als eatgv metasound amrnb eatqi microdvd amrwb eightbps mimic amv eightsvx_exp mjpeg anm eightsvx_fib mjpegb ansi escape124 mlp ape escape130 mmvideo apng evrc motionpixels ass exr movtext asv1 ffv1 mp1 asv2 ffvhuff mp1float atrac1 ffwavesynth mp2 atrac3 fic mp2float atrac3p flac mp3 aura flashsv mp3adu aura2 flashsv2 mp3adufloat avrn flic mp3float avrp flv mp3on4 avs fourxm mp3on4float avui fraps mpc7 mpc8 png tscc mpeg1video ppm tscc2 mpeg2video prores tta mpeg4 prores_lgpl twinvq mpegvideo ptx txd mpl2 qcelp ulti msa1 qdm2 utvideo msmpeg4v1 qdraw v210 msmpeg4v2 qpeg v210x msmpeg4v3 qtrle v308 msrle r10k v408 mss1 r210 v410 mss2 ra_144 vb msvideo1 ra_288 vble mszh ralf vc1 mts2 rawvideo vc1image mvc1 realtext vcr1 mvc2 rl2 vima mxpeg roq vmdaudio nellymoser roq_dpcm vmdvideo nuv rpza vmnc on2avc rv10 vorbis opus rv20 vp3 paf_audio rv30 vp5 paf_video rv40 vp6 pam s302m vp6a pbm sami vp6f pcm_alaw sanm vp7 pcm_bluray sgi vp8 pcm_dvd sgirle vp9 pcm_f32be shorten vplayer pcm_f32le sipr vqa pcm_f64be smackaud wavpack pcm_f64le smacker webp pcm_lxf smc webvtt pcm_mulaw smvjpeg wmalossless pcm_s16be snow wmapro pcm_s16be_planar sol_dpcm wmav1 pcm_s16le sonic wmav2 pcm_s16le_planar sp5x wmavoice pcm_s24be srt wmv1 pcm_s24daud ssa wmv2 pcm_s24le stl wmv3 pcm_s24le_planar subrip wmv3image pcm_s32be subviewer wnv1 pcm_s32le subviewer1 ws_snd1 pcm_s32le_planar sunrast xan_dpcm pcm_s8 svq1 xan_wc3 pcm_s8_planar svq3 xan_wc4 pcm_u16be tak xbin pcm_u16le targa xbm pcm_u24be targa_y216 xface pcm_u24le tdsc xl pcm_u32be text xsub pcm_u32le theora xwd pcm_u8 thp y41p pcm_zork tiertexseqvideo yop pcx tiff yuv4 pgm tmv zero12v pgmyuv truehd zerocodec pgssub truemotion1 zlib pictor truemotion2 zmbv pjs truespeech Enabled encoders: a64multi libmp3lame png a64multi5 libvorbis ppm aac libvpx_vp8 prores ac3 libvpx_vp9 prores_aw ac3_fixed libx264 prores_ks adpcm_adx libx264rgb qtrle adpcm_g722 ljpeg r10k adpcm_g726 mjpeg r210 adpcm_ima_qt movtext ra_144 adpcm_ima_wav mp2 rawvideo adpcm_ms mp2fixed roq adpcm_swf mpeg1video roq_dpcm adpcm_yamaha mpeg2video rv10 alac mpeg4 rv20 alias_pix msmpeg4v2 s302m amv msmpeg4v3 sgi apng msvideo1 snow ass nellymoser sonic asv1 pam sonic_ls asv2 pbm srt avrp pcm_alaw ssa avui pcm_f32be subrip ayuv pcm_f32le sunrast bmp pcm_f64be svq1 cinepak pcm_f64le targa cljr pcm_mulaw tiff comfortnoise pcm_s16be tta dca pcm_s16be_planar utvideo dnxhd pcm_s16le v210 dpx pcm_s16le_planar v308 dvbsub pcm_s24be v408 dvdsub pcm_s24daud v410 dvvideo pcm_s24le vorbis eac3 pcm_s24le_planar wavpack ffv1 pcm_s32be webvtt ffvhuff pcm_s32le wmav1 flac pcm_s32le_planar wmav2 flashsv pcm_s8 wmv1 flashsv2 pcm_s8_planar wmv2 flv pcm_u16be xbm g723_1 pcm_u16le xface gif pcm_u24be xsub h261 pcm_u24le xwd h263 pcm_u32be y41p h263p pcm_u32le yuv4 huffyuv pcm_u8 zlib jpeg2000 pcx zmbv jpegls pgm libfdk_aac pgmyuv Enabled hwaccels: h264_vda h264_vda_old Enabled parsers: aac dvd_nav mpegvideo aac_latm dvdsub opus ac3 flac png adx gsm pnm bmp h261 rv30 cavsvideo h263 rv40 cook h264 tak dca hevc vc1 dirac mjpeg vorbis dnxhd mlp vp3 dpx mpeg4video vp8 dvbsub mpegaudio vp9 Enabled demuxers: aac g729 mpjpeg ac3 gif mpl2 act gsm mpsub adf gxf msnwc_tcp adp h261 mtv adx h263 mv aea h264 mvi afc hevc mxf aiff hls mxg amr hnm nc anm ico nistsphere apc idcin nsv ape idf nut apng iff nuv aqtitle ilbc ogg asf image2 oma asf_o image2_alias_pix paf ass image2_brender_pix pcm_alaw ast image2pipe pcm_f32be au image_bmp_pipe pcm_f32le avi image_dds_pipe pcm_f64be avr image_dpx_pipe pcm_f64le avs image_exr_pipe pcm_mulaw bethsoftvid image_j2k_pipe pcm_s16be bfi image_jpeg_pipe pcm_s16le bfstm image_jpegls_pipe pcm_s24be bink image_pictor_pipe pcm_s24le bintext image_png_pipe pcm_s32be bit image_qdraw_pipe pcm_s32le bmv image_sgi_pipe pcm_s8 boa image_sunrast_pipe pcm_u16be brstm image_tiff_pipe pcm_u16le c93 image_webp_pipe pcm_u24be caf ingenient pcm_u24le cavsvideo ipmovie pcm_u32be cdg ircam pcm_u32le cdxl iss pcm_u8 cine iv8 pjs concat ivf pmp data jacosub pva daud jv pvf dfa latm qcp dirac live_flv r3d dnxhd lmlm4 rawvideo dsf loas realtext dsicin lrc redspark dss lvf rl2 dts lxf rm dtshd m4v roq dv matroska rpl dvbsub matroska_haali rsd dxa mgsts rso ea microdvd rtp ea_cdata mjpeg rtsp eac3 mlp sami epaf mlv sap ffm mm sbg ffmetadata mmf sdp filmstrip mov sdr2 flac mp3 segafilm flic mpc shorten flv mpc8 siff fourxm mpegps sln frm mpegts smacker g722 mpegtsraw smjpeg g723_1 mpegvideo smush sol tmv wav sox truehd wc3 spdif tta webm_dash_manifest srt tty webvtt stl txd wsaud str vc1 wsvqa subviewer vc1t wtv subviewer1 vivo wv sup vmd xa swf vobsub xbin tak voc xmv tedcaptions vplayer xwma thp vqf yop tiertexseq w64 yuv4mpegpipe Enabled muxers: a64 ipod pcm_s32be ac3 ircam pcm_s32le adts ismv pcm_s8 adx ivf pcm_u16be aiff jacosub pcm_u16le amr latm pcm_u24be apng lrc pcm_u24le asf m4v pcm_u32be asf_stream matroska pcm_u32le ass matroska_audio pcm_u8 ast md5 psp au microdvd rawvideo avi mjpeg rm avm2 mkvtimestamp_v2 roq bit mlp rso caf mmf rtp cavsvideo mov rtp_mpegts crc mp2 rtsp dash mp3 sap data mp4 segment daud mpeg1system singlejpeg dirac mpeg1vcd smjpeg dnxhd mpeg1video smoothstreaming dts mpeg2dvd sox dv mpeg2svcd spdif eac3 mpeg2video spx f4v mpeg2vob srt ffm mpegts stream_segment ffmetadata mpjpeg swf filmstrip mxf tee flac mxf_d10 tg2 flv mxf_opatom tgp framecrc null truehd framemd5 nut uncodedframecrc g722 oga vc1 g723_1 ogg vc1t gif oma voc gxf opus w64 h261 pcm_alaw wav h263 pcm_f32be webm h264 pcm_f32le webm_chunk hds pcm_f64be webm_dash_manifest hevc pcm_f64le webp hls pcm_mulaw webvtt ico pcm_s16be wtv ilbc pcm_s16le wv image2 pcm_s24be yuv4mpegpipe image2pipe pcm_s24le Enabled protocols: async http rtmpt cache httpproxy rtmpts concat https rtp crypto icecast srtp data md5 subfile ffrtmphttp mmsh tcp file mmst tls_securetransport ftp pipe udp gopher rtmp udplite hls rtmps unix Enabled filters: adelay deflate nullsrc adrawgraph dejudder overlay aecho delogo owdenoise aeval deshake pad aevalsrc detelecine palettegen afade dilation paletteuse aformat drawbox pan ainterleave drawgraph perms allpass drawgrid perspective alphaextract dynaudnorm phase alphamerge earwax pixdesctest amerge ebur128 pp amix edgedetect pp7 amovie elbg psnr anull eq pullup anullsink equalizer qp anullsrc erosion random apad extractplanes removegrain aperms fade removelogo aphaser fftfilt repeatfields aresample field replaygain areverse fieldmatch reverse aselect fieldorder rgbtestsrc asendcmd find_rect rotate asetnsamples flanger sab asetpts format scale asetrate fps select asettb framepack sendcmd ashowinfo framestep separatefields asplit fspp setdar astats geq setfield astreamsync gradfun setpts atempo haldclut setsar atrim haldclutsrc settb avectorscope hflip showcqt bandpass highpass showinfo bandreject histeq showpalette bass histogram showspectrum bbox hqdn3d showvolume biquad hqx showwaves blackdetect hue showwavespic blackframe idet shuffleplanes blend il sidechaincompress boxblur inflate signalstats cellauto interlace silencedetect channelmap interleave silenceremove channelsplit join sine chorus kerndeint smartblur codecview lenscorrection smptebars color life smptehdbars colorbalance lowpass split colorchannelmixer lut spp colorkey lut3d ssim colorlevels lutrgb stereo3d colormatrix lutyuv super2xsai compand mandelbrot swapuv concat mcdeint tblend copy mergeplanes telecine cover_rect movie testsrc crop mpdecimate thumbnail cropdetect mptestsrc tile curves negate tinterlace dcshift noformat transpose dctdnoiz noise treble deband null trim decimate nullsink unsharp uspp volume xbr vflip volumedetect yadif vignette w3fdif zoompan Enabled bsfs: aac_adtstoasc imx_dump_header mpeg4_unpack_bframes chomp mjpeg2jpeg noise dump_extradata mjpega_dump_header remove_extradata h264_mp4toannexb mov2textsub text2movsub hevc_mp4toannexb mp3_header_decompress Enabled indevs: avfoundation lavfi qtkit Enabled outdevs: License: nonfree and unredistributable _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user