Subject: "error: `pselect' undeclared" on NetBSD 2.0_STABLE
To: None <>
From: Geert Hendrickx <>
List: tech-pkg
Date: 09/11/2005 22:00:31
I'm trying to create a pkgsrc package for the audio mixing program "mixxx",
but I can't compile it on NetBSD 2.0_STABLE: 

midiobjectoss.cpp: In member function `virtual void MidiObjectOSS::run()':
midiobjectoss.cpp:112: error: `pselect' undeclared (first use this function)
midiobjectoss.cpp:112: error: (Each undeclared identifier is reported only once for each function it appears in.)
*** Error code 1

whereas this is no problem on NetBSD 3.0_BETA.  Apparantly, netbsd-3 has a
pselect(2) call but netbsd-2 not.  What can I do about this?  Is there some
package providing this functionality, or some other thing I can use to
replace this?