Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149211 - media-video/linux-uvc needs to make sure CONFIG_VIDEO_DEV is enabled
Summary: media-video/linux-uvc needs to make sure CONFIG_VIDEO_DEV is enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-26 12:03 UTC by Nathan Caldwell
Modified: 2006-10-02 03:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Caldwell 2006-09-26 12:03:25 UTC
If you unset CONFIG_VIDEO_DEV in your kernel config, linux-uvc still attempts to compile, and results in many undefined symbols.


wu-ming linux # grep CONFIG_VIDEO_DEV .config
# CONFIG_VIDEO_DEV is not set
wu-ming linux # cat /var/log/portage/media-video\:linux-uvc-0.0.1_pre51\:20060926-033216.log
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.17-beyond4
>>> Unpacking source...
>>> Unpacking linux-uvc-0.0.1_pre51.tar.bz2 to /var/tmp/portage/linux-uvc-0.0.1_pre51/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/linux-uvc-0.0.1_pre51/work/linux-uvc-0.0.1_pre51 ...
 * Preparing uvcvideo module
Building USB Video Class driver...
make[1]: Entering directory `/usr/src/linux-2.6.17-beyond4'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
  CC [M]  /var/tmp/portage/linux-uvc-0.0.1_pre51/work/linux-uvc-0.0.1_pre51/uvcvideo.o
  Building modules, stage 2.
  MODPOST
WARNING: "v4l_printk_ioctl" [/var/tmp/portage/linux-uvc-0.0.1_pre51/work/linux-uvc-0.0.1_pre51/uvcvideo.ko] undefined!
WARNING: "video_devdata" [/var/tmp/portage/linux-uvc-0.0.1_pre51/work/linux-uvc-0.0.1_pre51/uvcvideo.ko] undefined!
WARNING: "video_register_device" [/var/tmp/portage/linux-uvc-0.0.1_pre51/work/linux-uvc-0.0.1_pre51/uvcvideo.ko] undefined!
WARNING: "video_device_alloc" [/var/tmp/portage/linux-uvc-0.0.1_pre51/work/linux-uvc-0.0.1_pre51/uvcvideo.ko] undefined!
WARNING: "video_usercopy" [/var/tmp/portage/linux-uvc-0.0.1_pre51/work/linux-uvc-0.0.1_pre51/uvcvideo.ko] undefined!
WARNING: "video_unregister_device" [/var/tmp/portage/linux-uvc-0.0.1_pre51/work/linux-uvc-0.0.1_pre51/uvcvideo.ko] undefined!
WARNING: "video_device_release" [/var/tmp/portage/linux-uvc-0.0.1_pre51/work/linux-uvc-0.0.1_pre51/uvcvideo.ko] undefined!
  CC      /var/tmp/portage/linux-uvc-0.0.1_pre51/work/linux-uvc-0.0.1_pre51/uvcvideo.mod.o
  LD [M]  /var/tmp/portage/linux-uvc-0.0.1_pre51/work/linux-uvc-0.0.1_pre51/uvcvideo.ko
make[1]: Leaving directory `/usr/src/linux-2.6.17-beyond4'
>>> Source compiled.
>>> Test phase [not enabled]: media-video/linux-uvc-0.0.1_pre51

>>> Install linux-uvc-0.0.1_pre51 into /var/tmp/portage/linux-uvc-0.0.1_pre51/image/ category media-video
 * Installing uvcvideo module
>>> Completed installing linux-uvc-0.0.1_pre51 into /var/tmp/portage/linux-uvc-0.0.1_pre51/image/

man:
strip: x86_64-pc-linux-gnu-strip --strip-unneeded
 * Updating module dependencies for 2.6.17-beyond4 ...
WARNING: //lib/modules/2.6.17-beyond4/usb/media/uvcvideo.ko needs unknown symbol video_devdata
WARNING: //lib/modules/2.6.17-beyond4/usb/media/uvcvideo.ko needs unknown symbol v4l_printk_ioctl
WARNING: //lib/modules/2.6.17-beyond4/usb/media/uvcvideo.ko needs unknown symbol video_unregister_device
WARNING: //lib/modules/2.6.17-beyond4/usb/media/uvcvideo.ko needs unknown symbol video_device_alloc
WARNING: //lib/modules/2.6.17-beyond4/usb/media/uvcvideo.ko needs unknown symbol video_register_device
WARNING: //lib/modules/2.6.17-beyond4/usb/media/uvcvideo.ko needs unknown symbol video_usercopy
WARNING: //lib/modules/2.6.17-beyond4/usb/media/uvcvideo.ko needs unknown symbol video_device_release
  [ ok ]
 * Adding module to moduledb.
 * This is SVN checkout build -- against revision: 51
 * If something is broken, you should get involved, and report
 * back to the mailing list linux-uvc-devel@lists.berlios.de
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2006-10-02 03:48:22 UTC
thanks, fixed