HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Kernel Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=6)
-   -   OpenVZ Ubuntu 10.04 and video4linux problem (http://www.howtoforge.com/forums/showthread.php?t=55273)

fe4r 6th December 2011 18:16

OpenVZ Ubuntu 10.04 and video4linux problem
 
I try to install OpenVZ in an Ubuntu 10.04 server based on
http://www.howtoforge.com/installing-and-using-openvz-on-ubuntu-10.04 gude.

After the:
Quote:

fakeroot make-kpkg --initrd --append-to-version=-ovz32 --revision=1.0 kernel_image kernel_headers
I got this

Quote:

Documentation/vm/slabinfo.c: In function βshow_trackingβ:
Documentation/vm/slabinfo.c:382: warning: format not a string literal and no format arguments
Documentation/vm/slabinfo.c:389: warning: format not a string literal and no format arguments
Documentation/vm/slabinfo.c: In function βopsβ:
Documentation/vm/slabinfo.c:403: warning: format not a string literal and no format arguments
HOSTCC Documentation/spi/spidev_fdx
Documentation/video4linux/v4lgrab.c:34:28: error: linux/videodev.h: No such file or directory
Documentation/video4linux/v4lgrab.c: In function βmainβ:
Documentation/video4linux/v4lgrab.c:103: error: storage size of βcapβ isnβt known
Documentation/video4linux/v4lgrab.c:104: error: storage size of βwinβ isnβt known
Documentation/video4linux/v4lgrab.c:105: error: storage size of βvpicβ isnβt known
Documentation/video4linux/v4lgrab.c:116: error: βVIDIOCGCAPβ undeclared (first use in this function)
Documentation/video4linux/v4lgrab.c:116: error: (Each undeclared identifier is reported only once
Documentation/video4linux/v4lgrab.c:116: error: for each function it appears in.)
Documentation/video4linux/v4lgrab.c:123: error: βVIDIOCGWINβ undeclared (first use in this function)
Documentation/video4linux/v4lgrab.c:129: error: βVIDIOCGPICTβ undeclared (first use in this function)
Documentation/video4linux/v4lgrab.c:135: error: βVID_TYPE_MONOCHROMEβ undeclared (first use in this function)
Documentation/video4linux/v4lgrab.c:137: error: βVIDEO_PALETTE_GREYβ undeclared (first use in this function)
Documentation/video4linux/v4lgrab.c:138: error: βVIDIOCSPICTβ undeclared (first use in this function)
Documentation/video4linux/v4lgrab.c:151: error: βVIDEO_PALETTE_RGB24β undeclared (first use in this function)
Documentation/video4linux/v4lgrab.c:154: error: βVIDEO_PALETTE_RGB565β undeclared (first use in this function)
Documentation/video4linux/v4lgrab.c:158: error: βVIDEO_PALETTE_RGB555β undeclared (first use in this function)
Documentation/video4linux/v4lgrab.c:105: warning: unused variable βvpicβ
Documentation/video4linux/v4lgrab.c:104: warning: unused variable βwinβ
Documentation/video4linux/v4lgrab.c:103: warning: unused variable βcapβ
make[3]: *** [Documentation/video4linux/v4lgrab] Error 1
make[2]: *** [Documentation/video4linux] Error 2
make[2]: *** Waiting for unfinished jobs....
Documentation/vm/slabinfo.c: In function βread_slab_dirβ:
Documentation/vm/slabinfo.c:1193: warning: ignoring return value of βchdirβ, declared with attribute warn_unused_re sult
Documentation/networking/ifenslave.c: In function βmainβ:
Documentation/networking/ifenslave.c:263: warning: format not a string literal and no format arguments
Documentation/networking/ifenslave.c:271: warning: format not a string literal and no format arguments
Documentation/networking/ifenslave.c:277: warning: format not a string literal and no format arguments
Documentation/networking/ifenslave.c:285: warning: format not a string literal and no format arguments
Documentation/networking/ifenslave.c:291: warning: format not a string literal and no format arguments
Documentation/networking/ifenslave.c:292: warning: format not a string literal and no format arguments
Documentation/networking/ifenslave.c:312: warning: format not a string literal and no format arguments
Documentation/networking/ifenslave.c:323: warning: format not a string literal and no format arguments
Documentation/networking/ifenslave.c:342: warning: format not a string literal and no format arguments
make[1]: *** [vmlinux] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.32-openvz'
make: *** [debian/stamp/build/kernel] Error 2

I try to uninstall the v4l-utils but it inform me that I donít have installed this


Can anybody advise me for this??

Thanks in advance...

falko 7th December 2011 14:46

Quote:

Originally Posted by fe4r (Post 268956)
Documentation/video4linux/v4lgrab.c:34:28: error: linux/videodev.h: No such file or directory

Can you try this?
Code:

sudo apt-get install linux-libc-dev

fe4r 7th December 2011 14:59

linux-libc-dev is already the newest version.

fe4r 8th December 2011 20:20

remove complete this dependent or reconfigure the kernel
 
To reactivate a little this topic.
Because this will be a web server I believe I don't care if we remove complete this dependent or reconfigure the kernel.

Any idea about that?

Thanks again.

fe4r 11th December 2011 18:36

Hi again,
Can any moderator move my thread to the kernel section please,
so maybe I get any other help in this.:confused:
Thanks.

falko 12th December 2011 19:18

Yes, I think you can leave out the video4linux stuff.

fe4r 12th December 2011 22:58

And how can i do that :) ???

fe4r 19th December 2011 16:06

Quote:

Originally Posted by falko (Post 269408)
Yes, I think you can leave out the video4linux stuff.

Can anyone know how can i exclude that? :confused:

ketlinakk 31st October 2013 16:52

nice
 
Indeed, I think you are able to rule out this video4linux things.


All times are GMT +2. The time now is 18:30.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.