Skip to content

Instantly share code, notes, and snippets.

Created December 14, 2011 20:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/048eadd06819cc781739 to your computer and use it in GitHub Desktop.
Save anonymous/048eadd06819cc781739 to your computer and use it in GitHub Desktop.
OPTIONAL FILE FORMATS
amrnb......................yes
dlopen amrnb..............no
amrwb......................yes
dlopen amrwb..............no
ffmpeg.....................yes
flac.......................yes
gsm........................yes (external)
lpc10......................yes (in-tree)
mp3........................yes
id3tag....................no
lame......................no
mad.......................yes
dlopen mad................no
oggvorbis..................yes
sndfile....................yes
dlopen sndfile............no
wavpack....................no
OTHER OPTIONS
ladspa effects.............yes
magic support..............no
png support................no
GOMP support...............yes
Configure finished. Do 'make -s && make install' to compile and install SoX.
tom@tom_itt:~/src/sox-14.3.2$ sudo make -s && sudo make install
Making all in lpc10
Making all in libgsm
Making all in src
sox.c:1708:1: warning: embedding a directive within macro arguments is not portable
sox.c:1710:1: warning: embedding a directive within macro arguments is not portable
sox.c:1712:1: warning: embedding a directive within macro arguments is not portable
trim.c: In function 'sox_trim_start':
trim.c:94: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'size_t'
trim.c:94: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'size_t'
ffmpeg.c: In function 'stream_component_open':
ffmpeg.c:89: warning: 'error_recognition' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:1562)
ffmpeg.c:92: warning: 'avcodec_open' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3919)
ffmpeg.c:94: error: 'CODEC_TYPE_AUDIO' undeclared (first use in this function)
ffmpeg.c:94: error: (Each undeclared identifier is reported only once
ffmpeg.c:94: error: for each function it appears in.)
ffmpeg.c: In function 'startread':
ffmpeg.c:168: warning: 'av_open_input_file' is deprecated (declared at /usr/local/include/libavformat/avformat.h:1307)
ffmpeg.c:174: warning: 'av_find_stream_info' is deprecated (declared at /usr/local/include/libavformat/avformat.h:1386)
ffmpeg.c:185: error: 'CODEC_TYPE_AUDIO' undeclared (first use in this function)
ffmpeg.c: In function 'read_samples':
ffmpeg.c:227: warning: 'url_ferror' is deprecated (declared at /usr/local/include/libavformat/avio.h:331)
ffmpeg.c: In function 'add_audio_stream':
ffmpeg.c:268: warning: 'av_new_stream' is deprecated (declared at /usr/local/include/libavformat/avformat.h:1579)
ffmpeg.c:276: error: 'CODEC_TYPE_AUDIO' undeclared (first use in this function)
ffmpeg.c: In function 'open_audio':
ffmpeg.c:302: warning: 'avcodec_open' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3919)
ffmpeg.c: In function 'startwrite':
ffmpeg.c:371: warning: 'av_set_parameters' is deprecated (declared at /usr/local/include/libavformat/avformat.h:1662)
ffmpeg.c:387: warning: 'url_fopen' is deprecated (declared at /usr/local/include/libavformat/avio.h:312)
ffmpeg.c:394: warning: 'av_write_header' is deprecated (declared at /usr/local/include/libavformat/avformat.h:1720)
ffmpeg.c: In function 'write_samples':
ffmpeg.c:426: error: 'PKT_FLAG_KEY' undeclared (first use in this function)
ffmpeg.c: In function 'stopwrite':
ffmpeg.c:474: warning: 'url_fclose' is deprecated (declared at /usr/local/include/libavformat/avio.h:313)
make[1]: *** [libsox_la-ffmpeg.lo] Error 1
make: *** [all-recursive] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment