How can i fix error with the gstreammer enum problem when trying bitbake st-image-weston
####Error messages are below..
ERROR: gstreamer1.0-plugins-bad-1.14.4-r0 do_compile: oe_runmake failed
ERROR: gstreamer1.0-plugins-bad-1.14.4-r0 do_compile: Function failed: do_compile (log file is located at /home/kheng_sw/work/STM32MP1/Distribution-Package/openstlinux-20-02-19/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/gstreamer1.0-plugins-bad/1.14.4-r0/temp/log.do_compile.8464)
ERROR: Logfile of failure stored in: /home/kheng_sw/work/STM32MP1/Distribution-Package/openstlinux-20-02-19/build-openstlinuxeglfs-stm32mp1/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-ostl-linux-gnueabi/gstreamer1.0-plugins-bad/1.14.4-r0/temp/log.do_compile.8464
---------------------------------
##### The specific location of the error is like below.
| photography-enumtypes.c:6:1: error: stray '\' in program
| \#include "photography.h"
| ^
| photography-enumtypes.c:6:2: error: stray '#' in program
| \#include "photography.h"
| ^
| photography-enumtypes.c:6:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before string constant
| \#include "photography.h"
| ^~~~~~~~~~~~~~~
| photography-enumtypes.c: In function 'gst_photography_white_balance_mode_get_type':
| photography-enumtypes.c:33:9: error: 'GST_PHOTOGRAPHY_WB_MODE_AUTO' undeclared (first use in this function); did you mean 'GST_PHOTOGRAPHY_API'?
| { GST_PHOTOGRAPHY_WB_MODE_AUTO, "GST_PHOTOGRAPHY_WB_MODE_AUTO", "auto" },
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
---------------------------------------
I did open photography-enumtypes.c file and remove '\' of #include by manual and it fixed.
But it is not only single file. Several of *-enumtypes.c files was same.
How can i fix it?
