pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [Linux] graphics/libv4l compilation error
On Mon, Jul 13, 2015 at 08:02:30PM +0530, Mayuresh wrote:
> log.c:28:28: fatal error: linux/videodev.h: No such file or directory
> #include <linux/videodev.h>
A web page suggests hacking this file by creating a soft link, such as this link
http://askubuntu.com/questions/203630/easy-install-pygame-not-working-due-to-linux-videodev-h-no-such-file-or-direct
Isn't that quite unclean?
Anyway, that leads to host of other errors:
log.c:66:6: error: 'VIDIOCKEY' undeclared here (not in a function)
[_IOC_NR(VIDIOCKEY)] = "VIDIOCKEY",
^
log.c:66:2: error: array index in initializer not of integer type
[_IOC_NR(VIDIOCKEY)] = "VIDIOCKEY",
^
log.c:66:2: error: (near initialization for 'v4l1_ioctls')
log.c:74:6: error: 'VIDIOCGUNIT' undeclared here (not in a function)
[_IOC_NR(VIDIOCGUNIT)] = "VIDIOCGUNIT",
^
log.c:74:2: error: array index in initializer not of integer type
[_IOC_NR(VIDIOCGUNIT)] = "VIDIOCGUNIT",
^
log.c:74:2: error: (near initialization for 'v4l1_ioctls')
log.c:75:6: error: 'VIDIOCGCAPTURE' undeclared here (not in a function)
[_IOC_NR(VIDIOCGCAPTURE)] = "VIDIOCGCAPTURE",
^
log.c:75:2: error: array index in initializer not of integer type
[_IOC_NR(VIDIOCGCAPTURE)] = "VIDIOCGCAPTURE",
^
log.c:75:2: error: (near initialization for 'v4l1_ioctls')
log.c:76:6: error: 'VIDIOCSCAPTURE' undeclared here (not in a function)
[_IOC_NR(VIDIOCSCAPTURE)] = "VIDIOCSCAPTURE",
^
log.c:76:2: error: array index in initializer not of integer type
[_IOC_NR(VIDIOCSCAPTURE)] = "VIDIOCSCAPTURE",
^
log.c:76:2: error: (near initialization for 'v4l1_ioctls')
log.c:77:6: error: 'VIDIOCSPLAYMODE' undeclared here (not in a function)
[_IOC_NR(VIDIOCSPLAYMODE)] = "VIDIOCSPLAYMODE",
^
log.c:77:2: error: array index in initializer not of integer type
[_IOC_NR(VIDIOCSPLAYMODE)] = "VIDIOCSPLAYMODE",
^
log.c:77:2: error: (near initialization for 'v4l1_ioctls')
log.c:78:6: error: 'VIDIOCSWRITEMODE' undeclared here (not in a function)
[_IOC_NR(VIDIOCSWRITEMODE)] = "VIDIOCSWRITEMODE",
^
log.c:78:2: error: array index in initializer not of integer type
[_IOC_NR(VIDIOCSWRITEMODE)] = "VIDIOCSWRITEMODE",
^
log.c:78:2: error: (near initialization for 'v4l1_ioctls')
log.c:79:6: error: 'VIDIOCGPLAYINFO' undeclared here (not in a function)
[_IOC_NR(VIDIOCGPLAYINFO)] = "VIDIOCGPLAYINFO",
^
log.c:79:2: error: array index in initializer not of integer type
[_IOC_NR(VIDIOCGPLAYINFO)] = "VIDIOCGPLAYINFO",
^
log.c:79:2: error: (near initialization for 'v4l1_ioctls')
log.c:80:6: error: 'VIDIOCSMICROCODE' undeclared here (not in a function)
[_IOC_NR(VIDIOCSMICROCODE)] = "VIDIOCSMICROCODE",
^
log.c:80:2: error: array index in initializer not of integer type
[_IOC_NR(VIDIOCSMICROCODE)] = "VIDIOCSMICROCODE",
^
log.c:80:2: error: (near initialization for 'v4l1_ioctls')
make[1]: *** [log.o] Error 1
make: *** [all] Error 2
Home |
Main Index |
Thread Index |
Old Index