[vdr] VDR 1.4, 'cap_t' was not declared in this scope,
was: VDR version 1.4.0 released
M.Kiesel
vdr at continuity.cjb.net
Sun Apr 30 20:01:10 CEST 2006
On Sun, 30 Apr 2006, Klaus Schmidinger wrote:
> VDR version 1.4.0 is now available at
> ftp://ftp.cadsoft.de/vdr/vdr-1.4.0.tar.bz2
# make VFAT=1 REMOTE=LIRC NO_KBD=1
[...]
g++ -fPIC -g -O2 -Wall -Woverloaded-virtual -c -DREMOTE_LIRC
-DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE
-DVIDEODIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -DVFAT vdr.c
vdr.c:34:28: error: sys/capability.h: No such file or directory
vdr.c: In function 'bool SetCapSysTime()':
vdr.c:113: error: 'cap_t' was not declared in this scope
vdr.c:113: error: expected `;' before 'caps'
vdr.c:114: error: 'caps' was not declared in this scope
vdr.c:118: error: 'caps' was not declared in this scope
vdr.c:118: error: 'cap_set_proc' was not declared in this scope
vdr.c:120: error: 'cap_free' was not declared in this scope
vdr.c:123: error: 'caps' was not declared in this scope
vdr.c:123: error: 'cap_free' was not declared in this scope
make: *** [vdr.o] Error 1
# locate capability.h
/usr/include/linux/capability.h
/usr/src/linux-2.4.32/include/linux/capability.h
Changing the include line to #include <linux/capabilities.h> yields
# make VFAT=1 REMOTE=LIRC NO_KBD=1
g++ -fPIC -g -O2 -Wall -Woverloaded-virtual -c -DREMOTE_LIRC
-DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\" -D_GNU_SOURCE
-DVIDEODIR=\"/video\" -DPLUGINDIR=\"./PLUGINS/lib\" -DVFAT vdr.c
vdr.c: In function 'bool SetCapSysTime()':
vdr.c:113: error: 'cap_t' was not declared in this scope
vdr.c:113: error: expected `;' before 'caps'
vdr.c:114: error: 'caps' was not declared in this scope
vdr.c:118: error: 'caps' was not declared in this scope
vdr.c:118: error: 'cap_set_proc' was not declared in this scope
vdr.c:120: error: 'cap_free' was not declared in this scope
vdr.c:123: error: 'caps' was not declared in this scope
vdr.c:123: error: 'cap_free' was not declared in this scope
make: *** [vdr.o] Error 1
# g++ --version
g++ (GCC) 4.0.3 20051201 (prerelease) (Debian 4.0.2-5)
1. Any pointers concerning the cap_t problem?
2. A small note on what kernel is required for the hg driver download on
http://www.cadsoft.de/vdr/download.htm would be nice.
3. What about the runvdr script? It's fairly clear how it is supposed to
work on Linux 2.4 systems, but what about 2.6 systems? There is no
../DVB/driver dir there...
Nevertheless, I'm quite impressed that users who do not closely follow the
VDR development are not forgotten (i.e., an UPGRADE-1.2-0 document exists
:-). Thanks!
Regards
More information about the vdr
mailing list