[Slackbuilds-users] pulseaudio slackbuild

Gilles Chanteperdrix gilles.chanteperdrix at xenomai.org
Fri Mar 27 20:59:50 UTC 2015


On Sat, Mar 28, 2015 at 02:37:04AM +0700, Willy Sudiarto Raharjo wrote:
> > I am trying to build pulseaudio on slackware 14.1 from its 
> > slackbuild, but I get compilation errors. First:
> > 
> > CC     modules/module_udev_detect_la-module-udev-detect.lo 
> > modules/module-udev-detect.c: In function 'is_card_busy': 
> > modules/module-udev-detect.c:199:5: warning: implicit declaration
> > of function 'offsetof' [-Wimplicit-function-declaration] len =
> > offsetof(struct dirent, d_name) + fpathconf(dirfd(card_dir),
> > _PC_NAME_MAX) + 1; ^ modules/module-udev-detect.c:199:20: error:
> > expected expression before 'struct' len = offsetof(struct dirent,
> > d_name) + fpathconf(dirfd(card_dir), _PC_NAME_MAX) + 1; ^ make[3]:
> > *** [modules/module_udev_detect_la-module-udev-detect.lo] Error 1
> > 
> > Then if I add --disable-udev to the configure arguments:
> > 
> > daemon/dumpmodules.c: In function ‘is_preloaded’: 
> > daemon/dumpmodules.c:95:14: error: ‘lt_preloaded_symbols’
> > undeclared (first use in this function) for (l =
> > lt_preloaded_symbols; l->name; l++) { ^ daemon/dumpmodules.c:95:14:
> > note: each undeclared identifier is reported only once for each
> > function it appears in daemon/dumpmodules.c: In function
> > ‘pa_dump_modules’: daemon/dumpmodules.c:138:18: error:
> > ‘lt_preloaded_symbols’ undeclared (first use in this function) for
> > (l = lt_preloaded_symbols; l->name; l++) { ^ make[3]: ***
> > [daemon/pulseaudio-dumpmodules.o] Error 1
> > 
> > 
> > Has anyone succeeded in compiling this software for 14.1 recently?
> 
> tested on slackware64-14.1 and it's built properly
> speex:
>   MD5SUM check for speex-1.2rc2.tar.gz ... OK
>   Building package speex-1.2rc2-x86_64-1_SBo.tgz ... OK
>   Installing package speex-1.2rc2-x86_64-1_SBo.tgz ... OK
> 
> json-c:
>   MD5SUM check for json-c-0.11.tar.gz ... OK
>   Building package json-c-0.11-x86_64-1_SBo.tgz ... OK
>   Installing package json-c-0.11-x86_64-1_SBo.tgz ... OK
> 
> pulseaudio:
>   MD5SUM check for pulseaudio-5.0.tar.xz ... OK
>   Building package pulseaudio-5.0-x86_64-4_SBo.tgz ... OK
>   Installing package pulseaudio-5.0-x86_64-4_SBo.tgz ... OK
> 
> Have you installed the deps?

Could you tell me from which header your compilation gets offsetof ?
In my installation, it is not defined in any /usr/include headers.

-- 
					    Gilles.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20150327/e014b9c7/attachment.asc>


More information about the SlackBuilds-users mailing list