Re: ov511 module does not build

From: Adrian Bunk
Date: Wed Jul 04 2007 - 22:54:11 EST


On Wed, Jul 04, 2007 at 12:23:57AM +0100, Sid Boyce wrote:
> With the same setup in .config for linux-2.6.22-rc2-git7, it builds, after
> that and right up to linux-2.6.22-rc7-git1 it doesn't.
> /usr/src/linux-2.6.22-rc2-git7/drivers/media/video/ov511.ko
> # CONFIG_VIDEO_V4L1 is not set
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

That's the problem.

> CONFIG_VIDEO_V4L1_COMPAT=y
> In any of the 2.6.22-rc kernels, there is no option to select OV511.
> tindog:/usr/src/linux-2.6.22-rc2-git7 # grep -i ov511 .config
> tindog:/usr/src/linux-2.6.22-rc2-git7 #
>
> tindog:/usr/src/linux-2.6.22-rc7-git1 # diff
> ../linux-2.6.22-rc2-git7/drivers/media/video/Kconfig
> drivers/media/video/Kconfig
> 14c14
> < if VIDEO_CAPTURE_DRIVERS
> ---
> > if VIDEO_CAPTURE_DRIVERS && VIDEO_DEV
> 694c694
> < if V4L_USB_DRIVERS
> ---
> > if V4L_USB_DRIVERS && USB
> tindog:/usr/src/linux-2.6.22-rc7-git1 # grep V4L .config
> # CONFIG_VIDEO_V4L1 is not set
> CONFIG_VIDEO_V4L1_COMPAT=y
> CONFIG_VIDEO_V4L2=y
> CONFIG_V4L_USB_DRIVERS=y
>
> tindog:/usr/src/linux-2.6.22-rc2-git7 # grep V4L .config
> # CONFIG_VIDEO_V4L1 is not set

If it built with this version and this .config, something went wrong.

Are you sure this is the correct .config that built the ov511 module?

> CONFIG_VIDEO_V4L1_COMPAT=y
> CONFIG_VIDEO_V4L2=y
> # CONFIG_V4L_USB_DRIVERS is not set
>
> Still does not build for 2.6.22-rc7-git2 with .config set with
>
> # CONFIG_V4L_USB_DRIVERS is not set
>
> Regards
> Sid.
> --
> Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
> Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
> Specialist, Cricket Coach
> Microsoft Windows Free Zone - Linux used for all Computing Tasks
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/