Re: pipewire 1.6.2 cannot build properly
"Zhang Wen" ([email protected] via blfs-dev Mailing List) <[email protected]> Thu, 9 Apr 2026 19:05:09 +0800
| Newsgroups | gmane.linux.lfs.beyond.devel |
|---|---|
| Message-ID | <CAKjfnjpPOU_0KF1VivCwMTByzyo3-RVsOppQ2bE+-5hmvvS5bQ@mail.gmail.com> |
This is a multi-part message in MIME format... ------------=_1775732728-1253-22774 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xi Ruoyao <[email protected]> =E4=BA=8E2026=E5=B9=B44=E6= =9C=889=E6=97=A5=E5=91=A8=E5=9B=9B 19:01=E5=86=99=E9=81=93=EF=BC=9A > > On Thu, 2026-04-09 at 18:54 +0800, Zhang Wen wrote: > > Currently the pipewire page contains > > CFLAGS=3D"-Wno-error=3Ddiscarded-qualifiers", and the build fails at > > compat.h line 437. > > Why? With the CFLAGS I get warnings there instead of errors, like: > > [150/1056] Compiling C object spa/plugins/alsa/acp/libacp.a.p/acp.c.o > In file included from ../spa/plugins/alsa/acp/device-port.h:25, > from ../spa/plugins/alsa/acp/alsa-mixer.h:82, > from ../spa/plugins/alsa/acp/acp.c:6: > ../spa/plugins/alsa/acp/compat.h: In function 'pa_path_get_filename': > ../spa/plugins/alsa/acp/compat.h:437:13: warning: assignment discards 'co= nst' qualifier from pointer target type [-Wdiscarded-qualifiers] > 437 | if ((fn =3D strrchr(p, PA_PATH_SEP_CHAR))) > | ^ > > Have you really typed the CFLAGS correctly?? > > -- > Xi Ruoyao <[email protected]> > -- > http://lists.linuxfromscratch.org/sympa/info/blfs-dev > Unsubscribe: See the above information page My fault, added the CFLAGS correctly and it works. Sorry for the noise. ------------=_1775732728-1253-22774 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- http://lists.linuxfromscratch.org/sympa/info/blfs-dev Unsubscribe: See the above information page ------------=_1775732728-1253-22774--