Hey All, Just got an ATI AIW rage128 working (playing video played in from a VCR) with the ati.2 driver, and xawtv under Rehat 7.3. So far so good, piece of cake in fact. Things went so well so far because the gatos stuff is now part of XFree86, and it's all working through Xvideo. (?) But, capture requires not using Xvideo. (?) Then I need to install km module, and a newer tweaked version of kernel drm module, and use avview. (?) Neither km-0.2.1, avview-0.9.5,nor the versions in CVS will compile. [pete@manzanita km]$ make gcc -m486 -O2 -Wall -Wstrict-prototypes -pipe -fno-strict-aliasing -fno-common -DMODULE -D__KERNEL__ -DLINUX -I/usr/src/linux/include -c km.c In file included from km.c:3: /usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in userspace In file included from km.c:12: /usr/include/linux/module.h:60: parse error before `atomic_t' /usr/include/linux/module.h:60: warning: no semicolon at end of struct or union ..... km.c:429: warning: control reaches end of non-void function km.c: In function `cleanup_module': km.c:439: request for member `dev' in something not a structure or union km.c: At top level: km.c:113: warning: `km_probe' defined but not used km.c:418: warning: `init_module' defined but not used make: *** [km.o] Error 1 [pete@manzanita avview]$ make gcc -pipe -g -O2 -I/usr/X11R6/include -I/home/pete/ati.2/ffmpeg/libav -I/home/pete/ati.2/ffmpeg/libavcodec xv.c frequencies.c xmisc.c string_cache.c v4l.c formats.c ffmpeg.c alsa.c packet_stream.c linux.c -ltcl8.3 -ltk8.3 -lSM -lICE -L/usr/X11R6/lib -lX11 -lXext -lXv -ltk8.3 -ltcl8.3 -lXv -lXext -lX11 -lasound -lpthread -lm -ldl -L/home/pete/ati.2/ffmpeg/libav -L/home/pete/ati.2/ffmpeg/libavcodec -lav -lavcodec -lpthread main.c -o avview_shell v4l.c: In function `v4l_attach_output_stream': v4l.c:150: warning: passing arg 3 of `pthread_create' from incompatible pointer type v4l.c: In function `v4l_snapshot_timer_callback': v4l.c:314: warning: passing arg 2 of `Tcl_CreateTimerHandler' from incompatible pointer type v4l.c: In function `start_monitor': v4l.c:727: warning: passing arg 3 of `Tcl_CreateFileHandler' from incompatible pointer type In file included from /home/pete/ati.2/ffmpeg/libav/avformat.h:2, from ffmpeg.c:34: /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:3: redeclaration of `enum CodecID' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:4: conflicting types for `CODEC_ID_NONE' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:4: previous declaration of `CODEC_ID_NONE' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:5: conflicting types for `CODEC_ID_MPEG1VIDEO' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:5: previous declaration of `CODEC_ID_MPEG1VIDEO' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:6: conflicting types for `CODEC_ID_H263' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:6: previous declaration of `CODEC_ID_H263' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:7: conflicting types for `CODEC_ID_RV10' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:7: previous declaration of `CODEC_ID_RV10' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:8: conflicting types for `CODEC_ID_MP2' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:8: previous declaration of `CODEC_ID_MP2' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:9: conflicting types for `CODEC_ID_AC3' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:9: previous declaration of `CODEC_ID_AC3' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:10: conflicting types for `CODEC_ID_MJPEG' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:10: previous declaration of `CODEC_ID_MJPEG' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:11: conflicting types for `CODEC_ID_MPEG4' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:11: previous declaration of `CODEC_ID_MPEG4' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:12: conflicting types for `CODEC_ID_PCM' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:12: previous declaration of `CODEC_ID_PCM' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:13: conflicting types for `CODEC_ID_RAWVIDEO' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:13: previous declaration of `CODEC_ID_RAWVIDEO' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:14: conflicting types for `CODEC_ID_MSMPEG4' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:14: previous declaration of `CODEC_ID_MSMPEG4' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:15: conflicting types for `CODEC_ID_H263P' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:15: previous declaration of `CODEC_ID_H263P' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:16: conflicting types for `CODEC_ID_H263I' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:16: previous declaration of `CODEC_ID_H263I' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:19: redeclaration of `enum CodecType' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:20: conflicting types for `CODEC_TYPE_VIDEO' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:20: previous declaration of `CODEC_TYPE_VIDEO' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:21: conflicting types for `CODEC_TYPE_AUDIO' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:21: previous declaration of `CODEC_TYPE_AUDIO' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:24: redeclaration of `enum PixelFormat' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:25: conflicting types for `PIX_FMT_YUV420P' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:25: previous declaration of `PIX_FMT_YUV420P' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:26: conflicting types for `PIX_FMT_YUV422' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:26: previous declaration of `PIX_FMT_YUV422' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:27: conflicting types for `PIX_FMT_RGB24' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:27: previous declaration of `PIX_FMT_RGB24' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:28: conflicting types for `PIX_FMT_BGR24' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:28: previous declaration of `PIX_FMT_BGR24' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:29: conflicting types for `PIX_FMT_YUV422P' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:29: previous declaration of `PIX_FMT_YUV422P' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:30: conflicting types for `PIX_FMT_YUV444P' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:30: previous declaration of `PIX_FMT_YUV444P' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:55: redefinition of `struct AVCodecContext' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:94: redefinition of `AVCodecContext' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:94: `AVCodecContext' previously declared here /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:96: redefinition of `struct AVCodec' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:108: redefinition of `AVCodec' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:108: `AVCodec' previously declared here /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:111: redefinition of `struct AVPicture' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:114: redefinition of `AVPicture' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:114: `AVPicture' previously declared here /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:146: redefinition of `ReSampleContext' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:146: `ReSampleContext' previously declared here /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:157: redefinition of `ImgReSampleContext' /home/pete/ati.2/ffmpeg/libavcodec/avcodec.h:157: `ImgReSampleContext' previously declared here ffmpeg.c: In function `ffmpeg_v4l_encoding_thread': ffmpeg.c:156: too many arguments to function ffmpeg.c: In function `ffmpeg_audio_encoding_thread': ffmpeg.c:261: warning: passing arg 4 of `avcodec_encode_audio' from incompatible pointer type ffmpeg.c:268: too many arguments to function ffmpeg.c: In function `ffmpeg_create_audio_codec': ffmpeg.c:497: `CODEC_ID_PCM_S16LE' undeclared (first use in this function) ffmpeg.c:497: (Each undeclared identifier is reported only once ffmpeg.c:497: for each function it appears in.) ffmpeg.c:526: structure has no member named `sample_fmt' ffmpeg.c:526: `SAMPLE_FMT_S16' undeclared (first use in this function) ffmpeg.c: In function `ffmpeg_encode_v4l_stream': ffmpeg.c:644: warning: assignment from incompatible pointer type ffmpeg.c:645: warning: assignment from incompatible pointer type ffmpeg.c:658: warning: passing arg 3 of `pthread_create' from incompatible pointer type packet_stream.c: In function `start_consumer_thread': packet_stream.c:71: warning: passing arg 3 of `pthread_create' from incompatible pointer type make: *** [avview_shell] Error 1 -- Peter L. Hurd Department of Psychology Assistant Professor University of Alberta Ph 780.492-3578, Fax 780.492-1768 Edmonton, Alberta http://www.psych.ualberta.ca/~phurd T6G 2E9 Canada