[dev] st on OpenBSD?

From: Anthony J. Bentley <anthonyjbentley_AT_gmail.com>
Date: Sun, 22 Aug 2010 20:40:31 -0600 (MDT)

Hi guys,

I am interested in using st on OpenBSD, but it does not compile since
OpenBSD does not implement posix_openpt et al:

st.c: In function 'ttynew':
st.c:243: warning: implicit declaration of function 'posix_openpt'
st.c:245: warning: implicit declaration of function 'grantpt'
st.c:247: warning: implicit declaration of function 'unlockpt'
st.c:249: warning: implicit declaration of function 'ptsname'
st.c:249: warning: assignment makes pointer from integer without a cast
st.c:253: error: 'O_NDELAY' undeclared (first use in this function)
st.c:253: error: (Each undeclared identifier is reported only once
st.c:253: error: for each function it appears in.)
*** Error code 1

It looks like there was once effort to make it work[1] but I don’t
guess it’s still in… any advice?

1: http://lists.suckless.org/dwm/0806/6070.html
Received on Mon Aug 23 2010 - 04:40:31 CEST

This archive was generated by hypermail 2.2.0 : Mon Aug 23 2010 - 04:48:02 CEST