From: Andrzej D. <ad...@st...> - 2012-07-16 16:27:04
|
Hello I am trying to cross-compile media-ctl for my overo. Almost everything goes well, but during the compilation I get those errors: make all-recursive make[1]: Entering directory `/home/wojtek/media-ctl/media-ctl' Making all in src make[2]: Entering directory `/home/wojtek/media-ctl/media-ctl/src' /bin/sh ../libtool --tag=CC --mode=compile arm-angstrom-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I/home/wojtek/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/linux-omap3-3.2-r103/git/include -g -O2 -MT v4l2subdev.lo -MD -MP -MF .deps/v4l2subdev.Tpo -c -o v4l2subdev.lo v4l2subdev.c libtool: compile: arm-angstrom-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I.. -I/home/wojtek/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/linux-omap3-3.2-r103/git/include -g -O2 -MT v4l2subdev.lo -MD -MP -MF .deps/v4l2subdev.Tpo -c v4l2subdev.c -o v4l2subdev.o In file included from /home/wojtek/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/linux-omap3-3.2-r103/git/include/linux/v4l2-subdev.h:27, from v4l2subdev.c:33: /home/wojtek/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/linux-omap3-3.2-r103/git/include/linux/types.h:13:2: warning: #warning "Attempt to use kernel headers from user space, see http://kernelnewbies.org/KernelHeaders" v4l2subdev.c: In function 'v4l2_subdev_get_selection': v4l2subdev.c:132: error: 'V4L2_SUBDEV_SEL_TGT_CROP_ACTUAL' undeclared (first use in this function) v4l2subdev.c:132: error: (Each undeclared identifier is reported only once v4l2subdev.c:132: error: for each function it appears in.) v4l2subdev.c: In function 'v4l2_subdev_set_selection': v4l2subdev.c:172: error: 'V4L2_SUBDEV_SEL_TGT_CROP_ACTUAL' undeclared (first use in this function) v4l2subdev.c: In function 'v4l2_subdev_parse_setup_format': v4l2subdev.c:522: error: 'V4L2_SUBDEV_SEL_TGT_CROP_ACTUAL' undeclared (first use in this function) v4l2subdev.c:526: error: 'V4L2_SUBDEV_SEL_TGT_COMPOSE_ACTUAL' undeclared (first use in this function) make[2]: *** [v4l2subdev.lo] Error 1 make[2]: Leaving directory `/home/wojtek/media-ctl/media-ctl/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/wojtek/media-ctl/media-ctl' make: *** [all] Error 2 does any one has any clue what can I do about this? I am following this site: http://www.dobots.nl/blog/-/blogs/in-the-spotlight-linux- where are some instructions to get caspa and gumstix working on some 3.x kernel. |