You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now I am using Neo Plus2 with ubuntu and tyring to install shairport-sync.
I used the "--with-airplay-2" to do ./configure
when I start to "make", the program went wrong.
Please check the info and the steps below.
These were steps I used:
apt-get update && apt-get upgrade
install the tools, the guild page mentioned (except xxd, because the apt-get cannot find xxd.
install libplist from https://github.com/libimobiledevice/libplist.git
because the libplist version from apt-get is lower than 2.0
(by the way, apt-get can not install higher version than 2.0)
root@NanoPi-NEO-Plus2:~/shairport-sync# make
printf"// Do not edit!\n"> gitversion.h
printf"// This file is automatically generated by 'git describe --tags --dirty --broken', if available.\n">> gitversion.h
printf" char git_version_string[] = \"">> gitversion.h
git describe --tags --dirty --broken | tr -d '[[:space:]]'>> gitversion.h
error: unknown option `broken'usage: git describe [<options>] [<commit-ish>...] or: git describe [<options>] --dirty --contains find the tag that comes after the commit --debug debug search strategy on stderr --all use any ref --tags use any tag, even unannotated --long always use long format --first-parent only follow first parent --abbrev[=<n>] use <n> digits to display SHA-1s --exact-match only output exact matches --candidates <n> consider <n> most recent tags (default: 10) --match <pattern> only consider tags matching <pattern> --always show abbreviated commit object as fallback --dirty[=<mark>] append <mark> on dirty working tree (default: "-dirty")printf "\";\n" >> gitversion.htouch gitversion.cprintf "// Do not edit!\n" > plist_xml_strings.hprintf "// This file is automatically generated from files in the plists folder.\n\n" >> plist_xml_strings.hxxd -i ./plists/get_info_response.xml - | sed -e 's/[^ ]*plists_get_info_response_xml/plists_get_info_response_xml/g' >> plist_xml_strings.hprintf "\n" >> plist_xml_strings.htouch plist_xml_strings.cmake all-ammake[1]: Entering directory '/root/shairport-sync'gcc -DHAVE_CONFIG_H -I. -Wall -g -DCONFIG_GCRYPT -pthread -I/usr/include/uuid -I/usr/include/aarch64-linux-gnu -I/usr/include/aarch64-linux-gnu -I/usr/include/aarch64-linux-gnu -I/usr/include/aarch64-linux-gnu -I/usr/local/include -g -O2 -MT pair_ap/lib_pair_ap_a-pair.o -MD -MP -MF pair_ap/.deps/lib_pair_ap_a-pair.Tpo -c -o pair_ap/lib_pair_ap_a-pair.o `test -f 'pair_ap/pair.c' || echo './'`pair_ap/pair.cmv -f pair_ap/.deps/lib_pair_ap_a-pair.Tpo pair_ap/.deps/lib_pair_ap_a-pair.Pogcc -DHAVE_CONFIG_H -I. -Wall -g -DCONFIG_GCRYPT -pthread -I/usr/include/uuid -I/usr/include/aarch64-linux-gnu -I/usr/include/aarch64-linux-gnu -I/usr/include/aarch64-linux-gnu -I/usr/include/aarch64-linux-gnu -I/usr/local/include -g -O2 -MT pair_ap/lib_pair_ap_a-pair_fruit.o -MD -MP -MF pair_ap/.deps/lib_pair_ap_a-pair_fruit.Tpo -c -o pair_ap/lib_pair_ap_a-pair_fruit.o `test -f 'pair_ap/pair_fruit.c' || echo './'`pair_ap/pair_fruit.cmv -f pair_ap/.deps/lib_pair_ap_a-pair_fruit.Tpo pair_ap/.deps/lib_pair_ap_a-pair_fruit.Pogcc -DHAVE_CONFIG_H -I. -Wall -g -DCONFIG_GCRYPT -pthread -I/usr/include/uuid -I/usr/include/aarch64-linux-gnu -I/usr/include/aarch64-linux-gnu -I/usr/include/aarch64-linux-gnu -I/usr/include/aarch64-linux-gnu -I/usr/local/include -g -O2 -MT pair_ap/lib_pair_ap_a-pair_homekit.o -MD -MP -MF pair_ap/.deps/lib_pair_ap_a-pair_homekit.Tpo -c -o pair_ap/lib_pair_ap_a-pair_homekit.o `test -f 'pair_ap/pair_homekit.c' || echo './'`pair_ap/pair_homekit.cpair_ap/pair_homekit.c: In function ‘encrypt_chacha’:pair_ap/pair_homekit.c:983:29: error: ‘GCRY_CIPHER_CHACHA20’ undeclared (first use in this function); did you mean ‘GCRY_CIPHER_SALSA20’? 983 | if (gcry_cipher_open(&hd, GCRY_CIPHER_CHACHA20, GCRY_CIPHER_MODE_POLY1305, 0) != GPG_ERR_NO_ERROR) | ^~~~~~~~~~~~~~~~~~~~ | GCRY_CIPHER_SALSA20pair_ap/pair_homekit.c:983:29: note: each undeclared identifier is reported only once for each function it appears inpair_ap/pair_homekit.c:983:51: error: ‘GCRY_CIPHER_MODE_POLY1305’ undeclared (first use in this function); did you mean ‘GCRY_CIPHER_MODE_OFB’? 983 | if (gcry_cipher_open(&hd, GCRY_CIPHER_CHACHA20, GCRY_CIPHER_MODE_POLY1305, 0) != GPG_ERR_NO_ERROR) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | GCRY_CIPHER_MODE_OFBpair_ap/pair_homekit.c: In function ‘decrypt_chacha’:pair_ap/pair_homekit.c:1049:29: error: ‘GCRY_CIPHER_CHACHA20’ undeclared (first use in this function); did you mean ‘GCRY_CIPHER_SALSA20’? 1049 | if (gcry_cipher_open(&hd, GCRY_CIPHER_CHACHA20, GCRY_CIPHER_MODE_POLY1305, 0) != GPG_ERR_NO_ERROR) | ^~~~~~~~~~~~~~~~~~~~ | GCRY_CIPHER_SALSA20pair_ap/pair_homekit.c:1049:51: error: ‘GCRY_CIPHER_MODE_POLY1305’ undeclared (first use in this function); did you mean ‘GCRY_CIPHER_MODE_OFB’? 1049 | if (gcry_cipher_open(&hd, GCRY_CIPHER_CHACHA20, GCRY_CIPHER_MODE_POLY1305, 0) != GPG_ERR_NO_ERROR) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | GCRY_CIPHER_MODE_OFBMakefile:981: recipe for target 'pair_ap/lib_pair_ap_a-pair_homekit.o' failedmake[1]: *** [pair_ap/lib_pair_ap_a-pair_homekit.o] Error 1make[1]: Leaving directory '/root/shairport-sync'Makefile:670: recipe for target 'all' failedmake: *** [all] Error 2
System Information.
some info:
uname -a
Linux NanoPi-NEO-Plus2 4.14.0 #33 SMP Fri Sep 28 22:12:44 PDT 2018 aarch64 aarch64 aarch64 GNU/Linux
Configuration Information.
git clone https://github.com/mikebrady/shairport-sync.git
cd shairport-sync
git checkout development
autoreconf -fi
./configure --sysconfdir=/etc --with-alsa --with-soxr --with-avahi --with-ssl=openssl --with-systemd --with-airplay-2
make
PulseAudio or PipeWire installed?
Check if your system uses a Sound Server.
How did you install Shairport Sync?
Built from source
Check previous issues
Confirm
The text was updated successfully, but these errors were encountered:
Thanks for your fast reply.
The old version might be the reason.
But I wrote a lot code for the old version and i am trying to make it work.
the main problem is the version of xxd and libplist in the old version of apt-get
Is it possible to make it work ?
I really don't know, TBH, but I guess not for AirPlay 2. xxd might be okay, but libplist has had many improvements. It might be worth trying to build Classic AirPlay rather than AirPlay 2, though.
What happened?
Dear my friends:
Now I am using Neo Plus2 with ubuntu and tyring to install shairport-sync.
I used the "--with-airplay-2" to do ./configure
when I start to "make", the program went wrong.
Please check the info and the steps below.
These were steps I used:
apt-get update && apt-get upgrade
install the tools, the guild page mentioned (except xxd, because the apt-get cannot find xxd.
install xxd from https://github.com/ckormanyos/xxd.git
install nqptp as the guild page tell me.
install libplist from https://github.com/libimobiledevice/libplist.git
because the libplist version from apt-get is lower than 2.0
(by the way, apt-get can not install higher version than 2.0)
git clone https://github.com/mikebrady/shairport-sync.git
and used the "--with-airplay-2" to do ./configure
then make, and got the errors.
Relevant log output
System Information.
some info:
uname -a
Linux NanoPi-NEO-Plus2 4.14.0 #33 SMP Fri Sep 28 22:12:44 PDT 2018 aarch64 aarch64 aarch64 GNU/Linux
Configuration Information.
git clone https://github.com/mikebrady/shairport-sync.git cd shairport-sync git checkout development autoreconf -fi ./configure --sysconfdir=/etc --with-alsa --with-soxr --with-avahi --with-ssl=openssl --with-systemd --with-airplay-2 make
PulseAudio or PipeWire installed?
How did you install Shairport Sync?
Built from source
Check previous issues
The text was updated successfully, but these errors were encountered: