Default [Q] [HELP] Ubuntu Touch Compiling Error

I'm currently trying to port Ubuntu Touch to the MetroPCS Galaxy S3, and I've ironed out most of the other errors, but I can't figure this one out..
Code:
In file included from frameworks/av/media/libstagefright/ACodec.cpp:41:0:
frameworks/av/media/libstagefright/OMX_QCOMExtns.h:245:45: error: conflicting declaration 'OMX_QCOM_COLOR_FormatYVU420SemiPlanar'
In file included from ./frameworks/native/include/media/openmax/OMX_Video.h:66:0,
                 from frameworks/av/include/media/IOMX.h:27,
                 from frameworks/av/include/media/stagefright/ACodec.h:23,
                 from frameworks/av/media/libstagefright/ACodec.cpp:20:
./frameworks/native/include/media/openmax/OMX_IVCommon.h:161:5: error: 'OMX_QCOM_COLOR_FormatYVU420SemiPlanar' has a previous declaration as 'OMX_COLOR_FORMATTYPE OMX_QCOM_COLOR_FormatYVU420SemiPlanar'
make: *** [/home/brendan/touch/out/target/product/d2mtr/obj/SHARED_LIBRARIES/libstagefright_intermediates/ACodec.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes.  Stop.
Any help would be greatly appreciated.