On Tue, 2003-12-30 at 23:45, James Orr wrote: > Hi, > > I'm having difficulty emerging the rivatv package. > > [EMAIL PROTECTED] root # emerge rivatv > Calculating dependencies ...done! > >>> emerge (1 of 1) media-tv/rivatv-0.8.2 to / > >>> md5 src_uri ;-) rivatv-0.8.2.tar.gz > >>> Unpacking source... > >>> Unpacking rivatv-0.8.2.tar.gz to /var/tmp/portage/rivatv-0.8.2/work > >>> Source unpacked. > Checking for configured kernel headers... found > [/lib/modules/2.4.22-gentoo-r2/build] > Checking for linux kernel >= 2.4.0... yes [2.4.22-gentoo-r2] > Checking for kernel build system... found > Checking for kernel configuration... found > Checking for CONFIG_MODVERSIONS... yes > Checking for CONFIG_PCI... yes [y] > Checking for CONFIG_VIDEO_DEV... yes [m] > Checking for CONFIG_PROC_FS... yes [y] > Checking for CONFIG_I2C... yes [m] > Checking for CONFIG_I2C_ALGOBIT... yes [m] > Creating Makefile... done > Checking your current setup for incompatibilities... > Checking for /proc... yes > Checking for framebuffer... no > Checking for SMP... no > > No problems found. > To build RivaTV type `make'. For cleaning up type `make clean`. > make -C /lib/modules/2.4.22-gentoo-r2/build SUBDIRS=`pwd`/bttv modules > make[1]: Entering directory `/usr/src/linux-2.4.22-gentoo-r2' > make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent > make rule. > make -C /var/tmp/portage/rivatv-0.8.2/work/rivatv-0.8.2/bttv > CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.22-gentoo-r2/include -Wall > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common > -finline-limit=2000 -fomit-frame-pointer -pipe > -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include > /usr/src/linux-2.4.22-gentoo-r2/include/linux/modversions.h" > MAKING_MODULES=1 modules > make[2]: Entering directory > `/var/tmp/portage/rivatv-0.8.2/work/rivatv-0.8.2/bttv' > gcc -D__KERNEL__ -I/usr/src/linux-2.4.22-gentoo-r2/include -Wall > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common > -finline-limit=2000 -fomit-frame-pointer -pipe > -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include > /usr/src/linux-2.4.22-gentoo-r2/include/linux/modversions.h -nostdinc > -iwithprefix include -DKBUILD_BASENAME=tuner -c -o tuner.o tuner.c > gcc -D__KERNEL__ -I/usr/src/linux-2.4.22-gentoo-r2/include -Wall > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common > -finline-limit=2000 -fomit-frame-pointer -pipe > -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include > /usr/src/linux-2.4.22-gentoo-r2/include/linux/modversions.h -nostdinc > -iwithprefix include -DKBUILD_BASENAME=tvaudio -c -o tvaudio.o > tvaudio.c > gcc -D__KERNEL__ -I/usr/src/linux-2.4.22-gentoo-r2/include -Wall > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common > -finline-limit=2000 -fomit-frame-pointer -pipe > -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include > /usr/src/linux-2.4.22-gentoo-r2/include/linux/modversions.h -nostdinc > -iwithprefix include -DKBUILD_BASENAME=tvmixer -c -o tvmixer.o > tvmixer.c > tvmixer.c: In function `tvmixer_open': > tvmixer.c:201: structure has no member named `inc_use' > tvmixer.c:202: structure has no member named `inc_use' > tvmixer.c: In function `tvmixer_release': > tvmixer.c:216: structure has no member named `dec_use' > tvmixer.c:217: structure has no member named `dec_use' > make[2]: *** [tvmixer.o] Error 1 > make[2]: Leaving directory > `/var/tmp/portage/rivatv-0.8.2/work/rivatv-0.8.2/bttv' > make[1]: *** [_mod_/var/tmp/portage/rivatv-0.8.2/work/rivatv-0.8.2/bttv] > Error 2 > make[1]: Leaving directory `/usr/src/linux-2.4.22-gentoo-r2' > make: [all-kbuild] Error 2 (ignored) > make -C /lib/modules/2.4.22-gentoo-r2/build SUBDIRS=`pwd`/src > EXTRA_CFLAGS=-I`pwd`/bttv modules > make[1]: Entering directory `/usr/src/linux-2.4.22-gentoo-r2' > make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent > make rule. > make -C /var/tmp/portage/rivatv-0.8.2/work/rivatv-0.8.2/src > CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.22-gentoo-r2/include -Wall > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common > -finline-limit=2000 -fomit-frame-pointer -pipe > -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include > /usr/src/linux-2.4.22-gentoo-r2/include/linux/modversions.h" > MAKING_MODULES=1 modules > make[2]: Entering directory > `/var/tmp/portage/rivatv-0.8.2/work/rivatv-0.8.2/src' > gcc -D__KERNEL__ -I/usr/src/linux-2.4.22-gentoo-r2/include -Wall > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common > -finline-limit=2000 -fomit-frame-pointer -pipe > -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include > /usr/src/linux-2.4.22-gentoo-r2/include/linux/modversions.h > -I/var/tmp/portage/rivatv-0.8.2/work/rivatv-0.8.2/bttv -nostdinc > -iwithprefix include -DKBUILD_BASENAME=rivatv_driver -c -o > rivatv-driver.o rivatv-driver.c > rivatv-driver.c: In function `rivatv_video_open': > rivatv-driver.c:159: warning: implicit declaration of function > `i2c_inc_use_client' > rivatv-driver.c: In function `rivatv_video_close': > rivatv-driver.c:202: warning: implicit declaration of function > `i2c_dec_use_client' > gcc -D__KERNEL__ -I/usr/src/linux-2.4.22-gentoo-r2/include -Wall > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common > -finline-limit=2000 -fomit-frame-pointer -pipe > -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include > /usr/src/linux-2.4.22-gentoo-r2/include/linux/modversions.h > -I/var/tmp/portage/rivatv-0.8.2/work/rivatv-0.8.2/bttv -nostdinc > -iwithprefix include -DKBUILD_BASENAME=v4l_riva -c -o v4l-riva.o > v4l-riva.c > gcc -D__KERNEL__ -I/usr/src/linux-2.4.22-gentoo-r2/include -Wall > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common > -finline-limit=2000 -fomit-frame-pointer -pipe > -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS -include > /usr/src/linux-2.4.22-gentoo-r2/include/linux/modversions.h > -I/var/tmp/portage/rivatv-0.8.2/work/rivatv-0.8.2/bttv -nostdinc > -iwithprefix include -DKBUILD_BASENAME=i2c_riva -c -o i2c-riva.o > i2c-riva.c > i2c-riva.c:215: unknown field `inc_use' specified in initializer > i2c-riva.c:215: warning: initialization from incompatible pointer type > i2c-riva.c:216: unknown field `dec_use' specified in initializer > i2c-riva.c:225: unknown field `inc_use' specified in initializer > i2c-riva.c:225: warning: initialization from incompatible pointer type > i2c-riva.c:226: unknown field `dec_use' specified in initializer > i2c-riva.c:235: unknown field `inc_use' specified in initializer > i2c-riva.c:235: warning: initialization from incompatible pointer type > i2c-riva.c:236: unknown field `dec_use' specified in initializer > make[2]: *** [i2c-riva.o] Error 1 > make[2]: Leaving directory > `/var/tmp/portage/rivatv-0.8.2/work/rivatv-0.8.2/src' > make[1]: *** [_mod_/var/tmp/portage/rivatv-0.8.2/work/rivatv-0.8.2/src] > Error 2 > make[1]: Leaving directory `/usr/src/linux-2.4.22-gentoo-r2' > make: *** [all-kbuild] Error 2 > > !!! ERROR: media-tv/rivatv-0.8.2 failed. > !!! Function src_compile, Line 19, Exitcode 2 > !!! (no error message) > > Any ideas?
OK, I managed to find some vague references to i2c not working right with gentoo-sources, so I emerged vanilla-sources (2.4.23) and rivatv emerged with that no problems. -- James Orr <[EMAIL PROTECTED]> -- [EMAIL PROTECTED] mailing list
