Hi Sam,

Sam Varshavchik wrote:
> Greg Vickers writes:
> 
>> Heh...
>>
>> Greg Vickers wrote:
>>> Hi all,
>>
>> <snip>
>>
>>> echo "Run xmkmf /PATH_TO_X_SOURCE/"
>>> Run xmkmf /PATH_TO_X_SOURCE/
>>
>> Funny how once you send an email all suddenly becomes clear... I'll 
>> download the X_SOURCE (from backports.org) and try that, yeah :p I 
>> might have to ask how to download the source!
> 
> It's not as easy as that.  ivtvdriver's source is a bit old and hasn't 
> really been updated for modern x.org and kernel sources.

Ah, it's never easy.

> I'll save you some hair-pulling, and tell you exactly how I compiled 
> xdriver.
> 
> First of all, you must install not just x.org, but x.org's development 
> toolkit, including all then files in /usr/X11R6/lib/Server/include

Does that include the Driver Development Kit? In the description of the 
xserver-xorg-dev package, they say that xserver-xorg-dev is not quite 
the same as the DDK. I'm guessing that I do need to install the DDK.

> Then, after unpacking ivtvdriver's tarball, cd to 
> ivtvdrv/xc/programs/Xserver/hw/xfree86/drivers/ivtv in the ivtvdriver's 
> source package, then do this:
> 
> ln -s /usr/X11R6/lib/Server/include ../../include
> ln -s /usr/include/linux/fb.h fbpriv.h
> 
> xmkmf -a -DXF86DriverSDK
> 
> Now, you should be able to run 'make' from the same directory, and 
> actually get some useful results.

Thanks,
Greg

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

Reply via email to