Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Instruction Guide 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi
(08-27-2021, 07:27 AM)adrii Wrote: Hi Jempie

Could you look at my last post again, as I asked for the output of a different command.

Adrian.

adrian

do you mean this
now with RPI4

display black GND/VCC/SCL/SDA connected on the richt way


Code:
login as: pi
pi@192.168.2.11's password:
RaspiOS 10.6 | 5.4.77-v7l+ #1371 | armv7l (32-bit)

                     ____     __        ____
         __ _  ___  / __ \___/ /__     /_  /
        /  ' \/ _ \/ /_/ / _  / -_)     / /
       /_/_/_/\___/\____/\_,_/\__/     /_/

                moOde audio player
             Release 7.2.1 2021-05-06
               (C) 2014 Tim Curtis


The programs included with moOde are free software; the
exact distribution terms for each program are described
in the individual files in /usr/share/doc/*/copyright.
Moode comes with absolutely no warranties expressed or
implied, or any other guarantees.

Last login: Fri Aug 27 03:05:07 2021 from 192.168.2.12
pi@moode:~ $ git clone https://github.com/karlstav/cava
Cloning into 'cava'...
remote: Enumerating objects: 2569, done.
remote: Counting objects: 100% (75/75), done.
remote: Compressing objects: 100% (62/62), done.
remote: Total 2569 (delta 40), reused 29 (delta 13), pack-reused 2494
Receiving objects: 100% (2569/2569), 1.03 MiB | 3.92 MiB/s, done.
Resolving deltas: 100% (1571/1571), done.
pi@moode:~ $ cd cava
pi@moode:~/cava $ ./autogen.sh
libtoolize: putting auxiliary files in '.'.
libtoolize: linking file './ltmain.sh'
libtoolize: putting macros in 'm4'.
libtoolize: linking file 'm4/libtool.m4'
libtoolize: linking file 'm4/ltoptions.m4'
libtoolize: linking file 'm4/ltsugar.m4'
libtoolize: linking file 'm4/ltversion.m4'
libtoolize: linking file 'm4/lt~obsolete.m4'
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
configure.ac:4: installing './ar-lib'
configure.ac:4: installing './compile'
configure.ac:5: installing './config.guess'
configure.ac:5: installing './config.sub'
configure.ac:2: installing './install-sh'
configure.ac:2: installing './missing'
Makefile.am: installing './depcomp'
pi@moode:~/cava $ ./configure --disable-input-portaudio --disable-input-sndio --disable-output-ncurses --disable-input-pulse --program-prefix=mpd_oled_
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv7l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO Standard C... (cached) none needed
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking for snd_pcm_open in -lasound... yes
checking for sqrt in -lm... yes
checking for fftw_execute in -lfftw3... yes
checking for library containing iniparser_load... no
configure: Building iniparser
configure: Checking OS
configure: Linux detected
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating iniparser/Makefile
config.status: creating Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
pi@moode:~/cava $ make
Making all in iniparser
make[1]: Entering directory '/home/pi/cava/iniparser'
depbase=`echo src/iniparser.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"0.7.4-2-g1b7c395\" -DPACKAGE_STRING=\"cava\ 0.7.4-2-g1b7c395\" -DPACKAGE_BUGREPORT=\"karl@stavestrand.no\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -I.   -DNDEBUG -DHAVE_ALLOCA_H -DALSA  -g -O2 -MT src/iniparser.lo -MD -MP -MF $depbase.Tpo -c -o src/iniparser.lo src/iniparser.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"0.7.4-2-g1b7c395\" "-DPACKAGE_STRING=\"cava 0.7.4-2-g1b7c395\"" -DPACKAGE_BUGREPORT=\"karl@stavestrand.no\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -I. -DNDEBUG -DHAVE_ALLOCA_H -DALSA -g -O2 -MT src/iniparser.lo -MD -MP -MF src/.deps/iniparser.Tpo -c src/iniparser.c  -fPIC -DPIC -o src/.libs/iniparser.o
libtool: compile:  gcc -DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"0.7.4-2-g1b7c395\" "-DPACKAGE_STRING=\"cava 0.7.4-2-g1b7c395\"" -DPACKAGE_BUGREPORT=\"karl@stavestrand.no\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -I. -DNDEBUG -DHAVE_ALLOCA_H -DALSA -g -O2 -MT src/iniparser.lo -MD -MP -MF src/.deps/iniparser.Tpo -c src/iniparser.c -o src/iniparser.o >/dev/null 2>&1
depbase=`echo src/dictionary.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"0.7.4-2-g1b7c395\" -DPACKAGE_STRING=\"cava\ 0.7.4-2-g1b7c395\" -DPACKAGE_BUGREPORT=\"karl@stavestrand.no\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -I.   -DNDEBUG -DHAVE_ALLOCA_H -DALSA  -g -O2 -MT src/dictionary.lo -MD -MP -MF $depbase.Tpo -c -o src/dictionary.lo src/dictionary.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  gcc -DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"0.7.4-2-g1b7c395\" "-DPACKAGE_STRING=\"cava 0.7.4-2-g1b7c395\"" -DPACKAGE_BUGREPORT=\"karl@stavestrand.no\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -I. -DNDEBUG -DHAVE_ALLOCA_H -DALSA -g -O2 -MT src/dictionary.lo -MD -MP -MF src/.deps/dictionary.Tpo -c src/dictionary.c  -fPIC -DPIC -o src/.libs/dictionary.o
libtool: compile:  gcc -DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"0.7.4-2-g1b7c395\" "-DPACKAGE_STRING=\"cava 0.7.4-2-g1b7c395\"" -DPACKAGE_BUGREPORT=\"karl@stavestrand.no\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -I. -DNDEBUG -DHAVE_ALLOCA_H -DALSA -g -O2 -MT src/dictionary.lo -MD -MP -MF src/.deps/dictionary.Tpo -c src/dictionary.c -o src/dictionary.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2   -o libiniparser.la  src/iniparser.lo src/dictionary.lo  -lpthread -lasound -lm -lfftw3
libtool: link: ar cru .libs/libiniparser.a src/.libs/iniparser.o src/.libs/dictionary.o
ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: ranlib .libs/libiniparser.a
libtool: link: ( cd ".libs" && rm -f "libiniparser.la" && ln -s "../libiniparser.la" "libiniparser.la" )
make[1]: Leaving directory '/home/pi/cava/iniparser'
make[1]: Entering directory '/home/pi/cava'
gcc -DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"0.7.4-2-g1b7c395\" -DPACKAGE_STRING=\"cava\ 0.7.4-2-g1b7c395\" -DPACKAGE_BUGREPORT=\"karl@stavestrand.no\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -I.  -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE_EXTENDED -DFONTDIR=\"/usr/local/share/consolefonts\" -Iiniparser/src -DNDEBUG -DHAVE_ALLOCA_H -DALSA -std=c99 -Wall -Werror -Wextra -Wno-unused-result -Wno-unknown-warning-option -Wno-maybe-uninitialized -Wno-vla-parameter  -g -O2 -MT cava-cava.o -MD -MP -MF .deps/cava-cava.Tpo -c -o cava-cava.o `test -f 'cava.c' || echo './'`cava.c
mv -f .deps/cava-cava.Tpo .deps/cava-cava.Po
gcc -DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"0.7.4-2-g1b7c395\" -DPACKAGE_STRING=\"cava\ 0.7.4-2-g1b7c395\" -DPACKAGE_BUGREPORT=\"karl@stavestrand.no\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -I.  -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE_EXTENDED -DFONTDIR=\"/usr/local/share/consolefonts\" -Iiniparser/src -DNDEBUG -DHAVE_ALLOCA_H -DALSA -std=c99 -Wall -Werror -Wextra -Wno-unused-result -Wno-unknown-warning-option -Wno-maybe-uninitialized -Wno-vla-parameter  -g -O2 -MT cava-config.o -MD -MP -MF .deps/cava-config.Tpo -c -o cava-config.o `test -f 'config.c' || echo './'`config.c
mv -f .deps/cava-config.Tpo .deps/cava-config.Po
gcc -DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"0.7.4-2-g1b7c395\" -DPACKAGE_STRING=\"cava\ 0.7.4-2-g1b7c395\" -DPACKAGE_BUGREPORT=\"karl@stavestrand.no\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -I.  -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE_EXTENDED -DFONTDIR=\"/usr/local/share/consolefonts\" -Iiniparser/src -DNDEBUG -DHAVE_ALLOCA_H -DALSA -std=c99 -Wall -Werror -Wextra -Wno-unused-result -Wno-unknown-warning-option -Wno-maybe-uninitialized -Wno-vla-parameter  -g -O2 -MT input/cava-common.o -MD -MP -MF input/.deps/cava-common.Tpo -c -o input/cava-common.o `test -f 'input/common.c' || echo './'`input/common.c
mv -f input/.deps/cava-common.Tpo input/.deps/cava-common.Po
gcc -DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"0.7.4-2-g1b7c395\" -DPACKAGE_STRING=\"cava\ 0.7.4-2-g1b7c395\" -DPACKAGE_BUGREPORT=\"karl@stavestrand.no\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -I.  -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE_EXTENDED -DFONTDIR=\"/usr/local/share/consolefonts\" -Iiniparser/src -DNDEBUG -DHAVE_ALLOCA_H -DALSA -std=c99 -Wall -Werror -Wextra -Wno-unused-result -Wno-unknown-warning-option -Wno-maybe-uninitialized -Wno-vla-parameter  -g -O2 -MT input/cava-fifo.o -MD -MP -MF input/.deps/cava-fifo.Tpo -c -o input/cava-fifo.o `test -f 'input/fifo.c' || echo './'`input/fifo.c
mv -f input/.deps/cava-fifo.Tpo input/.deps/cava-fifo.Po
gcc -DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"0.7.4-2-g1b7c395\" -DPACKAGE_STRING=\"cava\ 0.7.4-2-g1b7c395\" -DPACKAGE_BUGREPORT=\"karl@stavestrand.no\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -I.  -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE_EXTENDED -DFONTDIR=\"/usr/local/share/consolefonts\" -Iiniparser/src -DNDEBUG -DHAVE_ALLOCA_H -DALSA -std=c99 -Wall -Werror -Wextra -Wno-unused-result -Wno-unknown-warning-option -Wno-maybe-uninitialized -Wno-vla-parameter  -g -O2 -MT input/cava-shmem.o -MD -MP -MF input/.deps/cava-shmem.Tpo -c -o input/cava-shmem.o `test -f 'input/shmem.c' || echo './'`input/shmem.c
mv -f input/.deps/cava-shmem.Tpo input/.deps/cava-shmem.Po
gcc -DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"0.7.4-2-g1b7c395\" -DPACKAGE_STRING=\"cava\ 0.7.4-2-g1b7c395\" -DPACKAGE_BUGREPORT=\"karl@stavestrand.no\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -I.  -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE_EXTENDED -DFONTDIR=\"/usr/local/share/consolefonts\" -Iiniparser/src -DNDEBUG -DHAVE_ALLOCA_H -DALSA -std=c99 -Wall -Werror -Wextra -Wno-unused-result -Wno-unknown-warning-option -Wno-maybe-uninitialized -Wno-vla-parameter  -g -O2 -MT output/cava-terminal_noncurses.o -MD -MP -MF output/.deps/cava-terminal_noncurses.Tpo -c -o output/cava-terminal_noncurses.o `test -f 'output/terminal_noncurses.c' || echo './'`output/terminal_noncurses.c
mv -f output/.deps/cava-terminal_noncurses.Tpo output/.deps/cava-terminal_noncurses.Po
gcc -DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"0.7.4-2-g1b7c395\" -DPACKAGE_STRING=\"cava\ 0.7.4-2-g1b7c395\" -DPACKAGE_BUGREPORT=\"karl@stavestrand.no\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -I.  -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE_EXTENDED -DFONTDIR=\"/usr/local/share/consolefonts\" -Iiniparser/src -DNDEBUG -DHAVE_ALLOCA_H -DALSA -std=c99 -Wall -Werror -Wextra -Wno-unused-result -Wno-unknown-warning-option -Wno-maybe-uninitialized -Wno-vla-parameter  -g -O2 -MT output/cava-raw.o -MD -MP -MF output/.deps/cava-raw.Tpo -c -o output/cava-raw.o `test -f 'output/raw.c' || echo './'`output/raw.c
mv -f output/.deps/cava-raw.Tpo output/.deps/cava-raw.Po
gcc -DPACKAGE_NAME=\"cava\" -DPACKAGE_TARNAME=\"cava\" -DPACKAGE_VERSION=\"0.7.4-2-g1b7c395\" -DPACKAGE_STRING=\"cava\ 0.7.4-2-g1b7c395\" -DPACKAGE_BUGREPORT=\"karl@stavestrand.no\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_PTHREAD_H=1 -I.  -DPACKAGE=\"cava\" -DVERSION=\"0.7.4-2-g1b7c395\" -D_POSIX_SOURCE -D _POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE_EXTENDED -DFONTDIR=\"/usr/local/share/consolefonts\" -Iiniparser/src -DNDEBUG -DHAVE_ALLOCA_H -DALSA -std=c99 -Wall -Werror -Wextra -Wno-unused-result -Wno-unknown-warning-option -Wno-maybe-uninitialized -Wno-vla-parameter  -g -O2 -MT input/cava-alsa.o -MD -MP -MF input/.deps/cava-alsa.Tpo -c -o input/cava-alsa.o `test -f 'input/alsa.c' || echo './'`input/alsa.c
mv -f input/.deps/cava-alsa.Tpo input/.deps/cava-alsa.Po
/bin/bash ./libtool  --tag=CC   --mode=link gcc -std=c99 -Wall -Werror -Wextra -Wno-unused-result -Wno-unknown-warning-option -Wno-maybe-uninitialized -Wno-vla-parameter  -g -O2 -L/usr/local/lib -Wl,-rpath /usr/local/lib -lrt  -o cava cava-cava.o cava-config.o input/cava-common.o input/cava-fifo.o input/cava-shmem.o output/cava-terminal_noncurses.o output/cava-raw.o input/cava-alsa.o      -liniparser -Liniparser/.libs -lpthread -lasound -lm -lfftw3
libtool: link: gcc -std=c99 -Wall -Werror -Wextra -Wno-unused-result -Wno-unknown-warning-option -Wno-maybe-uninitialized -Wno-vla-parameter -g -O2 -Wl,-rpath /usr/local/lib -o cava cava-cava.o cava-config.o input/cava-common.o input/cava-fifo.o input/cava-shmem.o output/cava-terminal_noncurses.o output/cava-raw.o input/cava-alsa.o  -L/usr/local/lib -lrt /home/pi/cava/iniparser/.libs/libiniparser.a -Liniparser/.libs -lpthread -lasound -lm -lfftw3
make[1]: Leaving directory '/home/pi/cava'
pi@moode:~/cava $ sudo make install-strip
if test -z 'strip'; then \
 make  INSTALL_PROGRAM="/bin/bash /home/pi/cava/install-sh -c -s" \
   install_sh_PROGRAM="/bin/bash /home/pi/cava/install-sh -c -s" INSTALL_STRIP_FLAG=-s \
     install; \
else \
 make  INSTALL_PROGRAM="/bin/bash /home/pi/cava/install-sh -c -s" \
   install_sh_PROGRAM="/bin/bash /home/pi/cava/install-sh -c -s" INSTALL_STRIP_FLAG=-s \
   "INSTALL_PROGRAM_ENV=STRIPPROG='strip'" install; \
fi
make[1]: Entering directory '/home/pi/cava'
Making install in iniparser
make[2]: Entering directory '/home/pi/cava/iniparser'
make[3]: Entering directory '/home/pi/cava/iniparser'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/pi/cava/iniparser'
make[2]: Leaving directory '/home/pi/cava/iniparser'
make[2]: Entering directory '/home/pi/cava'
make[3]: Entering directory '/home/pi/cava'
/usr/bin/mkdir -p '/usr/local/bin'
STRIPPROG='strip' /bin/bash ./libtool   --mode=install /bin/bash /home/pi/cava/install-sh -c -s cava '/usr/local/bin/./mpd_oled_cava'
libtool: install: /bin/bash /home/pi/cava/install-sh -c -s cava /usr/local/bin/./mpd_oled_cava
/usr/bin/mkdir -p '/usr/local/share/consolefonts'
/usr/bin/install -c -m 644 cava.psf '/usr/local/share/consolefonts'
make[3]: Leaving directory '/home/pi/cava'
make[2]: Leaving directory '/home/pi/cava'
make[1]: Leaving directory '/home/pi/cava'
pi@moode:~/cava $ cd ..   # if you are still in the cava source directory
pi@moode:~ $ git clone https://github.com/antiprism/mpd_oled
Cloning into 'mpd_oled'...
remote: Enumerating objects: 529, done.
remote: Counting objects: 100% (116/116), done.
remote: Compressing objects: 100% (84/84), done.
remote: Total 529 (delta 66), reused 69 (delta 32), pack-reused 413
Receiving objects: 100% (529/529), 1.00 MiB | 1.03 MiB/s, done.
Resolving deltas: 100% (302/302), done.
pi@moode:~ $ cd mpd_oled
pi@moode:~/mpd_oled $ ./bootstrap
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4 --warnings=all -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --include=m4 --warnings=all
autoreconf: running: /usr/bin/autoheader --include=m4 --warnings=all
autoreconf: running: automake --add-missing --copy --no-force --warnings=all
configure.ac:5: installing './compile'
configure.ac:5: installing './config.guess'
configure.ac:5: installing './config.sub'
configure.ac:4: installing './install-sh'
configure.ac:4: installing './missing'
src/Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'
pi@moode:~/mpd_oled $ CPPFLAGS="-W -Wall -Wno-psabi" ./configure --prefix=/usr/local
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking how to print strings... printf
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop
checking how to convert armv7l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking whether g++ supports C++11 features with -std=c++11... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... no
checking for _Bool... no
checking for inline... inline
checking for int16_t... yes
checking for int8_t... yes
checking for off_t... yes
checking for size_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for gettimeofday... yes
checking for memset... yes
checking for mkfifo... yes
checking for munmap... yes
checking for select... yes
checking for setlocale... yes
checking for socket... yes
checking for strerror... yes
checking for strspn... yes
checking for strstr... yes
checking for strtol... yes
checking for strndup... yes
checking LIBMPDCLIENT_DIR... no (using installed libmpdclient)
checking mpd/client.h usability... yes
checking mpd/client.h presence... yes
checking for mpd/client.h... yes
checking for mpd_connection_new in -lmpdclient... yes
checking for pthread_create in -lpthread... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/hjson_cpp/Makefile
config.status: creating src/http_tiny/Makefile
config.status: creating scripts/mpd_oled_service_install
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
pi@moode:~/mpd_oled $ make
make  all-recursive
make[1]: Entering directory '/home/pi/mpd_oled'
Making all in src
make[2]: Entering directory '/home/pi/mpd_oled/src'
Making all in hjson_cpp
make[3]: Entering directory '/home/pi/mpd_oled/src/hjson_cpp'
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../..   -fno-strict-aliasing -W -Wall -Wno-psabi  -g -O2 -MT hjson_decode.lo -MD -MP -MF .deps/hjson_decode.Tpo -c -o hjson_decode.lo hjson_decode.cpp
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT hjson_decode.lo -MD -MP -MF .deps/hjson_decode.Tpo -c hjson_decode.cpp  -fPIC -DPIC -o .libs/hjson_decode.o
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT hjson_decode.lo -MD -MP -MF .deps/hjson_decode.Tpo -c hjson_decode.cpp -o hjson_decode.o >/dev/null 2>&1
mv -f .deps/hjson_decode.Tpo .deps/hjson_decode.Plo
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../..   -fno-strict-aliasing -W -Wall -Wno-psabi  -g -O2 -MT hjson_encode.lo -MD -MP -MF .deps/hjson_encode.Tpo -c -o hjson_encode.lo hjson_encode.cpp
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT hjson_encode.lo -MD -MP -MF .deps/hjson_encode.Tpo -c hjson_encode.cpp  -fPIC -DPIC -o .libs/hjson_encode.o
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT hjson_encode.lo -MD -MP -MF .deps/hjson_encode.Tpo -c hjson_encode.cpp -o hjson_encode.o >/dev/null 2>&1
mv -f .deps/hjson_encode.Tpo .deps/hjson_encode.Plo
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../..   -fno-strict-aliasing -W -Wall -Wno-psabi  -g -O2 -MT hjson_parsenumber.lo -MD -MP -MF .deps/hjson_parsenumber.Tpo -c -o hjson_parsenumber.lo hjson_parsenumber.cpp
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT hjson_parsenumber.lo -MD -MP -MF .deps/hjson_parsenumber.Tpo -c hjson_parsenumber.cpp  -fPIC -DPIC -o .libs/hjson_parsenumber.o
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT hjson_parsenumber.lo -MD -MP -MF .deps/hjson_parsenumber.Tpo -c hjson_parsenumber.cpp -o hjson_parsenumber.o >/dev/null 2>&1
mv -f .deps/hjson_parsenumber.Tpo .deps/hjson_parsenumber.Plo
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../..   -fno-strict-aliasing -W -Wall -Wno-psabi  -g -O2 -MT hjson_value.lo -MD -MP -MF .deps/hjson_value.Tpo -c -o hjson_value.lo hjson_value.cpp
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT hjson_value.lo -MD -MP -MF .deps/hjson_value.Tpo -c hjson_value.cpp  -fPIC -DPIC -o .libs/hjson_value.o
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT hjson_value.lo -MD -MP -MF .deps/hjson_value.Tpo -c hjson_value.cpp -o hjson_value.o >/dev/null 2>&1
mv -f .deps/hjson_value.Tpo .deps/hjson_value.Plo
/bin/bash ../../libtool  --tag=CXX   --mode=link g++ -std=c++11  -g -O2   -o libhjsoncpp.la  hjson_decode.lo hjson_encode.lo hjson_parsenumber.lo hjson_value.lo  -lpthread -lmpdclient
libtool: link: ar cru .libs/libhjsoncpp.a .libs/hjson_decode.o .libs/hjson_encode.o .libs/hjson_parsenumber.o .libs/hjson_value.o
ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: ranlib .libs/libhjsoncpp.a
libtool: link: ( cd ".libs" && rm -f "libhjsoncpp.la" && ln -s "../libhjsoncpp.la" "libhjsoncpp.la" )
make[3]: Leaving directory '/home/pi/mpd_oled/src/hjson_cpp'
Making all in http_tiny
make[3]: Entering directory '/home/pi/mpd_oled/src/http_tiny'
/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../..   -fno-strict-aliasing -W -Wall -Wno-psabi  -g -O2 -MT http_lib.lo -MD -MP -MF .deps/http_lib.Tpo -c -o http_lib.lo http_lib.cpp
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT http_lib.lo -MD -MP -MF .deps/http_lib.Tpo -c http_lib.cpp  -fPIC -DPIC -o .libs/http_lib.o
libtool: compile:  g++ -std=c++11 -DHAVE_CONFIG_H -I. -I../.. -fno-strict-aliasing -W -Wall -Wno-psabi -g -O2 -MT http_lib.lo -MD -MP -MF .deps/http_lib.Tpo -c http_lib.cpp -o http_lib.o >/dev/null 2>&1
mv -f .deps/http_lib.Tpo .deps/http_lib.Plo
/bin/bash ../../libtool  --tag=CXX   --mode=link g++ -std=c++11  -g -O2   -o libhttptiny.la  http_lib.lo  -lpthread -lmpdclient
libtool: link: ar cru .libs/libhttptiny.a .libs/http_lib.o
ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: ranlib .libs/libhttptiny.a
libtool: link: ( cd ".libs" && rm -f "libhttptiny.la" && ln -s "../libhttptiny.la" "libhttptiny.la" )
make[3]: Leaving directory '/home/pi/mpd_oled/src/http_tiny'
make[3]: Entering directory '/home/pi/mpd_oled/src'
gcc -DHAVE_CONFIG_H -I. -I..   -fno-strict-aliasing -W -Wall -Wno-psabi  -g -O2 -MT bcm2835.o -MD -MP -MF .deps/bcm2835.Tpo -c -o bcm2835.o bcm2835.c
mv -f .deps/bcm2835.Tpo .deps/bcm2835.Po
gcc -DHAVE_CONFIG_H -I. -I..   -fno-strict-aliasing -W -Wall -Wno-psabi  -g -O2 -MT bcm2835_i2c.o -MD -MP -MF .deps/bcm2835_i2c.Tpo -c -o bcm2835_i2c.o bcm2835_i2c.c
mv -f .deps/bcm2835_i2c.Tpo .deps/bcm2835_i2c.Po
gcc -DHAVE_CONFIG_H -I. -I..   -fno-strict-aliasing -W -Wall -Wno-psabi  -g -O2 -MT glcdfont.o -MD -MP -MF .deps/glcdfont.Tpo -c -o glcdfont.o glcdfont.c
mv -f .deps/glcdfont.Tpo .deps/glcdfont.Po
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I..   -fno-strict-aliasing -W -Wall -Wno-psabi  -g -O2 -MT Adafruit_GFX.o -MD -MP -MF .deps/Adafruit_GFX.Tpo -c -o Adafruit_GFX.o Adafruit_GFX.cpp
mv -f .deps/Adafruit_GFX.Tpo .deps/Adafruit_GFX.Po
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I..   -fno-strict-aliasing -W -Wall -Wno-psabi  -g -O2 -MT ArduiPi_OLED.o -MD -MP -MF .deps/ArduiPi_OLED.Tpo -c -o ArduiPi_OLED.o ArduiPi_OLED.cpp
mv -f .deps/ArduiPi_OLED.Tpo .deps/ArduiPi_OLED.Po
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I..   -fno-strict-aliasing -W -Wall -Wno-psabi  -g -O2 -MT display.o -MD -MP -MF .deps/display.Tpo -c -o display.o display.cpp
mv -f .deps/display.Tpo .deps/display.Po
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I..   -fno-strict-aliasing -W -Wall -Wno-psabi  -g -O2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cpp
mv -f .deps/main.Tpo .deps/main.Po
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I..   -fno-strict-aliasing -W -Wall -Wno-psabi  -g -O2 -MT player.o -MD -MP -MF .deps/player.Tpo -c -o player.o player.cpp
mv -f .deps/player.Tpo .deps/player.Po
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I..   -fno-strict-aliasing -W -Wall -Wno-psabi  -g -O2 -MT programopts.o -MD -MP -MF .deps/programopts.Tpo -c -o programopts.o programopts.cpp
mv -f .deps/programopts.Tpo .deps/programopts.Po
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I..   -fno-strict-aliasing -W -Wall -Wno-psabi  -g -O2 -MT status.o -MD -MP -MF .deps/status.Tpo -c -o status.o status.cpp
mv -f .deps/status.Tpo .deps/status.Po
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I..   -fno-strict-aliasing -W -Wall -Wno-psabi  -g -O2 -MT status_msg.o -MD -MP -MF .deps/status_msg.Tpo -c -o status_msg.o status_msg.cpp
mv -f .deps/status_msg.Tpo .deps/status_msg.Po
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I..   -fno-strict-aliasing -W -Wall -Wno-psabi  -g -O2 -MT timer.o -MD -MP -MF .deps/timer.Tpo -c -o timer.o timer.cpp
mv -f .deps/timer.Tpo .deps/timer.Po
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I..   -fno-strict-aliasing -W -Wall -Wno-psabi  -g -O2 -MT ultragetopt.o -MD -MP -MF .deps/ultragetopt.Tpo -c -o ultragetopt.o ultragetopt.cpp
mv -f .deps/ultragetopt.Tpo .deps/ultragetopt.Po
g++ -std=c++11 -DHAVE_CONFIG_H -I. -I..   -fno-strict-aliasing -W -Wall -Wno-psabi  -g -O2 -MT utils.o -MD -MP -MF .deps/utils.Tpo -c -o utils.o utils.cpp
mv -f .deps/utils.Tpo .deps/utils.Po
/bin/bash ../libtool  --tag=CXX   --mode=link g++ -std=c++11  -g -O2 -static-libstdc++  -o mpd_oled bcm2835.o bcm2835_i2c.o glcdfont.o Adafruit_GFX.o ArduiPi_OLED.o display.o main.o player.o programopts.o status.o status_msg.o timer.o ultragetopt.o utils.o hjson_cpp/libhjsoncpp.la http_tiny/libhttptiny.la  -lpthread -lmpdclient
libtool: link: g++ -std=c++11 -g -O2 -static-libstdc++ -o mpd_oled bcm2835.o bcm2835_i2c.o glcdfont.o Adafruit_GFX.o ArduiPi_OLED.o display.o main.o player.o programopts.o status.o status_msg.o timer.o ultragetopt.o utils.o  hjson_cpp/.libs/libhjsoncpp.a http_tiny/.libs/libhttptiny.a -lpthread -lmpdclient
make[3]: Leaving directory '/home/pi/mpd_oled/src'
make[2]: Leaving directory '/home/pi/mpd_oled/src'
make[2]: Entering directory '/home/pi/mpd_oled'
make[2]: Leaving directory '/home/pi/mpd_oled'
make[1]: Leaving directory '/home/pi/mpd_oled'
pi@moode:~/mpd_oled $ sudo make install-strip
if test -z 'strip'; then \
 make  INSTALL_PROGRAM="/bin/bash /home/pi/mpd_oled/install-sh -c -s" \
   install_sh_PROGRAM="/bin/bash /home/pi/mpd_oled/install-sh -c -s" INSTALL_STRIP_FLAG=-s \
     install; \
else \
 make  INSTALL_PROGRAM="/bin/bash /home/pi/mpd_oled/install-sh -c -s" \
   install_sh_PROGRAM="/bin/bash /home/pi/mpd_oled/install-sh -c -s" INSTALL_STRIP_FLAG=-s \
   "INSTALL_PROGRAM_ENV=STRIPPROG='strip'" install; \
fi
make[1]: Entering directory '/home/pi/mpd_oled'
Making install in src
make[2]: Entering directory '/home/pi/mpd_oled/src'
Making install in hjson_cpp
make[3]: Entering directory '/home/pi/mpd_oled/src/hjson_cpp'
make[4]: Entering directory '/home/pi/mpd_oled/src/hjson_cpp'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/pi/mpd_oled/src/hjson_cpp'
make[3]: Leaving directory '/home/pi/mpd_oled/src/hjson_cpp'
Making install in http_tiny
make[3]: Entering directory '/home/pi/mpd_oled/src/http_tiny'
make[4]: Entering directory '/home/pi/mpd_oled/src/http_tiny'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/pi/mpd_oled/src/http_tiny'
make[3]: Leaving directory '/home/pi/mpd_oled/src/http_tiny'
make[3]: Entering directory '/home/pi/mpd_oled/src'
make[4]: Entering directory '/home/pi/mpd_oled/src'
/usr/bin/mkdir -p '/usr/local/bin'
STRIPPROG='strip' /bin/bash ../libtool   --mode=install /bin/bash /home/pi/mpd_oled/install-sh -c -s mpd_oled '/usr/local/bin'
libtool: install: /bin/bash /home/pi/mpd_oled/install-sh -c -s mpd_oled /usr/local/bin/mpd_oled
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/pi/mpd_oled/src'
make[3]: Leaving directory '/home/pi/mpd_oled/src'
make[2]: Leaving directory '/home/pi/mpd_oled/src'
make[2]: Entering directory '/home/pi/mpd_oled'
make[3]: Entering directory '/home/pi/mpd_oled'
/usr/bin/mkdir -p '/usr/local/bin'
/usr/bin/install -c scripts/mpd_oled_service_install scripts/mpd_oled_service_edit scripts/mpd_oled_service_uninstall scripts/mpd_oled_launch_test scripts/mpd_oled_moode_audio_copy_install scripts/mpd_oled_moode_audio_copy_uninstall scripts/mpd_oled_moode_audio_copy_report scripts/mpd_oled_volumio_mpd_conf_install scripts/mpd_oled_volumio_mpd_conf_uninstall scripts/mpd_oled_raudio_mpd_conf_install scripts/mpd_oled_raudio_mpd_conf_uninstall scripts/mpd_oled_usrlocal_check scripts/mpd_oled_usrlocal_uninstall '/usr/local/bin'
/usr/bin/mkdir -p '/usr/local/share/doc/mpd_oled'
/usr/bin/install -c -m 644 README.md NEWS AUTHORS COPYING mpd_oled.jpg '/usr/local/share/doc/mpd_oled'
/usr/bin/mkdir -p '/usr/local/share/doc/mpd_oled/doc'
/usr/bin/install -c -m 644 doc/FAQ.md doc/install_moode7_deb.md doc/install_moode7_source.md doc/install_moode6_deb.md doc/install_moode6_source.md doc/install_volumio2_deb.md doc/install_volumio2_source.md doc/install_raudio1_zst.md doc/install_raudio1_source.md doc/wiring_i2c.png doc/wiring_spi.png '/usr/local/share/doc/mpd_oled/doc'
/usr/bin/mkdir -p '/usr/local/share/mpd_oled'
/usr/bin/install -c -m 644 scripts/mpd_oled_fifo.conf '/usr/local/share/mpd_oled'
/usr/bin/mkdir -p '/usr/local/share/mpd_oled/moode'
/usr/bin/install -c -m 644 scripts/moode6_mpd_fifo.patch scripts/moode7_mpd_fifo.patch scripts/moode_mpd_fifo_old.patch '/usr/local/share/mpd_oled/moode'
make[3]: Leaving directory '/home/pi/mpd_oled'
make[2]: Leaving directory '/home/pi/mpd_oled'
make[1]: Leaving directory '/home/pi/mpd_oled'
pi@moode:~/mpd_oled $ sudo nano /etc/modules
pi@moode:~/mpd_oled $ sudo nano /boot/config.txt
pi@moode:~/mpd_oled $ sqlite3 /var/local/www/db/moode-sqlite3.db "update cfg_system set value=1 where param='extmeta'" && mpc add ""
pi@moode:~/mpd_oled $
pi@moode:~/mpd_oled $ sudo mpd_oled_service_install
Created symlink /etc/systemd/system/multi-user.target.wants/mpd_oled.service → /etc/systemd/system/mpd_oled.service.
pi@moode:~/mpd_oled $ sudo mpd_oled_service_edit -o 6 -b 21 -g 1 -f 20 -c alsa,plughw:Loopback,1
setting service file to run: mpd_oled '-o 6 -b 21 -g 1 -f 20 -c alsa,plughw:Loopback,1'
pi@moode:~/mpd_oled $ sudo mpd_oled_service_edit -o 3 -b 21 -g 1 -f 20 -c alsa,plughw:Loopback,1
setting service file to run: mpd_oled '-o 3 -b 21 -g 1 -f 20 -c alsa,plughw:Loopback,1'
pi@moode:~/mpd_oled $
Reply
Hi Jempie

You posted the output of 'sudo apt update', I asked for the output of 'sudo apt install ...'. Anyway, you have now posted this output and it indicates that libfftw3-dev is being installed, and now when you run configure for cava you have


Code:
checking for fftw_execute in -lfftw3... yes

Indicating that libfftw3-dev is now correctly installed.

Regarding your black display, the correct way to specify your display is 'mpd_oled -o 1'.

Adrian.
Reply
(08-27-2021, 07:51 AM)adrii Wrote: Hi Jempie

You posted the output of 'sudo apt update', I asked for the output of 'sudo apt install ...'. Anyway, you have now posted this output and it indicates that libfftw3-dev is being installed, and now when you run configure for cava you have


Code:
checking for fftw_execute in -lfftw3... yes

Indicating that libfftw3-dev is now correctly installed.

Regarding your black display, the correct way to specify your display is 'mpd_oled -o 1'.

Adrian.
Code:
sudo mpd_oled_service_edit -o 1 -b 21 -g 1 -f 20 -c alsa,plughw:Loopback,1

Screen stays black
Reply
(08-27-2021, 08:15 AM)Jempie Wrote:
(08-27-2021, 07:51 AM)adrii Wrote: Hi Jempie

You posted the output of 'sudo apt update', I asked for the output of 'sudo apt install ...'. Anyway, you have now posted this output and it indicates that libfftw3-dev is being installed, and now when you run configure for cava you have


Code:
checking for fftw_execute in -lfftw3... yes

Indicating that libfftw3-dev is now correctly installed.

Regarding your black display, the correct way to specify your display is 'mpd_oled -o 1'.

Adrian.
Code:
sudo mpd_oled_service_edit -o 1 -b 21 -g 1 -f 20 -c alsa,plughw:Loopback,1

Screen stays black
Last login: Fri Aug 27 04:04:14 2021 from 192.168.2.12
pi@moode:~ $ sudo i2cdetect -y 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
pi@moode:~ $

   
Reply
Hi Jempie

Looking at your photo it looks like you have wired your display for I2C when it is configured for SPI...

Adrian.
Reply
(08-27-2021, 08:58 AM)adrii Wrote: Hi Jempie

Looking at your photo it looks like you have wired your display for I2C when it is configured for SPI...

Adrian.

Adrian,

just to be sure

i have the following connection

GND to GND (9)
VCC to VCC (1)
SCL to SLK
SDA to MOSI

not connected
RES to ?
DC  to ?
CS  to ?
Reply
(08-27-2021, 09:14 AM)Jempie Wrote:
(08-27-2021, 08:58 AM)adrii Wrote: Hi Jempie

Looking at your photo it looks like you have wired your display for I2C when it is configured for SPI...

Adrian.

Adrian,

just to be sure

i have the following connection

GND to GND (9)
VCC to VCC (1)
SCL to SLK
SDA to MOSI

not connected
RES to ?
DC  to ?
CS  to ?

   
Reply
Hi Jempie

Take another look at my previous messages to you, otherwise, perhaps someone else can help you with this.

Adrian.
Reply
(08-27-2021, 09:46 AM)adrii Wrote: Hi Jempie

Take another look at my previous messages to you, otherwise, perhaps someone else can help you with this.

Adrian.

oke i found what i forgot

wires connected as you mention

still display black

in moode get error
Failed to open "ALSA Default" (alsa); Error opening ALSA device "_audioout"; snd_pcm_hw_params_set_buffer_time_near() failed: Invalid argument
Reply
Hi Jempie,
Please try the following link:
From Adrian istruction
 
Regards,
Francesco
Reply


Forum Jump: