BUG: 'VIDEO_PALETTE_YUV420P’ undeclared is coming back
motion.c:712:26: error: ‘VIDEO_PALETTE_YUV420P’ undeclared (first use in this function) Is there any workaround to avoid this?
gcc -g -O2 -D_REENTRANT -DHAVE_FFMPEG -I/usr/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -march=athlon64 -mfpmath=sse -msse2 -mmmx -m3dnow -Wall -DVERSION=\"trunkREV552\" -Dsysconfdir=\"/usr/local/etc\" -c -o motion.o motion.c
motion.c: In function ‘motion_init’:
motion.c:712:26: error: ‘VIDEO_PALETTE_YUV420P’ undeclared (first use in this function)
motion.c:712:26: note: each undeclared identifier is reported only once for each function it appears in
make: *** [motion.o] Error 1
Environment
Motion version: |
Version: trunkREV552 |
ffmpeg version: |
0.8.1 |
Shared libraries: |
ffmpeg |
Server OS: |
debian wheezy |
--
LeonardoLanzi - 13 Feb 2012
Follow up
Fix record
related to bug:
BugReport2012x02x06x133332
Sorry for the wrong solution I proposed.
A 'dirty' workaroud is to remove the search for videodev.h in the configure file (the link to videodev2.h caused the VIDEO_PALETTE_YUV420P error).
Thank you all for the work.
leo
Leo , looks that is fixed in current SVN / GIT version , please reopen if still remains unfixed.
--
AngelCarpintero - 02 Jun 2012