Re: ALSA 1.1.8 Release - POLLRDNORM undefined

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 08 Jan 2019 18:00:18 +0100,
Jay Foster wrote:
> 
> I am attempting to build the 1.1.8 release of alsa-utils and getting
> an error about POLLRDNORM (and others) undefined.  This error comes
> from axfer/waiter-select.c.  axfer/waiter-select.c includes
> "waiter.h", which includes "poll.h".  This build is for a linux
> target.
> 
> poll.h includes sys/poll.h which includes bits/poll.h, which only
> defines POLLRDNORM (and others) when __USE_XOPEN is defined (which it
> is not).
> 
> However, linux/poll.h includes asm/poll.h which includes
> asm-generic/poll.h which does define POLLRDNORM (and others).
> 
> Should I change my build to define__USE_XOPEN or should I patch
> waiter.h to include linux/poll.h instead of just poll.h?

Which libc are you using?  The POSIX man page (man poll.h) mentions
POLLRDNORM defined there, at least, on my system with glibc 2.27.


thanks,

Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux