On Wednesday 27 July 2011 at 08:12 (CET), Alexander V. Pen'kov wrote:
On Tue, Jul 26, 2011 at 02:14:00PM +0400, Alexander V. Pen'kov wrote:
Good day! I have Centos 5.6 with all lastest updates(exec yum update). And i would like to install bird 1.3.2(bird 1.3.1 installed successfuly) but when i execute "make" it not successfuly done with result: make[2]: Leaving directory `/usr/src/bird-1.3.2/obj/client' gcc -o ../bird nest/all.o filter/all.o proto/bgp/all.o proto/ospf/all.o proto/pipe/all.o proto/rip/all.o proto/static/all.o conf/all.o lib/birdlib.a -lrt lib/birdlib.a(main.o): In function `drop_uid': /usr/src/bird-1.3.2/obj/lib/../lib/syspriv.h:49: undefined reference to `CAP_TO_MASK' /usr/src/bird-1.3.2/obj/lib/../lib/syspriv.h:49: undefined reference to `CAP_TO_MASK' /usr/src/bird-1.3.2/obj/lib/../lib/syspriv.h:49: undefined reference to `CAP_TO_MASK' /usr/src/bird-1.3.2/obj/lib/../lib/syspriv.h:49: undefined reference to `CAP_TO_MASK' collect2: ld returned 1 exit status make[1]: *** [../bird] Error 1 make[1]: Leaving directory `/usr/src/bird-1.3.2/obj' make: *** [all] Error 2
What is this problem?
This is strange, CAP_TO_MASK macro should be defined in /usr/include/linux/capability.h , do you have that file?
Yes i have [root@ltest ~]# ll /usr/include/linux/capability.h -rw-r--r-- 1 root root 8183 Jul 15 15:25 /usr/include/linux/capability.h
I'm seeing the same on really old SLES9 boxes. Slightly less older Ubuntu 8.04 boxes are affected too. Ubuntu 10.04 are not affected. Regards, Ruben Laban