#37142: MacPorts' FFMpeg + Mythtv-core.25 = incompatible -------------------------------+-------------------------- Reporter: shiggymiyamoto@… | Owner: ctreleaven@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: mythtv-core.25 | -------------------------------+-------------------------- Comment (by devans@…): Nonetheless, it is using include files from the current MacPorts ffmpeg as shown by these errors: {{{ :info:build filter_postprocess.c:26:5: error: unknown type name 'pp_mode_t'; did you mean 'pp_mode'? :info:build pp_mode_t* mode; :info:build ^~~~~~~~~ :info:build pp_mode :info:build /opt/local/include/libpostproc/postprocess.h:70:14: note: 'pp_mode' declared here :info:build typedef void pp_mode; :info:build ^ :info:build filter_postprocess.c:27:5: error: unknown type name 'pp_context_t'; did you mean 'pp_context'? :info:build pp_context_t* context; :info:build ^~~~~~~~~~~~ :info:build pp_context :info:build /opt/local/include/libpostproc/postprocess.h:69:14: note: 'pp_context' declared here :info:build typedef void pp_context; :info:build ^ }}} In the current libpostproc API (ffmpeg 1.0) pp_mode_t and pp_context_t have indeed been replaced by pp_mode and pp_context respectively. I believe the problem is that {{{ -I/opt/local/include }}} precedes {{{ -I../../external/FFmpeg }}} in the build command for filter_postprocess.o {{{ :info:build /opt/local/bin/clang-mp-3.0 -c -pipe -I/opt/local/include -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_DARWIN_C_SOURCE -DPIC -pipe -O2 -arch x86_64 -std=c99 -fomit-frame- pointer -fPIC -g -Wall -Wno-parentheses -Wno-switch -Wdisabled- optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast- qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -O3 -fno- math-errno -fno-signed-zeros -Qunused-arguments -Wno-missing-prototypes -I/opt/local/include -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_DARWIN_C_SOURCE -DPIC -pipe -O2 -arch x86_64 -std=c99 -fomit-frame-pointer -fPIC -g -Wall -Wno-parentheses -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer- sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing- prototypes -O3 -fno-math-errno -fno-signed-zeros -Qunused-arguments -DMMX -DUSING_APPLEREMOTE -D_GNU_SOURCE -DMMX -DUSING_APPLEREMOTE -D_GNU_SOURCE -I/opt/local/share/qt4/mkspecs/macx-g++ -I. -I/usr/include -I/opt/local -I/opt/local/include/libxml2 -I../../libs/libmythtv -I../../libs/libmythbase -I../../external/FFmpeg -I/usr/include -I/opt/local -I/opt/local/include/libxml2 -I../../libs/libmythtv -o filter_postprocess.o filter_postprocess.c }}} In my case, the build machine is a MacBookPro 15" running Lion {{{ devans$ sw_vers; xcodebuild -version ProductName: Mac OS X ProductVersion: 10.7.5 BuildVersion: 11G63 Xcode 4.5.2 Build version 4G2008a }}} -- Ticket URL: <https://trac.macports.org/ticket/37142#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS