autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force 
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /usr/bin/autoconf --force
configure.ac:13: warning: The macro 'AC_CONFIG_HEADER' is obsolete.
configure.ac:13: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:13: the top level
configure.ac:1730: warning: The macro 'AC_HEADER_STDC' is obsolete.
configure.ac:1730: You should run autoupdate.
./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from...
configure.ac:1730: the top level
configure.ac:3576: warning: The macro 'AC_HEADER_TIME' is obsolete.
configure.ac:3576: You should run autoupdate.
./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from...
configure.ac:3576: the top level
autoreconf: running: /usr/bin/autoheader --force
autoreconf: configure.ac: not using Automake
autoreconf: './config.sub' is updated
autoreconf: './config.guess' is updated
autoreconf: './install-sh' is updated
autoreconf: Leaving directory '.'
Python/ast.c: In function ‘ast_for_import_stmt’:
Python/ast.c:2624:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
 2624 |             if (!import_alias)
      |             ^~
In file included from Include/Python-ast.h:3,
                 from Python/ast.c:7:
Include/asdl.h:42:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   42 | #define asdl_seq_SET(S, I, V) (S)->elements[I] = (V)
      |                               ^
Python/ast.c:2626:17: note: in expansion of macro ‘asdl_seq_SET’
 2626 |                 asdl_seq_SET(aliases, 0, import_alias);
      |                 ^~~~~~~~~~~~
Python/ast.c:2631:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
 2631 |                 if (!import_alias)
      |                 ^~
Include/asdl.h:42:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
   42 | #define asdl_seq_SET(S, I, V) (S)->elements[I] = (V)
      |                               ^
Python/ast.c:2633:21: note: in expansion of macro ‘asdl_seq_SET’
 2633 |                     asdl_seq_SET(aliases, i / 2, import_alias);
      |                     ^~~~~~~~~~~~
Python/random.c:300:1: warning: ‘dev_urandom_close’ defined but not used [-Wunused-function]
  300 | dev_urandom_close(void)
      | ^~~~~~~~~~~~~~~~~
Python/random.c:208:1: warning: ‘dev_urandom_python’ defined but not used [-Wunused-function]
  208 | dev_urandom_python(char *buffer, Py_ssize_t size)
      | ^~~~~~~~~~~~~~~~~~
Python/random.c:177:1: warning: ‘dev_urandom_noraise’ defined but not used [-Wunused-function]
  177 | dev_urandom_noraise(unsigned char *buffer, Py_ssize_t size)
      | ^~~~~~~~~~~~~~~~~~~
./Modules/signalmodule.c: In function ‘signal_siginterrupt’:
./Modules/signalmodule.c:395:5: warning: ‘siginterrupt’ is deprecated: Use sigaction with SA_RESTART instead [-Wdeprecated-declarations]
  395 |     if (siginterrupt(sig_num, flag)<0) {
      |     ^~
In file included from Include/pyfpe.h:129,
                 from Include/Python.h:159,
                 from ./Modules/signalmodule.c:6:
/usr/include/signal.h:324:12: note: declared here
  324 | extern int siginterrupt (int __sig, int __interrupt) __THROW
      |            ^~~~~~~~~~~~
/usr/bin/ld: Modules/posixmodule.o: in function `posix_tempnam':
/var/pisi/python-2.7.18-52/work/Python-2.7.18/./Modules/posixmodule.c:7595:(.text+0xad0): warning: the use of `tempnam' is dangerous, better use `mkstemp'
/usr/bin/ld: Modules/posixmodule.o: in function `posix_tmpnam':
/var/pisi/python-2.7.18-52/work/Python-2.7.18/./Modules/posixmodule.c:7648:(.text+0x9b3): warning: the use of `tmpnam_r' is dangerous, better use `mkstemp'
In file included from Include/Python.h:159,
                 from /var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/mathmodule.c:55:
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/mathmodule.c: In function ‘math_fsum’:
Include/pyfpe.h:164:64: warning: passing argument 1 of ‘PyFPE_dummy’ discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  164 | #define PyFPE_END_PROTECT(v) PyFPE_counter -= (int)PyFPE_dummy(&(v));
      |                                                                ^~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/mathmodule.c:1072:5: note: in expansion of macro ‘PyFPE_END_PROTECT’
 1072 |     PyFPE_END_PROTECT(hi)
      |     ^~~~~~~~~~~~~~~~~
Include/pyfpe.h:134:27: note: expected ‘void *’ but argument is of type ‘volatile double *’
  134 | extern double PyFPE_dummy(void *);
      |                           ^~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/timemodule.c: In function ‘floattime’:
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/timemodule.c:1019:9: warning: ‘ftime’ is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations]
 1019 |         ftime(&t);
      |         ^~~~~
