$ docker build -t awm .
Sending build context to Docker daemon 479.7kB
Step 1/19 : FROM gcc:latest
---> 111c3ae33330
Step 2/19 : RUN apt-get update && apt-get install -y build-essential
---> Using cache
---> b63332bd6842
Step 3/19 : RUN apt-get install -y libfftw3-dev
---> Using cache
---> cef7bb6833f2
Step 4/19 : RUN apt-get install -y libsndfile1-dev
---> Using cache
---> e3e0d32975b9
Step 5/19 : RUN apt-get install -y automake
---> Using cache
---> 60f934bf4dde
Step 6/19 : RUN apt-get install -y autoconf
---> Using cache
---> 9f096767c74e
Step 7/19 : RUN apt-get install -y libtool
---> Using cache
---> 6cd1d8ccc01d
Step 8/19 : RUN apt-get install -y autoconf-archive
---> Using cache
---> 5e11bc5d8869
Step 9/19 : RUN apt-get install -y libgcrypt20-dev
---> Using cache
---> 3d9791f45979
Step 10/19 : RUN apt-get install -y libzita-resampler-dev
---> Using cache
---> 308f1a9188be
Step 11/19 : RUN apt-get install -y libmpg123-dev
---> Using cache
---> 6661ca3b04f4
Step 12/19 : ADD . /audiowmark
---> Using cache
---> df8f4b0e7854
Step 13/19 : WORKDIR /audiowmark
---> Using cache
---> 6d967dfdb1af
Step 14/19 : RUN ./autogen.sh
---> Using cache
---> ee6c45a5c05b
Step 15/19 : RUN make
---> Running in aa7054513035
make all-recursive
make[1]: Entering directory '/audiowmark'
Making all in src
make[2]: Entering directory '/audiowmark/src'
CXX audiowmark.o
CXX utils.o
CXX convcode.o
CXX random.o
CXX wavdata.o
CXX audiostream.o
CXX sfinputstream.o
CXX stdoutwavoutputstream.o
CXX sfoutputstream.o
CXX rawinputstream.o
CXX rawoutputstream.o
CXX rawconverter.o
CXX mp3inputstream.o
CXX wmcommon.o
CXX fft.o
CXX limiter.o
CXX shortcode.o
CXX mpegts.o
mpegts.cc: In member function 'Error TSWriter::process(const std::string&, const std::string&)':
mpegts.cc:167:21: error: 'strerror' was not declared in this scope; did you mean 'stderr'?
167 | return Error (strerror (errno));
| ^~~~~~~~
| stderr
mpegts.cc:173:21: error: 'strerror' was not declared in this scope; did you mean 'stderr'?
173 | return Error (strerror (errno));
| ^~~~~~~~
| stderr
make[2]: *** [Makefile:848: mpegts.o] Error 1
make[2]: Leaving directory '/audiowmark/src'
make[1]: *** [Makefile:424: all-recursive] Error 1
make[1]: Leaving directory '/audiowmark'
make: *** [Makefile:356: all] Error 2
The command '/bin/sh -c make' returned a non-zero code: 2