Ken Moffat wrote:
Pulseaudio provides an implementation of memfd_create which
conflicts with the one memfd_wrappers.h :

In file included from pulsecore/shm.c:48:0:
./pulsecore/memfd-wrappers.h:36:19: error: static declaration of 'memfd_create' 
follows non-static declaration
  static inline int memfd_create(const char *name, unsigned int flags) {
In file included from /usr/include/bits/mman-linux.h:115:0,
                  from /usr/include/bits/mman.h:45,
                  from /usr/include/sys/mman.h:41,
                  from pulsecore/shm.c:37:
/usr/include/bits/mman-shared.h:46:5: note: previous declaration of 
'memfd_create' was here
  int memfd_create (const char *__name, unsigned int __flags) __THROW;

with patch

Since we claim to support older versions of
LFS (and 2.27 is a very recent change) I think we'd better use the
upstream patch - builds with autoreconf -fiv && intoolize -f.

This was only suppsoed to be a dry run to find the bugs in my own
buildscript changes.  Aren't toolchain changes a pleasure.

I thought I fixed that, but upon research, it never made it into the book.

Short answer:

sed -i '/int memfd_create/,+2 d' src/pulsecore/memfd-wrappers.h

  -- Bruce
Unsubscribe: See the above information page

Reply via email to