~/src/freeswitch]$ sudo make mod_alsa-install
/bin/sh /home/bryan/src/freeswitch/quiet_libtool --mode=install /usr/bin/install -c 'libfreeswitch.la' '/usr/local/freeswitch/lib/libfreeswitch.la'
/usr/bin/install -c .libs/libfreeswitch.so.1.0.0 /usr/local/freeswitch/lib/libfreeswitch.so.1.0.0
(cd /usr/local/freeswitch/lib && { ln -s -f libfreeswitch.so.1.0.0 libfreeswitch.so.1 || { rm -f libfreeswitch.so.1 && ln -s libfreeswitch.so.1.0.0 libfreeswitch.so.1; }; })
(cd /usr/local/freeswitch/lib && { ln -s -f libfreeswitch.so.1.0.0 libfreeswitch.so || { rm -f libfreeswitch.so && ln -s libfreeswitch.so.1.0.0 libfreeswitch.so; }; })
/usr/bin/install -c .libs/libfreeswitch.lai /usr/local/freeswitch/lib/libfreeswitch.la
/usr/bin/install -c .libs/libfreeswitch.a /usr/local/freeswitch/lib/libfreeswitch.a
chmod 644 /usr/local/freeswitch/lib/libfreeswitch.a
ranlib /usr/local/freeswitch/lib/libfreeswitch.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/freeswitch/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/freeswitch/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
making install mod_alsa
Compiling mod_alsa.c...
mod_alsa.c:38:28: error: alsa/asoundlib.h: No such file or directory
mod_alsa.c:112: error: expected specifier-qualifier-list before ‘snd_pcm_t’
mod_alsa.c: In function ‘channel_on_init’:
mod_alsa.c:171: error: ‘struct <anonymous>’ has no member named ‘ring_interval’
mod_alsa.c:218: error: ‘struct <anonymous>’ has no member named ‘flags’
mod_alsa.c:221: error: ‘struct <anonymous>’ has no member named ‘flags’
mod_alsa.c:223: error: ‘struct <anonymous>’ has no member named ‘read_codec’
mod_alsa.c:223: error: ‘struct <anonymous>’ has no member named ‘read_codec’
cc1: warnings being treated as errors
mod_alsa.c:270: warning: implicit declaration of function ‘snd_pcm_writei’
mod_alsa.c:270: error: ‘struct <anonymous>’ has no member named ‘audio_stream_out’
mod_alsa.c:275: error: ‘struct <anonymous>’ has no member named ‘read_codec’
mod_alsa.c:278: error: ‘struct <anonymous>’ has no member named ‘flags’
mod_alsa.c: In function ‘deactivate_audio_device’:
mod_alsa.c:341: error: ‘struct <anonymous>’ has no member named ‘audio_stream_in’
mod_alsa.c:342: warning: implicit declaration of function ‘snd_pcm_drain’
mod_alsa.c:342: error: ‘struct <anonymous>’ has no member named ‘audio_stream_in’
mod_alsa.c:343: warning: implicit declaration of function ‘snd_pcm_close’
mod_alsa.c:343: error: ‘struct <anonymous>’ has no member named ‘audio_stream_in’
mod_alsa.c:344: error: ‘struct <anonymous>’ has no member named ‘audio_stream_in’
mod_alsa.c:347: error: ‘struct <anonymous>’ has no member named ‘audio_stream_out’
mod_alsa.c:348: error: ‘struct <anonymous>’ has no member named ‘audio_stream_out’
mod_alsa.c:349: error: ‘struct <anonymous>’ has no member named ‘audio_stream_out’
mod_alsa.c:350: error: ‘struct <anonymous>’ has no member named ‘audio_stream_out’
mod_alsa.c: In function ‘add_pvt’:
mod_alsa.c:369: error: ‘struct <anonymous>’ has no member named ‘read_codec’
mod_alsa.c:370: error: ‘struct <anonymous>’ has no member named ‘write_codec’
mod_alsa.c:373: error: ‘struct <anonymous>’ has no member named ‘call_list’
mod_alsa.c:385: error: ‘struct <anonymous>’ has no member named ‘call_list’
mod_alsa.c:386: error: ‘struct <anonymous>’ has no member named ‘call_list’
mod_alsa.c:391: error: ‘struct <anonymous>’ has no member named ‘call_list’
mod_alsa.c:395: error: ‘struct <anonymous>’ has no member named ‘call_list’
mod_alsa.c: In function ‘remove_pvt’:
mod_alsa.c:407: error: ‘struct <anonymous>’ has no member named ‘call_list’
mod_alsa.c:413: error: ‘struct <anonymous>’ has no member named ‘call_list’
mod_alsa.c:419: error: ‘struct <anonymous>’ has no member named ‘call_list’
mod_alsa.c:420: error: ‘struct <anonymous>’ has no member named ‘call_list’
mod_alsa.c:420: error: ‘struct <anonymous>’ has no member named ‘call_list’
mod_alsa.c:420: error: ‘struct <anonymous>’ has no member named ‘call_list’
mod_alsa.c:420: error: ‘struct <anonymous>’ has no member named ‘call_list’
mod_alsa.c: In function ‘channel_read_frame’:
mod_alsa.c:550: error: ‘struct <anonymous>’ has no member named ‘audio_stream_in’
mod_alsa.c:577: error: ‘struct <anonymous>’ has no member named ‘read_codec’
mod_alsa.c:582: error: ‘struct <anonymous>’ has no member named ‘read_codec’
mod_alsa.c:582: error: ‘struct <anonymous>’ has no member named ‘read_codec’
mod_alsa.c:603: error: ‘struct <anonymous>’ has no member named ‘read_codec’
mod_alsa.c:604: error: ‘struct <anonymous>’ has no member named ‘cng_frame’
mod_alsa.c:610: error: ‘struct <anonymous>’ has no member named ‘read_codec’
mod_alsa.c:636: warning: implicit declaration of function ‘snd_pcm_readi’
mod_alsa.c:636: error: ‘struct <anonymous>’ has no member named ‘audio_stream_in’
mod_alsa.c:636: error: ‘struct <anonymous>’ has no member named ‘read_frame’
mod_alsa.c:636: error: ‘struct <anonymous>’ has no member named ‘read_codec’
mod_alsa.c:637: error: ‘struct <anonymous>’ has no member named ‘read_frame’
mod_alsa.c:638: error: ‘struct <anonymous>’ has no member named ‘read_frame’
mod_alsa.c:640: error: ‘struct <anonymous>’ has no member named ‘timer’
mod_alsa.c:641: error: ‘struct <anonymous>’ has no member named ‘read_frame’
mod_alsa.c:641: error: ‘struct <anonymous>’ has no member named ‘timer’
mod_alsa.c:642: error: ‘struct <anonymous>’ has no member named ‘read_frame’
mod_alsa.c:644: error: ‘struct <anonymous>’ has no member named ‘flags’
mod_alsa.c:645: error: ‘struct <anonymous>’ has no member named ‘read_frame’
mod_alsa.c:645: error: ‘struct <anonymous>’ has no member named ‘read_frame’
mod_alsa.c: In function ‘channel_write_frame’:
mod_alsa.c:666: error: ‘struct <anonymous>’ has no member named ‘audio_stream_out’
mod_alsa.c:678: error: ‘struct <anonymous>’ has no member named ‘audio_stream_out’
mod_alsa.c:679: error: ‘struct <anonymous>’ has no member named ‘flags’
mod_alsa.c:680: error: ‘struct <anonymous>’ has no member named ‘audio_stream_out’
mod_alsa.c: In function ‘channel_outgoing_channel’:
mod_alsa.c:796: error: ‘struct <anonymous>’ has no member named ‘flags’
mod_alsa.c: In function ‘mod_alsa_load’:
mod_alsa.c:860: error: ‘struct <anonymous>’ has no member named ‘read_frame’
mod_alsa.c:860: error: ‘struct <anonymous>’ has no member named ‘databuf’
mod_alsa.c:861: error: ‘struct <anonymous>’ has no member named ‘read_frame’
mod_alsa.c:861: error: ‘struct <anonymous>’ has no member named ‘databuf’
mod_alsa.c:862: error: ‘struct <anonymous>’ has no member named ‘cng_frame’
mod_alsa.c:862: error: ‘struct <anonymous>’ has no member named ‘cngbuf’
mod_alsa.c:863: error: ‘struct <anonymous>’ has no member named ‘cng_frame’
mod_alsa.c:863: error: ‘struct <anonymous>’ has no member named ‘cngbuf’
mod_alsa.c:864: error: ‘struct <anonymous>’ has no member named ‘cng_frame’
mod_alsa.c:864: error: ‘struct <anonymous>’ has no member named ‘cngbuf’
mod_alsa.c:865: error: ‘struct <anonymous>’ has no member named ‘cng_frame’
mod_alsa.c: In function ‘load_config’:
mod_alsa.c:896: error: ‘struct <anonymous>’ has no member named ‘ring_interval’
mod_alsa.c:941: error: ‘struct <anonymous>’ has no member named ‘ring_interval’
mod_alsa.c:942: error: ‘struct <anonymous>’ has no member named ‘ring_interval’
mod_alsa.c: In function ‘mod_alsa_shutdown’:
mod_alsa.c:958: error: ‘struct <anonymous>’ has no member named ‘read_codec’
mod_alsa.c:959: error: ‘struct <anonymous>’ has no member named ‘read_codec’
mod_alsa.c:962: error: ‘struct <anonymous>’ has no member named ‘write_codec’
mod_alsa.c:963: error: ‘struct <anonymous>’ has no member named ‘write_codec’
mod_alsa.c: In function ‘engage_device’:
mod_alsa.c:975: error: ‘snd_pcm_hw_params_t’ undeclared (first use in this function)
mod_alsa.c:975: error: (Each undeclared identifier is reported only once
mod_alsa.c:975: error: for each function it appears in.)
mod_alsa.c:975: error: ‘hw_params’ undeclared (first use in this function)
mod_alsa.c:978: error: ‘struct <anonymous>’ has no member named ‘audio_stream_in’
mod_alsa.c:978: error: ‘struct <anonymous>’ has no member named ‘audio_stream_out’
mod_alsa.c:982: error: ‘struct <anonymous>’ has no member named ‘audio_stream_in’
mod_alsa.c:983: error: ‘struct <anonymous>’ has no member named ‘audio_stream_in’
mod_alsa.c:984: error: ‘struct <anonymous>’ has no member named ‘audio_stream_in’
mod_alsa.c:987: error: ‘struct <anonymous>’ has no member named ‘audio_stream_out’
mod_alsa.c:988: error: ‘struct <anonymous>’ has no member named ‘audio_stream_out’
mod_alsa.c:989: error: ‘struct <anonymous>’ has no member named ‘audio_stream_out’
mod_alsa.c:1000: error: ‘struct <anonymous>’ has no member named ‘read_codec’
mod_alsa.c:1007: error: ‘struct <anonymous>’ has no member named ‘write_codec’
mod_alsa.c:1013: error: ‘struct <anonymous>’ has no member named ‘read_codec’
mod_alsa.c:1018: error: ‘struct <anonymous>’ has no member named ‘timer’
mod_alsa.c:1019: error: ‘struct <anonymous>’ has no member named ‘read_codec’
mod_alsa.c:1022: error: ‘struct <anonymous>’ has no member named ‘read_codec’
mod_alsa.c:1023: error: ‘struct <anonymous>’ has no member named ‘write_codec’
mod_alsa.c:1029: error: ‘struct <anonymous>’ has no member named ‘read_frame’
mod_alsa.c:1030: error: ‘struct <anonymous>’ has no member named ‘read_frame’
mod_alsa.c:1030: error: ‘struct <anonymous>’ has no member named ‘read_codec’
mod_alsa.c:1038: warning: implicit declaration of function ‘snd_pcm_open’
mod_alsa.c:1038: error: ‘struct <anonymous>’ has no member named ‘audio_stream_out’
mod_alsa.c:1038: error: ‘SND_PCM_STREAM_PLAYBACK’ undeclared (first use in this function)
mod_alsa.c:1041: warning: implicit declaration of function ‘snd_strerror’
mod_alsa.c:1041: warning: format ‘%s’ expects type ‘char *’, but argument 9 has type ‘int’
mod_alsa.c:1045: warning: implicit declaration of function ‘snd_pcm_hw_params_malloc’
mod_alsa.c:1047: warning: format ‘%s’ expects type ‘char *’, but argument 8 has type ‘int’
mod_alsa.c:1051: warning: implicit declaration of function ‘snd_pcm_hw_params_any’
mod_alsa.c:1051: error: ‘struct <anonymous>’ has no member named ‘audio_stream_out’
mod_alsa.c:1053: warning: format ‘%s’ expects type ‘char *’, but argument 8 has type ‘int’
mod_alsa.c:1057: warning: implicit declaration of function ‘snd_pcm_hw_params_set_access’
mod_alsa.c:1057: error: ‘struct <anonymous>’ has no member named ‘audio_stream_out’
mod_alsa.c:1057: error: ‘SND_PCM_ACCESS_RW_INTERLEAVED’ undeclared (first use in this function)
mod_alsa.c:1059: warning: format ‘%s’ expects type ‘char *’, but argument 8 has type ‘int’
mod_alsa.c:1063: warning: implicit declaration of function ‘snd_pcm_hw_params_set_format’
mod_alsa.c:1063: error: ‘struct <anonymous>’ has no member named ‘audio_stream_out’
mod_alsa.c:1063: error: ‘SND_PCM_FORMAT_S16_LE’ undeclared (first use in this function)
mod_alsa.c:1065: warning: format ‘%s’ expects type ‘char *’, but argument 8 has type ‘int’
mod_alsa.c:1069: warning: implicit declaration of function ‘snd_pcm_hw_params_set_rate_near’
mod_alsa.c:1069: error: ‘struct <anonymous>’ has no member named ‘audio_stream_out’
mod_alsa.c:1071: warning: format ‘%s’ expects type ‘char *’, but argument 8 has type ‘int’
mod_alsa.c:1075: warning: implicit declaration of function ‘snd_pcm_hw_params_set_channels’
mod_alsa.c:1075: error: ‘struct <anonymous>’ has no member named ‘audio_stream_out’
mod_alsa.c:1077: warning: format ‘%s’ expects type ‘char *’, but argument 8 has type ‘int’
mod_alsa.c:1081: warning: implicit declaration of function ‘snd_pcm_hw_params’
mod_alsa.c:1081: error: ‘struct <anonymous>’ has no member named ‘audio_stream_out’
mod_alsa.c:1083: warning: format ‘%s’ expects type ‘char *’, but argument 8 has type ‘int’
mod_alsa.c:1088: warning: implicit declaration of function ‘snd_pcm_hw_params_free’
mod_alsa.c:1092: error: ‘struct <anonymous>’ has no member named ‘audio_stream_in’
mod_alsa.c:1092: error: ‘SND_PCM_STREAM_CAPTURE’ undeclared (first use in this function)
mod_alsa.c:1095: warning: format ‘%s’ expects type ‘char *’, but argument 9 has type ‘int’
mod_alsa.c:1101: warning: format ‘%s’ expects type ‘char *’, but argument 8 has type ‘int’
mod_alsa.c:1105: error: ‘struct <anonymous>’ has no member named ‘audio_stream_in’
mod_alsa.c:1107: warning: format ‘%s’ expects type ‘char *’, but argument 8 has type ‘int’
mod_alsa.c:1111: error: ‘struct <anonymous>’ has no member named ‘audio_stream_in’
mod_alsa.c:1113: warning: format ‘%s’ expects type ‘char *’, but argument 8 has type ‘int’
mod_alsa.c:1117: error: ‘struct <anonymous>’ has no member named ‘audio_stream_in’
mod_alsa.c:1119: warning: format ‘%s’ expects type ‘char *’, but argument 8 has type ‘int’
mod_alsa.c:1123: error: ‘struct <anonymous>’ has no member named ‘audio_stream_in’
mod_alsa.c:1125: warning: format ‘%s’ expects type ‘char *’, but argument 8 has type ‘int’
mod_alsa.c:1129: error: ‘struct <anonymous>’ has no member named ‘audio_stream_in’
mod_alsa.c:1131: warning: format ‘%s’ expects type ‘char *’, but argument 8 has type ‘int’
mod_alsa.c:1135: warning: implicit declaration of function ‘snd_pcm_hw_params_set_period_time’
mod_alsa.c:1135: error: ‘struct <anonymous>’ has no member named ‘audio_stream_in’
mod_alsa.c:1135: error: ‘struct <anonymous>’ has no member named ‘read_codec’
mod_alsa.c:1137: warning: format ‘%s’ expects type ‘char *’, but argument 8 has type ‘int’
mod_alsa.c:1141: warning: implicit declaration of function ‘snd_pcm_hw_params_set_period_size’
mod_alsa.c:1141: error: ‘struct <anonymous>’ has no member named ‘audio_stream_in’
mod_alsa.c:1141: error: ‘struct <anonymous>’ has no member named ‘read_codec’
mod_alsa.c:1143: warning: format ‘%s’ expects type ‘char *’, but argument 8 has type ‘int’
mod_alsa.c:1147: error: ‘struct <anonymous>’ has no member named ‘audio_stream_in’
mod_alsa.c:1149: warning: format ‘%s’ expects type ‘char *’, but argument 8 has type ‘int’
mod_alsa.c:1158: warning: implicit declaration of function ‘snd_pcm_prepare’
mod_alsa.c:1158: error: ‘struct <anonymous>’ has no member named ‘audio_stream_out’
mod_alsa.c:1160: warning: format ‘%s’ expects type ‘char *’, but argument 8 has type ‘int’
mod_alsa.c:1164: warning: implicit declaration of function ‘snd_pcm_start’
mod_alsa.c:1164: error: ‘struct <anonymous>’ has no member named ‘audio_stream_out’
mod_alsa.c:1166: warning: format ‘%s’ expects type ‘char *’, but argument 8 has type ‘int’
mod_alsa.c:1170: error: ‘struct <anonymous>’ has no member named ‘audio_stream_in’
mod_alsa.c:1172: warning: format ‘%s’ expects type ‘char *’, but argument 8 has type ‘int’
mod_alsa.c:1176: error: ‘struct <anonymous>’ has no member named ‘audio_stream_in’
mod_alsa.c:1178: warning: format ‘%s’ expects type ‘char *’, but argument 8 has type ‘int’
mod_alsa.c:1194: error: ‘struct <anonymous>’ has no member named ‘audio_stream_in’
mod_alsa.c:1195: error: ‘struct <anonymous>’ has no member named ‘audio_stream_in’
mod_alsa.c:1198: error: ‘struct <anonymous>’ has no member named ‘audio_stream_out’
mod_alsa.c:1199: error: ‘struct <anonymous>’ has no member named ‘audio_stream_out’
mod_alsa.c:1203: error: ‘struct <anonymous>’ has no member named ‘read_codec’
mod_alsa.c:1204: error: ‘struct <anonymous>’ has no member named ‘write_codec’
mod_alsa.c: In function ‘dtmf_call’:
mod_alsa.c:1221: error: ‘struct <anonymous>’ has no member named ‘call_list’
mod_alsa.c:1222: error: ‘struct <anonymous>’ has no member named ‘call_list’
mod_alsa.c: In function ‘switch_call’:
mod_alsa.c:1244: error: ‘struct <anonymous>’ has no member named ‘call_list’
mod_alsa.c:1245: error: ‘struct <anonymous>’ has no member named ‘call_list’
mod_alsa.c:1246: error: ‘struct <anonymous>’ has no member named ‘call_list’
mod_alsa.c:1248: error: ‘struct <anonymous>’ has no member named ‘call_list’
mod_alsa.c:1253: error: ‘struct <anonymous>’ has no member named ‘call_list’
mod_alsa.c:1263: error: ‘struct <anonymous>’ has no member named ‘call_list’
mod_alsa.c: In function ‘hangup_call’:
mod_alsa.c:1290: error: ‘struct <anonymous>’ has no member named ‘call_list’
mod_alsa.c: In function ‘answer_call’:
mod_alsa.c:1333: error: ‘struct <anonymous>’ has no member named ‘call_list’
mod_alsa.c: In function ‘do_flags’:
mod_alsa.c:1381: error: ‘struct <anonymous>’ has no member named ‘flags’
mod_alsa.c:1384: error: ‘struct <anonymous>’ has no member named ‘flags’
mod_alsa.c:1388: error: ‘struct <anonymous>’ has no member named ‘flags’
mod_alsa.c:1391: error: ‘struct <anonymous>’ has no member named ‘flags’
mod_alsa.c:1400: error: ‘struct <anonymous>’ has no member named ‘flags’
mod_alsa.c:1404: error: ‘struct <anonymous>’ has no member named ‘flags’
mod_alsa.c: In function ‘list_calls’:
mod_alsa.c:1428: error: ‘struct <anonymous>’ has no member named ‘call_list’
mod_alsa.c: In function ‘place_call’:
mod_alsa.c:1482: error: ‘struct <anonymous>’ has no member named ‘flags’
make[3]: *** [mod_alsa.o] Error 1
make[2]: *** [install] Error 1
make[1]: *** [mod_alsa-install] Error 1
make: *** [mod_alsa-install] Error 2