[lfs-support] Error while compiling Pulseaudio in BLFS-7.9

Bruce Dubbs bruce.dubbs at gmail.com
Tue May 24 00:15:43 PDT 2016


Nagasayanam,V.S wrote:
> Hello.
> I have compiled LFS and BLFS a couple of times earlier, thanks to the
> excellent book. Now, I have installed Seamonkey in BLFS-7.9 before
> installing VLC but I am facing problem with Pulseaudio-8.0. This is the
> first time I am compiling this. The error message is given below:
> =====================================================================================
>
>   CCLD     pulseaudio
> daemon/pulseaudio-caps.o: In function `pa_drop_caps':
> /xc/pulseaudio-8.0/src/daemon/caps.c:83: undefined reference to `cap_init'
> /xc/pulseaudio-8.0/src/daemon/caps.c:84: undefined reference to `cap_clear'
> /xc/pulseaudio-8.0/src/daemon/caps.c:85: undefined reference to
> `cap_set_proc'
> /xc/pulseaudio-8.0/src/daemon/caps.c:86: undefined reference to `cap_free'
> collect2: error: ld returned 1 exit status
> Makefile:6667: recipe for target 'pulseaudio' failed
> make[3]: *** [pulseaudio] Error 1
> make[3]: Leaving directory '/xc/pulseaudio-8.0/src'
> Makefile:4849: recipe for target 'all' failed
> make[2]: *** [all] Error 2
> make[2]: Leaving directory '/xc/pulseaudio-8.0/src'
> Makefile:803: recipe for target 'all-recursive' failed
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/xc/pulseaudio-8.0'
> Makefile:618: recipe for target 'all' failed
> make: *** [all] Error 2
> ===========================================================================================
> Can you please help in resolving this problem? I have tried checking C
> source and 'h' files but could not make out the problem.

Perhaps this will help:

cap_init is defined in /usr/include/sys/capability.h and that should have 
been installed as a part of LFS in the libcap package.

   -- Bruce



More information about the lfs-support mailing list