I'm having difficulty compiling the utils.  The drivers are fine.

# uname -a
Linux mythback 2.6.11-1.35_FC3 #1 Mon Jun 13 00:52:08 EDT 2005 i686 athlon i386 GNU/Linux

m

#  make
cc -I../driver -D_GNU_SOURCE -O2 -Wall  -lm  ivtvctl.c   -o ivtvctl
cc -I../driver -D_GNU_SOURCE -O2 -Wall  -lm  ivtvfbctl.c   -o ivtvfbctl
g++ -I../driver -D_GNU_SOURCE -O2 -Wall   -c -o ivtvplay.o ivtvplay.cpp
gcc -I../driver -D_GNU_SOURCE -O2 -Wall ivtvplay.o -o ivtvplay -lpthread -lm -ls
tdc++
cc -I../driver -D_GNU_SOURCE -O2 -Wall   -c -o cx25840ctl.o cx25840ctl.c
gcc -I../driver -D_GNU_SOURCE -O2 -Wall -DCX25840_STRINGS -c ../driver/cx25840-r
egisters.c
gcc -I../driver -D_GNU_SOURCE -O2 -Wall cx25840ctl.o cx25840-registers.o -o cx25
840ctl
cc -I../driver -D_GNU_SOURCE -O2 -Wall  -lm  ivtv-detect.c   -o ivtv-detect
ivtv-detect.c:9:29: linux/videodev2.h: No such file or directory
ivtv-detect.c:44: error: field `cap' has incomplete type
ivtv-detect.c: In function `find_card':
ivtv-detect.c:59: error: dereferencing pointer to incomplet e type
ivtv-detect.c:59: error: dereferencing pointer to incomplete type
ivtv-detect.c:59: error: dereferencing pointer to incomplete type
ivtv-detect.c:59: error: dereferencing pointer to incomplete type
ivtv-detect.c:59: error: dereferencing pointer to incomplete type
ivtv-detect.c:59: error: dereferencing pointer to incomplete type
ivtv-detect.c:59: error: dereferencing pointer to incomplete type
ivtv-detect.c:59: error: dereferencing pointer to incomplete type
ivtv-detect.c:59: error: dereferencing pointer to incomplete type
ivtv-detect.c:59: error: dereferencing pointer to incomplete type
ivtv-detect.c:59: error: dereferencing pointer to incomplete type
ivtv-detect.c:59: error: dereferencing pointer to incomplete type
ivtv-detect.c:59: error: dereferencing pointer to incomplete type
ivtv-detect.c:59: error: dereferencing pointer to incomplete type
ivtv-detect.c:59: error: dereferencing pointer to incomplete type
ivtv-detect.c:5 9: error: dereferencing pointer to incomplete type
ivtv-detect.c:59: error: dereferencing pointer to incomplete type
ivtv-detect.c:59: error: dereferencing pointer to incomplete type
ivtv-detect.c:59: error: dereferencing pointer to incomplete type
ivtv-detect.c:59: error: dereferencing pointer to incomplete type
ivtv-detect.c:62: error: dereferencing pointer to incomplete type
ivtv-detect.c: In function `main':
ivtv-detect.c:132: error: storage size of 'cap' isn't known
ivtv-detect.c:139: error: `VIDIOC_QUERYCAP' undeclared (first use in this functi
on)
ivtv-detect.c:139: error: (Each undeclared identifier is reported only once
ivtv-detect.c:139: error: for each function it appears in.)
ivtv-detect.c:132: warning: unused variable `cap'
make: *** [ivtv-detect] Error 1

The header is located at the following locations.

# find / -name videodev2.h
/lib/modules/2.6.11-1.35_FC3/build/include/linux/videodev2.h
/lib/modules/2.6.11-1.27_FC3/build/include/linux/videodev2.h
/lib/modules/2.6.9-1.667/build/include/linux/videodev2.h
/video/source/ivtv/ivtv-0.3.7a/utils/videodev2.h
/video/source/ivtv/ivtv-0.3.7c/utils/videodev2.h
/video/source/ivtv/ivtv-0.3.7f/utils/videodev2.h

Any suggestions? Great job by the way on ivtv.

Steve

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Reply via email to