Motion - Bug Report 2012x 02x 13x 095302
You are here: Foswiki>Motion Web>BugReports>BugReport2012x02x13x095302 (02 Jun 2012, AngelCarpintero)Edit Attach

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


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 , looks that is fixed in current SVN / GIT version , please reopen if still remains unfixed.

-- AngelCarpintero - 02 Jun 2012

BugReportForm edit

TopicTitle 'VIDEO_PALETTE_YUV420P’ undeclared is coming back
BugStatus Released
SubmittedBy WikiGuest
Topic revision: r3 - 02 Jun 2012, AngelCarpintero
Copyright © 1999-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.