Closed Fifis closed 2 years ago
gcc doesn't support blocks extension which is required for building deadbeef. Install clang and compile by following steps in README.md.
@Alexey-Yakovenko I suggest to add check for -fblocks
in configure.ac that will fail if compiler doesn't support it and tell to use a compiler like clang.
duplicate of #2516 and of #2449
@kuba160 here's another suggestion how to detect it: https://github.com/DeaDBeeF-Player/deadbeef/issues/2449#issuecomment-699500533
I'm adding the check. This error would be displayed:
checking whether C compiler accepts -fblocks... no
configure: error: Clang is required to build DeaDBeeF. Please check the README file.
Steps to reproduce the problem
Problem description
Compilation halts due to
unrecognized command line option '-fblocks'
:If configured with
--disable-sid --disable-vfs-curl --disable-lfm --disable-gme --enable-converter
to save the effort, it produces the same error compiling the notification-daemon support plug-in. An extra--disable-notify
solves the issue.Information about the software
Deadbeef version: 1.8.8 OS: Linux Mint 20.2 based on Ubuntu 20.04