Problem Installing mpdproxy
by hal8000b from LinuxQuestions.org on (#595V1)
Usung linux mint 19.3 with gcc.
I'm trying to cinstall mpdproxy from github, but no instructions and
reading the makefile is beyond my grasp.
Project link below:
https://github.com/floriandejonckheere/mpdproxy
After downloading and trying 'make'
I get this error:
Code:make
gcc -fPIC -Wall -Werror -Wconversion -O3 -g -c -o mpdproxy.o mpdproxy.c
mpdproxy.c: In function th_sock_client':
mpdproxy.c:351:2: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
pthread_cleanup_push(&th_cleanup_client, connection);
^~~~~~~~~~~~~~~~~~~~
mpdproxy.c: In function th_sock_server':
mpdproxy.c:376:2: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
pthread_cleanup_push(&th_cleanup_server, connection);
^~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
<builtin>: recipe for target 'mpdproxy.o' failed
make: *** [mpdproxy.o] Error 1
Project is 5 years old so thanks in advance if anyone can help
or suggest alternate solutions.


I'm trying to cinstall mpdproxy from github, but no instructions and
reading the makefile is beyond my grasp.
Project link below:
https://github.com/floriandejonckheere/mpdproxy
After downloading and trying 'make'
I get this error:
Code:make
gcc -fPIC -Wall -Werror -Wconversion -O3 -g -c -o mpdproxy.o mpdproxy.c
mpdproxy.c: In function th_sock_client':
mpdproxy.c:351:2: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
pthread_cleanup_push(&th_cleanup_client, connection);
^~~~~~~~~~~~~~~~~~~~
mpdproxy.c: In function th_sock_server':
mpdproxy.c:376:2: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
pthread_cleanup_push(&th_cleanup_server, connection);
^~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
<builtin>: recipe for target 'mpdproxy.o' failed
make: *** [mpdproxy.o] Error 1
Project is 5 years old so thanks in advance if anyone can help
or suggest alternate solutions.