On Monday 25 September 2006 17:48, [EMAIL PROTECTED] wrote:
> First, v4l2-ctl and some other bits in utils/ won't build unless you
> (Temporarily!) make /usr/include/linux a symlink to
> /usr/src/linux-2.6.18/include/linux.
>
> This is Very Bad Form. /usr/include/linux should Always contain the
> headers used to compile libc, which frequently differ significantly
> from the headers that come with the kernel - even from the kernel
> libc was compiled against. If you don't believe me, ask Linus - or
> compare your distribution's header package with it's kernel source
> package.

I received a patch that adds a link to the kernel's include directory so 
these tools can be built. Distributors are notorious for not updating 
the videodev2.h header in /usr/include/linux. libc actually has nothing 
to do with this, it doesn't use videodev2.h at all.

>
> Second, whether or not the above hack is performed, i have unresolved
> symbols when probing ivtv:
>
> ivtv: Unknown symbol cx2341x_ext_ctrls
> ivtv: Unknown symbol cx2341x_ctrl_query
> ivtv: Unknown symbol cx2341x_update
> ivtv: Unknown symbol cx2341x_ctrl_get_menu
> ivtv: Unknown symbol cx2341x_log_status
> ivtv: Unknown symbol cx2341x_fill_defaults
> ivtv: Unknown symbol cx2341x_mpeg_ctrls
> ivtv: Unknown symbol cx2341x_ext_ctrls
> ivtv: Unknown symbol cx2341x_ctrl_query
> ivtv: Unknown symbol cx2341x_update
> ivtv: Unknown symbol cx2341x_ctrl_get_menu
> ivtv: Unknown symbol cx2341x_log_status
> ivtv: Unknown symbol cx2341x_fill_defaults
> ivtv: Unknown symbol cx2341x_mpeg_ctrls
>
> distro is debian/etch, gcc is "gcc (GCC) 4.1.2 20060901 (prerelease)
> (Debian 4.1.1-13)". kernel is 2.6.18 compiled from unmolested
> kernel.org sources.

Basically (and I'll update the README as well) you must turn on all 
modules in Device Drivers, Multimedia devices, Video Capture Adapters, 
Encoders and Decoders. Most distros probably don't turn them all on by 
default. In this case all missing symbols are from the 'Conexant 
CX2341x MPEG encoders' module.

I'll update the 0.8.0 release with this.

        Hans

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

Reply via email to