Fernando,
I'm glad you got it working, but I can't get it to build. Lets compare notes:
sane:
download sane-backends-1.0.22.tar.gz
sane-frontends-1.0.14.tar.gz
tar -xf sane-backends-1.0.22.tar.gz
cd sane-backends-1.0.22
I checked the sed for sane-1.0.19 and it seems to be already applied in 1.0.22.
./configure --prefix=/usr --sysconfdir=/etc
make
...
/bin/sh ../libtool --silent --tag=CC
--mode=compile gcc -DHAVE_CONFIG_H -I. -I../include/sane -I/usr/local/include
-I. -I. -I../include -I../include
-DLIBDIR="/usr/lib/sane" -DBACKEND_NAME=v4l -DPATH_SANE_CONFIG_DIR=/etc/sane.d
-DPATH_SANE_DATA_DIR=/usr/share
-DPATH_SANE_LOCK_DIR=/usr/var/lock/sane -DV_MAJOR=1 -DV_MINOR=0
-g -O2 -W -Wall -MT libv4l_la-v4l.lo -MD -MP -MF .deps/libv4l_la-v4l.Tpo
-c -o libv4l_la-v4l.lo `test -f 'v4l.c' || echo './'`v4l.c
In file included from /usr/include/libv4l1.h:29:0,
from v4l.c:89:
/usr/include/libv4l1-videodev.h:23:8: error: redefinition of 'struct
video_capability'
v4l.h:50:8: note: originally defined here
/usr/include/libv4l1-videodev.h:36:8: error: redefinition of 'struct
video_channel'
v4l.h:122:8: note: originally defined here
/usr/include/libv4l1-videodev.h:72:8: error: redefinition of 'struct
video_picture'
v4l.h:62:8: note: originally defined here
/usr/include/libv4l1-videodev.h:130:8: error: redefinition of 'struct
video_window'
v4l.h:91:8: note: originally defined here
/usr/include/libv4l1-videodev.h:153:8: error: redefinition of 'struct
video_mmap'
v4l.h:115:8: note: originally defined here
/usr/include/libv4l1-videodev.h:160:8: error: redefinition of 'struct
video_mbuf'
v4l.h:108:8: note: originally defined here
These seem to be from v4l-utils which are not in th ebook, but the package is
referenced in ffmpeg. I installed v4l-utils-0.8.5.tar.bz2 in December, but
v4l-utils-0.8.8.tar.bz2 seems to be current as of April 14. I'll reinstall
that
and try again.
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page