pedro@pedrovalentim:/tmp/despotify/src$ make
Makefile:23: Makefile.local.mk: Arquivo ou diretório não encontrado
**** No Makefile.local.mk found, copying dist.
cp Makefile.local.mk.dist Makefile.local.mk
make -s -C lib -f local.mk
Generating dependencies
CC aes.c
CC auth.c
CC buf.c
CC cache.c
CC channel.c
CC commands.c
CC dns.c
dns.c: In function 'dns_srv_list':
dns.c:41:30: warning: variable 'weight' set but not used [-Wunused-but-set-variable]
unsigned short atype, prio, weight, port;
^
CC ezxml.c
CC handlers.c
CC keyexchange.c
keyexchange.c: In function 'key_init':
keyexchange.c:311:15: warning: variable 'mac_len' set but not used [-Wunused-but-set-variable]
unsigned int mac_len;
^
CC packet.c
CC puzzle.c
CC session.c
CC shn.c
CC sndqueue.c
sndqueue.c: In function 'snd_do_mpeg':
sndqueue.c:571:43: warning: unused parameter 'ds' [-Wunused-parameter]
int snd_do_mpeg(struct despotify_session* ds, struct pcm_data* pcm) {
^
sndqueue.c:571:64: warning: unused parameter 'pcm' [-Wunused-parameter]
int snd_do_mpeg(struct despotify_session* ds, struct pcm_data* pcm) {
^
CC util.c
CC network.c
CC despotify.c
despotify.c: In function 'despotify_free':
despotify.c:180:9: warning: variable 'r' set but not used [-Wunused-but-set-variable]
int r;
^
despotify.c: In function 'despotify_substream_callback':
despotify.c:370:21: warning: variable 'error' set but not used [-Wunused-but-set-variable]
int error = 0;
^
CC sha1.c
CC hmac.c
CC xml.c
LD libdespotify.la
make -s -C clients/simple -f local.mk
Generating dependencies
LD simple
make -s -C clients/despotify -f local.mk
Generating dependencies
CC commands.c
CC event.c
CC main.c
CC session.c
CC ui.c
CC ui_footer.c
CC ui_help.c
CC ui_log.c
CC ui_sidebar.c
CC ui_splash.c
CC ui_tracklist.c
CC libao.c
LD despotify
/usr/bin/ld: session.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
/lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
local.mk:40: recipe for target 'despotify' failed
make[1]: *** [despotify] Error 1
Makefile:78: recipe for target 'clients/despotify' failed
make: *** [clients/despotify] Error 2
pedro@pedrovalentim:/tmp/despotify/src$ sudo make install
[sudo] password for pedro:
make -s -C lib -f local.mk
make -s -C clients/simple -f local.mk
make -s -C clients/despotify -f local.mk
LD despotify
/usr/bin/ld: session.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
/lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
local.mk:40: recipe for target 'despotify' failed
make[1]: *** [despotify] Error 1
Makefile:78: recipe for target 'clients/despotify' failed
make: *** [clients/despotify] Error 2
pedro@pedrovalentim:~/tmp/despotify/src$
pedro@pedrovalentim:
/tmp/despotify/src$ make/tmp/despotify/src$ sudo make installMakefile:23: Makefile.local.mk: Arquivo ou diretório não encontrado
**** No Makefile.local.mk found, copying dist.
cp Makefile.local.mk.dist Makefile.local.mk
make -s -C lib -f local.mk
Generating dependencies
CC aes.c
CC auth.c
CC buf.c
CC cache.c
CC channel.c
CC commands.c
CC dns.c
dns.c: In function 'dns_srv_list':
dns.c:41:30: warning: variable 'weight' set but not used [-Wunused-but-set-variable]
unsigned short atype, prio, weight, port;
^
CC ezxml.c
CC handlers.c
CC keyexchange.c
keyexchange.c: In function 'key_init':
keyexchange.c:311:15: warning: variable 'mac_len' set but not used [-Wunused-but-set-variable]
unsigned int mac_len;
^
CC packet.c
CC puzzle.c
CC session.c
CC shn.c
CC sndqueue.c
sndqueue.c: In function 'snd_do_mpeg':
sndqueue.c:571:43: warning: unused parameter 'ds' [-Wunused-parameter]
int snd_do_mpeg(struct despotify_session* ds, struct pcm_data* pcm) {
^
sndqueue.c:571:64: warning: unused parameter 'pcm' [-Wunused-parameter]
int snd_do_mpeg(struct despotify_session* ds, struct pcm_data* pcm) {
^
CC util.c
CC network.c
CC despotify.c
despotify.c: In function 'despotify_free':
despotify.c:180:9: warning: variable 'r' set but not used [-Wunused-but-set-variable]
int r;
^
despotify.c: In function 'despotify_substream_callback':
despotify.c:370:21: warning: variable 'error' set but not used [-Wunused-but-set-variable]
int error = 0;
^
CC sha1.c
CC hmac.c
CC xml.c
LD libdespotify.la
make -s -C clients/simple -f local.mk
Generating dependencies
LD simple
make -s -C clients/despotify -f local.mk
Generating dependencies
CC commands.c
CC event.c
CC main.c
CC session.c
CC ui.c
CC ui_footer.c
CC ui_help.c
CC ui_log.c
CC ui_sidebar.c
CC ui_splash.c
CC ui_tracklist.c
CC libao.c
LD despotify
/usr/bin/ld: session.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
/lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
local.mk:40: recipe for target 'despotify' failed
make[1]: *** [despotify] Error 1
Makefile:78: recipe for target 'clients/despotify' failed
make: *** [clients/despotify] Error 2
pedro@pedrovalentim:
[sudo] password for pedro:
make -s -C lib -f local.mk
make -s -C clients/simple -f local.mk
make -s -C clients/despotify -f local.mk
LD despotify
/usr/bin/ld: session.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
/lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
local.mk:40: recipe for target 'despotify' failed
make[1]: *** [despotify] Error 1
Makefile:78: recipe for target 'clients/despotify' failed
make: *** [clients/despotify] Error 2
pedro@pedrovalentim:~/tmp/despotify/src$