Sorry people. Too hurried and went off to the wrong list! My apologies. Still, maybe someone had this problem - it doesn't seem to be sane-related. John On Wed, 9 Apr 2003 20:08:20 -0300 John Coppens <jcoppens@xxxxxxx> wrote: > Hi all... > > Get this error on compiling sane-backends 1.0.11: > > gcc -c -g -O2 -W -Wall -DHAVE_CONFIG_H -I. -I. -I../include -I../include > -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d > -DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0 > -DBACKEND_NAME=v4l -DLIBDIR=/usr/local/lib/sane v4l.c -fPIC -DPIC -o > v4l.lo > In file included from /usr/include/linux/videodev2.h:16, > from /usr/include/linux/videodev.h:14, > from v4l.c:76: > /usr/include/linux/time.h:9: redefinition of `struct timespec' > /usr/include/linux/time.h:88: redefinition of `struct timeval' > /usr/include/linux/time.h:93: redefinition of `struct timezone' > /usr/include/linux/time.h:124: redefinition of `struct itimerval' > > In v4l.c, line 67, I changed: > > #include <sys/time.h> > to > #include <linux/time.h> > > which eliminated two errors and left: > > In file included from v4l.c:67: > /usr/include/linux/time.h:9: redefinition of `struct timespec' > /usr/include/linux/time.h:88: redefinition of `struct timeval' > > > Any idea which other include references timespec again? Or just what to > do to get this working? > > Thanks > John > > > > -- > video4linux-list mailing list > Unsubscribe > mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe > https://listman.redhat.com/mailman/listinfo/video4linux-list