Matthew Clark <[EMAIL PROTECTED]> writes:

> hey,
> trying the new driver and get this at "make":
> make[2]: Leaving directory
> `/home/system/Desktop/ivtv-0.6.1/utils/cx25840ctl'
> make[1]: Leaving directory `/home/system/Desktop/ivtv-0.6.1/utils'
> make -C test all
> make[1]: Entering directory `/home/system/Desktop/ivtv-0.6.1/test'
> cc -I../driver -I../utils -D_GNU_SOURCE -O2 -Wall  -lm  vbi.c   -o vbi
> cc -I../driver -I../utils -D_GNU_SOURCE -O2 -Wall  -lm  fwapi.c   -o fwapi
> cc -I../driver -I../utils -D_GNU_SOURCE -O2 -Wall  -lm  wss.c   -o wss
> wss.c: In function `main':
> wss.c:63: error: union has no member named `sliced'
> wss.c:63: error: `V4L2_SLICED_WSS_625' undeclared (first use in this

I had the same problem. The problem is that you're building these utilities
with the kernel headers that came with your libc instead of the 2.6.16 ones.

To fix the problem you have to edit the Makefiles in the "utils" and "test"
directories by adding -I/usr/local/src/linux-2.6.16/include (or wherever your
kernel source tree is) to the CFLAGS.

ie they should look like:

CFLAGS = -I/usr/local/src/linux-2.6.16/include -I../v4l-dvb/linux/include 
-I../driver -I../utils -D_GNU_SOURCE -O2 -Wall

CFLAGS = -I/usr/local/src/linux-2.6.16/include 
-I$(CURDIR)/../v4l-dvb/linux/include -I$(CURDIR)/../driver -D_GNU_SOURCE -O2 
-Wall

-- 
greg


_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to