note: /usr/local/lib/libavcodec.a(svq3.o): In function `svq3_decode_init':
/dev/shm/ffmpeg-2.8.3/libavcodec/svq3.c:1054: undefined reference to `uncompress'
/usr/local/lib/libavformat.a(id3v2.o): In function `id3v2_parse':
/dev/shm/ffmpeg-2.8.3/libavformat/id3v2.c:963: undefined reference to `uncompress'
collect2: error: ld returned 1 exit status
It's because libavcodec includes some math and zlib headers, so you must link to the respective libraries as well
-lswresample -lm -lz