PromyLOPh / pianobar

Console-based pandora.com player
http://6xq.net/pianobar/
Other
1.74k stars 321 forks source link

current version (2019.02.14) build fails #680

Closed PhilT001 closed 5 years ago

PhilT001 commented 5 years ago

I'm trying to build the current version (2019.02.14) but the Build fails with the following:

(Nokia-N810-43-7) pianobar-2019.02.14 $ make CC src/player.c src/player.c: In function BarAoPlayThread': src/player.c:522: warning: implicit declaration of functionav_buffersink_get_time_base' src/player.c:522: error: incompatible type for argument 1 of `av_q2d' Makefile:107: recipe for target 'src/player.o' failed make: *** [src/player.o] Error 1

Device: Nokia N810 tablet (2008)

Processor: ARMv6-compatible processor rev 2 (v6l) CPU architecture: 6TEJ

gcc version 3.4.4 (release) (CodeSourcery ARM 2005q3-2)

ldd (GNU libc) 2.5

Linux (Debian based) (2008)

ffmpeg: 3.1.10 (minimal build)

I currently have version 2018.06.22 installed/working on this device.

PromyLOPh commented 5 years ago

ffmpeg 3.1 is pretty old and not maintained. I’ve tested pianobar with 3.4 and 4.1. Can you upgrade?

PhilT001 commented 5 years ago

Thanks for the suggestion. 3.4 fails to build (missing linux/perf_event.h header file) but 4.1 built OK. This has allowed me to build the latest version of pianobar successfully.