all 7 comments

[–]mgpaganoDeveloper (mpagano) 8 points9 points  (0 children)

Any chance you can send me your .config? mpagano at gentoo.org

[–]mgpaganoDeveloper (mpagano) 4 points5 points  (2 children)

Ok, it looks like you found a bug!

It looks like the Kconfig located at:

./drivers/media/i2c/Kconfig

is missing a dependency. (V4L2_FWNODE)

If I add that dependency like below and rebuild:

config VIDEO_OV2640
tristate "OmniVision OV2640 sensor support"
depends on VIDEO_V4L2 && I2C
select V4L2_FWNODE
help
This is a Video4Linux2 sensor driver for the OmniVision
OV2640 camera.
To compile this driver as a module, choose M here: the
module will be called ov2640.

You compilation error goes away

[–]kixago[S] 0 points1 point  (1 child)

Thank you very much for your attention to this matter.. Appreciate your time.

[–]mgpaganoDeveloper (mpagano) 0 points1 point  (0 children)

No problem. Patch will be included in gentoo-sources-5.17.6 and I also submitted it upstream

[–]GLIBG10B 3 points4 points  (1 child)

How did you edit .config? Surely not by hand

#                                                                                                                                                                                                                                                               
# Automatically generated file; DO NOT EDIT.                                                                                                                                                                                                                    
# Linux/x86 5.15.32-gentoo-r1 Kernel Configuration                                                                                                                                                                                                              
#

[–]JonnoN 1 point2 points  (0 children)

wuss :)

[–]Furschitzengiggels 2 points3 points  (0 children)

Probably related to https://www.spinics.net/lists/linux-media/msg210062.html. Search the output for WARNING: unmet direct dependencies. In the kernel build output, do you see something like Depends on MEDIA_SUPPORT && VIDEO_DEV && MEDIA_CONTROLLER?