In file included from /var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/timemodule.c:31:
/usr/include/sys/timeb.h:29:12: note: declared here
   29 | extern int ftime (struct timeb *__timebuf)
      |            ^~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/timemodule.c: In function ‘floattime’:
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/timemodule.c:1019:9: warning: ‘ftime’ is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations]
 1019 |         ftime(&t);
      |         ^~~~~
In file included from /var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/timemodule.c:31:
/usr/include/sys/timeb.h:29:12: note: declared here
   29 | extern int ftime (struct timeb *__timebuf)
      |            ^~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/readline.c: In function ‘setup_readline’:
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/readline.c:955:37: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  955 |     completer_word_break_characters =
      |                                     ^
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/timemodule.c: In function ‘floattime’:
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/timemodule.c:1019:9: warning: ‘ftime’ is deprecated: Use gettimeofday or clock_gettime instead [-Wdeprecated-declarations]
 1019 |         ftime(&t);
      |         ^~~~~
In file included from /var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/timemodule.c:31:
/usr/include/sys/timeb.h:29:12: note: declared here
   29 | extern int ftime (struct timeb *__timebuf)
      |            ^~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:62:17: error: ‘AFMT_MU_LAW’ undeclared here (not in a function)
   62 |     {  8,       AFMT_MU_LAW, "logarithmic mu-law 8-bit audio" },
      |                 ^~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:63:17: error: ‘AFMT_A_LAW’ undeclared here (not in a function)
   63 |     {  8,       AFMT_A_LAW,  "logarithmic A-law 8-bit audio" },
      |                 ^~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:64:17: error: ‘AFMT_U8’ undeclared here (not in a function)
   64 |     {  8,       AFMT_U8,     "linear unsigned 8-bit audio" },
      |                 ^~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:65:17: error: ‘AFMT_S8’ undeclared here (not in a function)
   65 |     {  8,       AFMT_S8,     "linear signed 8-bit audio" },
      |                 ^~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:66:17: error: ‘AFMT_U16_BE’ undeclared here (not in a function)
   66 |     { 16,       AFMT_U16_BE, "linear unsigned 16-bit big-endian audio" },
      |                 ^~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:67:17: error: ‘AFMT_U16_LE’ undeclared here (not in a function)
   67 |     { 16,       AFMT_U16_LE, "linear unsigned 16-bit little-endian audio" },
      |                 ^~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:68:17: error: ‘AFMT_S16_BE’ undeclared here (not in a function)
   68 |     { 16,       AFMT_S16_BE, "linear signed 16-bit big-endian audio" },
      |                 ^~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:69:17: error: ‘AFMT_S16_LE’ undeclared here (not in a function)
   69 |     { 16,       AFMT_S16_LE, "linear signed 16-bit little-endian audio" },
      |                 ^~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:70:17: error: ‘AFMT_S16_NE’ undeclared here (not in a function)
   70 |     { 16,       AFMT_S16_NE, "linear signed 16-bit native-endian audio" },
      |                 ^~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c: In function ‘newladobject’:
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:127:40: error: ‘SNDCTL_DSP_NONBLOCK’ undeclared (first use in this function)
  127 |     if (imode == O_WRONLY && ioctl(fd, SNDCTL_DSP_NONBLOCK, NULL) == -1) {
      |                                        ^~~~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:127:40: note: each undeclared identifier is reported only once for each function it appears in
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:132:19: error: ‘SNDCTL_DSP_GETFMTS’ undeclared (first use in this function)
  132 |     if (ioctl(fd, SNDCTL_DSP_GETFMTS, &afmts) == -1) {
      |                   ^~~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c: In function ‘lad_setparameters’:
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:288:27: error: ‘SNDCTL_DSP_SETFMT’ undeclared (first use in this function)
  288 |     if (ioctl(self->x_fd, SNDCTL_DSP_SETFMT,
      |                           ^~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:293:27: error: ‘SNDCTL_DSP_CHANNELS’ undeclared (first use in this function)
  293 |     if (ioctl(self->x_fd, SNDCTL_DSP_CHANNELS, &nchannels) == -1) {
      |                           ^~~~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:297:27: error: ‘SNDCTL_DSP_SPEED’ undeclared (first use in this function)
  297 |     if (ioctl(self->x_fd, SNDCTL_DSP_SPEED, &rate) == -1) {
      |                           ^~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c: In function ‘_ssize’:
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:312:27: error: ‘SNDCTL_DSP_SETFMT’ undeclared (first use in this function)
  312 |     if (ioctl(self->x_fd, SNDCTL_DSP_SETFMT, &fmt) < 0)
      |                           ^~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:328:10: error: ‘AFMT_MPEG’ undeclared (first use in this function)
  328 |     case AFMT_MPEG:
      |          ^~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:329:10: error: ‘AFMT_IMA_ADPCM’ undeclared (first use in this function)
  329 |     case AFMT_IMA_ADPCM:
      |          ^~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:333:27: error: ‘SNDCTL_DSP_CHANNELS’ undeclared (first use in this function)
  333 |     if (ioctl(self->x_fd, SNDCTL_DSP_CHANNELS, nchannels) < 0)
      |                           ^~~~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c: In function ‘lad_bufsize’:
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:344:5: error: unknown type name ‘audio_buf_info’
  344 |     audio_buf_info ai;
      |     ^~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:351:27: error: ‘SNDCTL_DSP_GETOSPACE’ undeclared (first use in this function)
  351 |     if (ioctl(self->x_fd, SNDCTL_DSP_GETOSPACE, &ai) < 0) {
      |                           ^~~~~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:355:30: error: request for member ‘fragstotal’ in something not a structure or union
  355 |     return PyInt_FromLong((ai.fragstotal * ai.fragsize) / (nchannels * ssize));
      |                              ^
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:355:46: error: request for member ‘fragsize’ in something not a structure or union
  355 |     return PyInt_FromLong((ai.fragstotal * ai.fragsize) / (nchannels * ssize));
      |                                              ^
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c: In function ‘lad_obufcount’:
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:363:5: error: unknown type name ‘audio_buf_info’
  363 |     audio_buf_info ai;
      |     ^~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:370:27: error: ‘SNDCTL_DSP_GETOSPACE’ undeclared (first use in this function)
  370 |     if (ioctl(self->x_fd, SNDCTL_DSP_GETOSPACE, &ai) < 0) {
      |                           ^~~~~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:374:30: error: request for member ‘fragstotal’ in something not a structure or union
  374 |     return PyInt_FromLong((ai.fragstotal * ai.fragsize - ai.bytes) /
      |                              ^
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:374:46: error: request for member ‘fragsize’ in something not a structure or union
  374 |     return PyInt_FromLong((ai.fragstotal * ai.fragsize - ai.bytes) /
      |                                              ^
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:374:60: error: request for member ‘bytes’ in something not a structure or union
  374 |     return PyInt_FromLong((ai.fragstotal * ai.fragsize - ai.bytes) /
      |                                                            ^
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c: In function ‘lad_obuffree’:
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:383:5: error: unknown type name ‘audio_buf_info’
  383 |     audio_buf_info ai;
      |     ^~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:390:27: error: ‘SNDCTL_DSP_GETOSPACE’ undeclared (first use in this function)
  390 |     if (ioctl(self->x_fd, SNDCTL_DSP_GETOSPACE, &ai) < 0) {
      |                           ^~~~~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:394:29: error: request for member ‘bytes’ in something not a structure or union
  394 |     return PyInt_FromLong(ai.bytes / (ssize * nchannels));
      |                             ^
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c: In function ‘lad_flush’:
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:401:27: error: ‘SNDCTL_DSP_SYNC’ undeclared (first use in this function)
  401 |     if (ioctl(self->x_fd, SNDCTL_DSP_SYNC, NULL) == -1) {
      |                           ^~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c: In function ‘lad_getptr’:
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:411:5: error: unknown type name ‘count_info’
  411 |     count_info info;
      |     ^~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:415:15: error: ‘SNDCTL_DSP_GETIPTR’ undeclared (first use in this function)
  415 |         req = SNDCTL_DSP_GETIPTR;
      |               ^~~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:417:15: error: ‘SNDCTL_DSP_GETOPTR’ undeclared (first use in this function)
  417 |         req = SNDCTL_DSP_GETOPTR;
      |               ^~~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:422:37: error: request for member ‘bytes’ in something not a structure or union
  422 |     return Py_BuildValue("iii", info.bytes, info.blocks, info.ptr);
      |                                     ^
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:422:49: error: request for member ‘blocks’ in something not a structure or union
  422 |     return Py_BuildValue("iii", info.bytes, info.blocks, info.ptr);
      |                                                 ^
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:422:62: error: request for member ‘ptr’ in something not a structure or union
  422 |     return Py_BuildValue("iii", info.bytes, info.blocks, info.ptr);
      |                                                              ^
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:62:17: error: ‘AFMT_MU_LAW’ undeclared here (not in a function)
   62 |     {  8,       AFMT_MU_LAW, "logarithmic mu-law 8-bit audio" },
      |                 ^~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:63:17: error: ‘AFMT_A_LAW’ undeclared here (not in a function)
   63 |     {  8,       AFMT_A_LAW,  "logarithmic A-law 8-bit audio" },
      |                 ^~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:64:17: error: ‘AFMT_U8’ undeclared here (not in a function)
   64 |     {  8,       AFMT_U8,     "linear unsigned 8-bit audio" },
      |                 ^~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:65:17: error: ‘AFMT_S8’ undeclared here (not in a function)
   65 |     {  8,       AFMT_S8,     "linear signed 8-bit audio" },
      |                 ^~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:66:17: error: ‘AFMT_U16_BE’ undeclared here (not in a function)
   66 |     { 16,       AFMT_U16_BE, "linear unsigned 16-bit big-endian audio" },
      |                 ^~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:67:17: error: ‘AFMT_U16_LE’ undeclared here (not in a function)
   67 |     { 16,       AFMT_U16_LE, "linear unsigned 16-bit little-endian audio" },
      |                 ^~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:68:17: error: ‘AFMT_S16_BE’ undeclared here (not in a function)
   68 |     { 16,       AFMT_S16_BE, "linear signed 16-bit big-endian audio" },
      |                 ^~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:69:17: error: ‘AFMT_S16_LE’ undeclared here (not in a function)
   69 |     { 16,       AFMT_S16_LE, "linear signed 16-bit little-endian audio" },
      |                 ^~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:70:17: error: ‘AFMT_S16_NE’ undeclared here (not in a function)
   70 |     { 16,       AFMT_S16_NE, "linear signed 16-bit native-endian audio" },
      |                 ^~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c: In function ‘newladobject’:
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:127:40: error: ‘SNDCTL_DSP_NONBLOCK’ undeclared (first use in this function)
  127 |     if (imode == O_WRONLY && ioctl(fd, SNDCTL_DSP_NONBLOCK, NULL) == -1) {
      |                                        ^~~~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:127:40: note: each undeclared identifier is reported only once for each function it appears in
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:132:19: error: ‘SNDCTL_DSP_GETFMTS’ undeclared (first use in this function)
  132 |     if (ioctl(fd, SNDCTL_DSP_GETFMTS, &afmts) == -1) {
      |                   ^~~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c: In function ‘lad_setparameters’:
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:288:27: error: ‘SNDCTL_DSP_SETFMT’ undeclared (first use in this function)
  288 |     if (ioctl(self->x_fd, SNDCTL_DSP_SETFMT,
      |                           ^~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:293:27: error: ‘SNDCTL_DSP_CHANNELS’ undeclared (first use in this function)
  293 |     if (ioctl(self->x_fd, SNDCTL_DSP_CHANNELS, &nchannels) == -1) {
      |                           ^~~~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:297:27: error: ‘SNDCTL_DSP_SPEED’ undeclared (first use in this function)
  297 |     if (ioctl(self->x_fd, SNDCTL_DSP_SPEED, &rate) == -1) {
      |                           ^~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c: In function ‘_ssize’:
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:312:27: error: ‘SNDCTL_DSP_SETFMT’ undeclared (first use in this function)
  312 |     if (ioctl(self->x_fd, SNDCTL_DSP_SETFMT, &fmt) < 0)
      |                           ^~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:328:10: error: ‘AFMT_MPEG’ undeclared (first use in this function)
  328 |     case AFMT_MPEG:
      |          ^~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:329:10: error: ‘AFMT_IMA_ADPCM’ undeclared (first use in this function)
  329 |     case AFMT_IMA_ADPCM:
      |          ^~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:333:27: error: ‘SNDCTL_DSP_CHANNELS’ undeclared (first use in this function)
  333 |     if (ioctl(self->x_fd, SNDCTL_DSP_CHANNELS, nchannels) < 0)
      |                           ^~~~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c: In function ‘lad_bufsize’:
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:344:5: error: unknown type name ‘audio_buf_info’
  344 |     audio_buf_info ai;
      |     ^~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:351:27: error: ‘SNDCTL_DSP_GETOSPACE’ undeclared (first use in this function)
  351 |     if (ioctl(self->x_fd, SNDCTL_DSP_GETOSPACE, &ai) < 0) {
      |                           ^~~~~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:355:30: error: request for member ‘fragstotal’ in something not a structure or union
  355 |     return PyInt_FromLong((ai.fragstotal * ai.fragsize) / (nchannels * ssize));
      |                              ^
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:355:46: error: request for member ‘fragsize’ in something not a structure or union
  355 |     return PyInt_FromLong((ai.fragstotal * ai.fragsize) / (nchannels * ssize));
      |                                              ^
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c: In function ‘lad_obufcount’:
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:363:5: error: unknown type name ‘audio_buf_info’
  363 |     audio_buf_info ai;
      |     ^~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:370:27: error: ‘SNDCTL_DSP_GETOSPACE’ undeclared (first use in this function)
  370 |     if (ioctl(self->x_fd, SNDCTL_DSP_GETOSPACE, &ai) < 0) {
      |                           ^~~~~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:374:30: error: request for member ‘fragstotal’ in something not a structure or union
  374 |     return PyInt_FromLong((ai.fragstotal * ai.fragsize - ai.bytes) /
      |                              ^
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:374:46: error: request for member ‘fragsize’ in something not a structure or union
  374 |     return PyInt_FromLong((ai.fragstotal * ai.fragsize - ai.bytes) /
      |                                              ^
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:374:60: error: request for member ‘bytes’ in something not a structure or union
  374 |     return PyInt_FromLong((ai.fragstotal * ai.fragsize - ai.bytes) /
      |                                                            ^
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c: In function ‘lad_obuffree’:
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:383:5: error: unknown type name ‘audio_buf_info’
  383 |     audio_buf_info ai;
      |     ^~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:390:27: error: ‘SNDCTL_DSP_GETOSPACE’ undeclared (first use in this function)
  390 |     if (ioctl(self->x_fd, SNDCTL_DSP_GETOSPACE, &ai) < 0) {
      |                           ^~~~~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:394:29: error: request for member ‘bytes’ in something not a structure or union
  394 |     return PyInt_FromLong(ai.bytes / (ssize * nchannels));
      |                             ^
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c: In function ‘lad_flush’:
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:401:27: error: ‘SNDCTL_DSP_SYNC’ undeclared (first use in this function)
  401 |     if (ioctl(self->x_fd, SNDCTL_DSP_SYNC, NULL) == -1) {
      |                           ^~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c: In function ‘lad_getptr’:
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:411:5: error: unknown type name ‘count_info’
  411 |     count_info info;
      |     ^~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:415:15: error: ‘SNDCTL_DSP_GETIPTR’ undeclared (first use in this function)
  415 |         req = SNDCTL_DSP_GETIPTR;
      |               ^~~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:417:15: error: ‘SNDCTL_DSP_GETOPTR’ undeclared (first use in this function)
  417 |         req = SNDCTL_DSP_GETOPTR;
      |               ^~~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:422:37: error: request for member ‘bytes’ in something not a structure or union
  422 |     return Py_BuildValue("iii", info.bytes, info.blocks, info.ptr);
      |                                     ^
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:422:49: error: request for member ‘blocks’ in something not a structure or union
  422 |     return Py_BuildValue("iii", info.bytes, info.blocks, info.ptr);
      |                                                 ^
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:422:62: error: request for member ‘ptr’ in something not a structure or union
  422 |     return Py_BuildValue("iii", info.bytes, info.blocks, info.ptr);
      |                                                              ^
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:62:17: error: ‘AFMT_MU_LAW’ undeclared here (not in a function)
   62 |     {  8,       AFMT_MU_LAW, "logarithmic mu-law 8-bit audio" },
      |                 ^~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:63:17: error: ‘AFMT_A_LAW’ undeclared here (not in a function)
   63 |     {  8,       AFMT_A_LAW,  "logarithmic A-law 8-bit audio" },
      |                 ^~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:64:17: error: ‘AFMT_U8’ undeclared here (not in a function)
   64 |     {  8,       AFMT_U8,     "linear unsigned 8-bit audio" },
      |                 ^~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:65:17: error: ‘AFMT_S8’ undeclared here (not in a function)
   65 |     {  8,       AFMT_S8,     "linear signed 8-bit audio" },
      |                 ^~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:66:17: error: ‘AFMT_U16_BE’ undeclared here (not in a function)
   66 |     { 16,       AFMT_U16_BE, "linear unsigned 16-bit big-endian audio" },
      |                 ^~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:67:17: error: ‘AFMT_U16_LE’ undeclared here (not in a function)
   67 |     { 16,       AFMT_U16_LE, "linear unsigned 16-bit little-endian audio" },
      |                 ^~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:68:17: error: ‘AFMT_S16_BE’ undeclared here (not in a function)
   68 |     { 16,       AFMT_S16_BE, "linear signed 16-bit big-endian audio" },
      |                 ^~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:69:17: error: ‘AFMT_S16_LE’ undeclared here (not in a function)
   69 |     { 16,       AFMT_S16_LE, "linear signed 16-bit little-endian audio" },
      |                 ^~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:70:17: error: ‘AFMT_S16_NE’ undeclared here (not in a function)
   70 |     { 16,       AFMT_S16_NE, "linear signed 16-bit native-endian audio" },
      |                 ^~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c: In function ‘newladobject’:
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:127:40: error: ‘SNDCTL_DSP_NONBLOCK’ undeclared (first use in this function)
  127 |     if (imode == O_WRONLY && ioctl(fd, SNDCTL_DSP_NONBLOCK, NULL) == -1) {
      |                                        ^~~~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:127:40: note: each undeclared identifier is reported only once for each function it appears in
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:132:19: error: ‘SNDCTL_DSP_GETFMTS’ undeclared (first use in this function)
  132 |     if (ioctl(fd, SNDCTL_DSP_GETFMTS, &afmts) == -1) {
      |                   ^~~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c: In function ‘lad_setparameters’:
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:288:27: error: ‘SNDCTL_DSP_SETFMT’ undeclared (first use in this function)
  288 |     if (ioctl(self->x_fd, SNDCTL_DSP_SETFMT,
      |                           ^~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:293:27: error: ‘SNDCTL_DSP_CHANNELS’ undeclared (first use in this function)
  293 |     if (ioctl(self->x_fd, SNDCTL_DSP_CHANNELS, &nchannels) == -1) {
      |                           ^~~~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:297:27: error: ‘SNDCTL_DSP_SPEED’ undeclared (first use in this function)
  297 |     if (ioctl(self->x_fd, SNDCTL_DSP_SPEED, &rate) == -1) {
      |                           ^~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c: In function ‘_ssize’:
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:312:27: error: ‘SNDCTL_DSP_SETFMT’ undeclared (first use in this function)
  312 |     if (ioctl(self->x_fd, SNDCTL_DSP_SETFMT, &fmt) < 0)
      |                           ^~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:328:10: error: ‘AFMT_MPEG’ undeclared (first use in this function)
  328 |     case AFMT_MPEG:
      |          ^~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:329:10: error: ‘AFMT_IMA_ADPCM’ undeclared (first use in this function)
  329 |     case AFMT_IMA_ADPCM:
      |          ^~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:333:27: error: ‘SNDCTL_DSP_CHANNELS’ undeclared (first use in this function)
  333 |     if (ioctl(self->x_fd, SNDCTL_DSP_CHANNELS, nchannels) < 0)
      |                           ^~~~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c: In function ‘lad_bufsize’:
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:344:5: error: unknown type name ‘audio_buf_info’
  344 |     audio_buf_info ai;
      |     ^~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:351:27: error: ‘SNDCTL_DSP_GETOSPACE’ undeclared (first use in this function)
  351 |     if (ioctl(self->x_fd, SNDCTL_DSP_GETOSPACE, &ai) < 0) {
      |                           ^~~~~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:355:30: error: request for member ‘fragstotal’ in something not a structure or union
  355 |     return PyInt_FromLong((ai.fragstotal * ai.fragsize) / (nchannels * ssize));
      |                              ^
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:355:46: error: request for member ‘fragsize’ in something not a structure or union
  355 |     return PyInt_FromLong((ai.fragstotal * ai.fragsize) / (nchannels * ssize));
      |                                              ^
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c: In function ‘lad_obufcount’:
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:363:5: error: unknown type name ‘audio_buf_info’
  363 |     audio_buf_info ai;
      |     ^~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:370:27: error: ‘SNDCTL_DSP_GETOSPACE’ undeclared (first use in this function)
  370 |     if (ioctl(self->x_fd, SNDCTL_DSP_GETOSPACE, &ai) < 0) {
      |                           ^~~~~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:374:30: error: request for member ‘fragstotal’ in something not a structure or union
  374 |     return PyInt_FromLong((ai.fragstotal * ai.fragsize - ai.bytes) /
      |                              ^
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:374:46: error: request for member ‘fragsize’ in something not a structure or union
  374 |     return PyInt_FromLong((ai.fragstotal * ai.fragsize - ai.bytes) /
      |                                              ^
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:374:60: error: request for member ‘bytes’ in something not a structure or union
  374 |     return PyInt_FromLong((ai.fragstotal * ai.fragsize - ai.bytes) /
      |                                                            ^
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c: In function ‘lad_obuffree’:
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:383:5: error: unknown type name ‘audio_buf_info’
  383 |     audio_buf_info ai;
      |     ^~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:390:27: error: ‘SNDCTL_DSP_GETOSPACE’ undeclared (first use in this function)
  390 |     if (ioctl(self->x_fd, SNDCTL_DSP_GETOSPACE, &ai) < 0) {
      |                           ^~~~~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:394:29: error: request for member ‘bytes’ in something not a structure or union
  394 |     return PyInt_FromLong(ai.bytes / (ssize * nchannels));
      |                             ^
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c: In function ‘lad_flush’:
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:401:27: error: ‘SNDCTL_DSP_SYNC’ undeclared (first use in this function)
  401 |     if (ioctl(self->x_fd, SNDCTL_DSP_SYNC, NULL) == -1) {
      |                           ^~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c: In function ‘lad_getptr’:
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:411:5: error: unknown type name ‘count_info’
  411 |     count_info info;
      |     ^~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:415:15: error: ‘SNDCTL_DSP_GETIPTR’ undeclared (first use in this function)
  415 |         req = SNDCTL_DSP_GETIPTR;
      |               ^~~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:417:15: error: ‘SNDCTL_DSP_GETOPTR’ undeclared (first use in this function)
  417 |         req = SNDCTL_DSP_GETOPTR;
      |               ^~~~~~~~~~~~~~~~~~
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:422:37: error: request for member ‘bytes’ in something not a structure or union
  422 |     return Py_BuildValue("iii", info.bytes, info.blocks, info.ptr);
      |                                     ^
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:422:49: error: request for member ‘blocks’ in something not a structure or union
  422 |     return Py_BuildValue("iii", info.bytes, info.blocks, info.ptr);
      |                                                 ^
/var/pisi/python-2.7.18-52/work/Python-2.7.18/Modules/linuxaudiodev.c:422:62: error: request for member ‘ptr’ in something not a structure or union
  422 |     return Py_BuildValue("iii", info.bytes, info.blocks, info.ptr);
      |                                                              ^