Q: vdr-1.4.0/1.4.1 fail to compile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

does anybody had a problem to compile vdr-1.4.0/1.4.1 with next error

make[1]: *** No rule to make target `sys/capability.h', needed by
`vdr.o'. Stop.

a quick check gives next

locate capability.h
/usr/include/linux/capability.h

if I modify vdr.c to look for linux/capability.h instead sys/capability.h
I am getting next error

g++ -g -O2 -Wall -Woverloaded-virtual -c -DREMOTE_KBD
-DLIRC_DEVICE=\"/dev/lircd\" -DRCU_DEVICE=\"/dev/ttyS1\"
-D_GNU_SOURCE -DVIDEODIR=\"/video\"
-DPLUGINDIR=\"./PLUGINS/lib\" vdr.c
vdr.c: In function 'bool SetCapSysTime()':
vdr.c:116: error: 'cap_t' was not declared in this scope
vdr.c:116: error: expected `;' before 'caps'
vdr.c:117: error: 'caps' was not declared in this scope
vdr.c:121: error: 'caps' was not declared in this scope
vdr.c:121: error: 'cap_set_proc' was not declared in this scope
vdr.c:123: error: 'cap_free' was not declared in this scope
vdr.c:126: error: 'caps' was not declared in this scope
vdr.c:126: error: 'cap_free' was not declared in this scope
make[1]: *** [vdr.o] Error 1

System:
OS: Mandriva 2006 (tried Mandriva 2005 with same error)
Kernel: 2.6.12-12mdk
DVB card: Nexus-S
CPU: Athlon 1200

It looks like vdr-1.4.0/1.4.1 doesn't like my capability.h and I can not
find what could be a solution. Is there requirements for newer version
of kernel?

Thanks,

Andy


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux