On Mon, Jun 23, 2008 at 4:12 PM, Elizabeth Dodd <[EMAIL PROTECTED]> wrote:
> On Mon, 23 Jun 2008, Sander Sweers wrote:
>> On ma, 2008-06-23 at 06:58 +1000, Elizabeth Dodd wrote:
>> > I'm rebuilding my Freevo box with a Gentoo base instead of Debian.
>> > Kernel is 2.6.24 so ivtv is in the kernel.
>> > Debian had ivtv-utils but Gentoo has some different packages
>> > Which do I emerge to get the utilities?
>>
>> You emerge media-tv/ivtv but this won't work unless you make your own
>> ebuild or patch the current one. See
>> http://bugs.gentoo.org/show_bug.cgi?id=207874
>>
>> Greets
>> Sander
>>
>
> Thanks
> I failed to find the ebuild to edit it
> so I thought I'd try compiling v1.1.0
> which failed (see below)
>
> so i compiled v1.0.3 which compiled and installed fine.
>
>
> telly ivtv-1.1.0 # make
> make -C i2c-drivers all
> make[1]: Entering directory `/tmp/ivtv-1.1.0/i2c-drivers'
> make -C /lib/modules/2.6.24-gentoo-r8/build M=/tmp/ivtv-1.1.0/i2c-drivers
> modules
> make[2]: Entering directory `/usr/src/linux-2.6.24-gentoo-r8'
> CC [M] /tmp/ivtv-1.1.0/i2c-drivers/saa717x.o
> Building modules, stage 2.
> MODPOST 1 modules
> CC /tmp/ivtv-1.1.0/i2c-drivers/saa717x.mod.o
> LD [M] /tmp/ivtv-1.1.0/i2c-drivers/saa717x.ko
> make[2]: Leaving directory `/usr/src/linux-2.6.24-gentoo-r8'
> make[1]: Leaving directory `/tmp/ivtv-1.1.0/i2c-drivers'
> make -C utils all
> make[1]: Entering directory `/tmp/ivtv-1.1.0/utils'
> created ivtv-svnversion.h
> g++ -D_GNU_SOURCE -O2 -Wall -g -c -o v4l2-ctl.o v4l2-ctl.cpp
> v4l2-ctl.cpp:802: warning: 'char* pts_to_string(char*, long unsigned int)'
> defined but not used
> g++ -lm -o v4l2-ctl v4l2-ctl.o
> g++ -D_GNU_SOURCE -O2 -Wall -g -c -o v4l2-dbg.o v4l2-dbg.cpp
> g++ -D_GNU_SOURCE -O2 -Wall -g -c -o v4l2-driverids.o v4l2-driverids.cpp
> g++ -D_GNU_SOURCE -O2 -Wall -g -c -o v4l2-chipids.o v4l2-chipids.cpp
> g++ -lm -o v4l2-dbg v4l2-dbg.o v4l2-driverids.o v4l2-chipids.o
> cc -D_GNU_SOURCE -O2 -Wall -g -c -o ivtvctl.o ivtvctl.c
> ivtvctl.c:66:24: error: linux/ivtv.h: No such file or directory
I just had this exact same issue last night ("error: linux/ivtv.h: No
such file or directory").
The problem is gentoo specific. Gentoo separates the kernel header
files into its own separate package. This can cause confusion when you
try to compile a newer kernel without the newer headers. In my case, I
was compiling ivtv for linux kernel 2.6.25 (~x86
gentoo-sources-2.6.25-r5 with reiser4 patch), while my header files
were 2.6.23(? dont know for sure).
I fixed it by renaming the existing /usr/include/linux directory to
linux.old and symlinking /usr/include/linux to
/usr/src/linux/include/linux.
Also make sure that /usr/src/linux is a symlink to your 2.6.24 kernel,
if applicable.
I suppose the proper way to solve this would have been to emerge the
matching header files. Not sure why I didnt think of that last night.
_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users