[pulseaudio-tickets] [Bug 85319] New: PulseAudio fails to build on musl libc

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Oct 22 02:30:39 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=85319

            Bug ID: 85319
           Summary: PulseAudio fails to build on musl libc
           Product: PulseAudio
           Version: unspecified
          Hardware: All
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: core
          Assignee: pulseaudio-bugs at lists.freedesktop.org
          Reporter: clandmeter at gmail.com
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net

I'm receiving the following error when building PA 5.0 on Musl libc.

utils/padsp.c:2376:5: error: conflicting types for 'ioctl'
 int ioctl(int fd, unsigned long request, ...) {
     ^
In file included from utils/padsp.c:36:0:
/usr/include/sys/ioctl.h:9:5: note: previous declaration of 'ioctl' was here
 int ioctl (int, int, ...);
     ^
utils/padsp.c:2516:5: error: redefinition of 'stat'
 int stat64(const char *pathname, struct stat64 *buf) {
     ^
In file included from utils/padsp.c:40:0:
/usr/include/sys/stat.h:73:5: note: previous definition of 'stat' was here
 int stat(const char *__restrict, struct stat *__restrict);
     ^
utils/padsp.c:2550:5: warning: no previous prototype for 'open64'
[-Wmissing-prototypes]
 int open64(const char *filename, int flags, ...) {
     ^
utils/padsp.c:2574:5: warning: no previous prototype for '__open64_2'
[-Wmissing-prototypes]
 int __open64_2(const char *filename, int flags) {
     ^
utils/padsp.c:2676:7: error: redefinition of 'fopen'
 FILE *fopen64(const char *filename, const char *mode) {
       ^
In file included from utils/padsp.c:46:0:
/usr/include/stdio.h:63:7: note: previous definition of 'fopen' was here
 FILE *fopen(const char *__restrict, const char *__restrict);
       ^
Makefile:8164: recipe for target 'utils/libpulsedsp_la-padsp.lo' failed
make[3]: *** [utils/libpulsedsp_la-padsp.lo] Error 1

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20141022/b4fbd19f/attachment.html>


More information about the pulseaudio-bugs mailing list