OK here are my notes on the build:
- Start clean, and follow the directions on alext-mkrs/meta-alext-galileo · GitHub
- Enable opencv, opencv-samples, and cifs
- Fix that nasty vlc bug by editing ./meta-oe/meta-oe/recipes-multimedia/x264/x264_git.bb and updating the hash (as per Yocto Clanton full: Build error for x264 package)
- Commented out the uclibc patches Intel Galileo - Building Linux Image - Malinov Family Web Presence
- (worried that it means Arduino sketches won't work, given the info in that thread)
- Failed with "ERROR: Task 1321 (/home/daniel/yocto/meta-clanton_v1.0.1/meta-oe/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb, do_configure) failed with exit code '1'"
- Tried simply disabling it - doesn't work. Parent dependencies roll into OpenCV
Dug into it:
configure: error: unable to find the argp_parse() function
Configure failed. The contents of all config.log files follows to aid debugging
/home/daniel/yocto/meta-clanton_v1.0.1/yocto_build/tmp/work/i586-poky-linux-uclibc/v4l-utils/0.8.8-r2/git/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by v4l-utils configure 0.9.0-test1, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ /home/daniel/yocto/meta-clanton_v1.0.1/yocto_build/tmp/work/i586-poky-linux-uclibc/v4l-utils/0.8.8-r2/git/configure --build=i686-linux --host=i586-poky-linux-uclibc --target=i586-poky-linux-uclibc --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib/v4l-utils --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --disable-silent-rules --disable-dependency-tracking --with-libtool-sysroot=/home/daniel/yocto/meta-clanton_v1.0.1/yocto_build/tmp/sysroots/clanton --disable-qv4l2 --enable-shared --disable-nls