Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 15/09/2014, à 17:25

seytu2b

Impossible de compiler despotify . Error DSO

Bonjour , excusez moi je m'interesse depuis hier au logiciel despotify qui propose le système de spotify mais en console .
J'ai téléchargé les sources sur le site : http://sourceforge.net/projects/despoti … =directory
Cependant comme il est dit dans le titre impossible de compiler le logiciel. Voici les messages d'erreurs :

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
make[1]: *** [despotify] Erreur 1
make: *** [clients/despotify] Erreur 2

... Et puis voilà le makefile :

#
# $Id: Makefile 519 2012-03-17 09:25:26Z dalus $
# 
#

export

CFLAGS = -Wall -Wextra -ggdb -std=gnu99
LDFLAGS = -lz -lvorbisfile

LD = $(CC)

ifndef V
# run "make V=1" to see full command lines
SILENT := @
SILENTDIR := -s
SILENTLIB := --quiet
endif

INSTALL_PREFIX ?= ${DESTDIR}/usr
LINUX_BACKEND = gstreamer

include Makefile.local.mk

ifeq ($(DEBUG), 1)
    CFLAGS += -DDEBUG
endif

ifeq ($(MP3_SUPPORT), 1)
    CFLAGS += -DMP3_SUPPORT
    LDFLAGS += -lmpg123
endif

# Mac OS X specifics
ifeq ($(shell uname -s),Darwin)
    LT = glibtool --tag=CC
else
    LT = libtool $(SILENTLIB) --tag=CC
endif

# windows specifics
ifeq ($(firstword $(subst _, ,$(shell uname -s))), MINGW32)
    LDFLAGS += -leay32
else
    LDFLAGS += -lcrypto
endif

# gcc2 & 3 are ancient and doesn't support -Wno-pointer-sign
ifeq ($(firstword $(subst ., ,$(shell $(CC) -dumpversion))), 4)
    CFLAGS += -Wno-pointer-sign
endif

CLIENTS = clients/simple
ifeq ($(CLIENT_DESPOTIFY), 1)
    CLIENTS += clients/despotify
endif
ifeq ($(CLIENT_GATEWAY), 1)
        CLIENTS += clients/gateway
endif
ifeq ($(CLIENT_MAEMIFY), 1)
        CLIENTS += clients/maemify
endif

SUBDIRS = lib $(CLIENTS)

.PHONY: all clean $(SUBDIRS) install uninstall

all: $(SUBDIRS)

clean: 
        for dir in $(SUBDIRS); do \
                $(MAKE) -C $$dir -f local.mk clean || exit $$?; \
        done

clients: $(CLIENTS)
$(CLIENTS): lib
$(SUBDIRS):
        $(MAKE) $(SILENTDIR) -C $@ -f local.mk

install: $(SUBDIRS)
        for dir in $(SUBDIRS); do \
                $(MAKE) -C $$dir -f local.mk install || exit $$?; \
        done

uninstall:
        for dir in $(SUBDIRS); do \
                $(MAKE) -C $$dir -f local.mk uninstall || exit $$?; \
        done

Makefile.local.mk:
        @echo " **** No Makefile.local.mk found, copying dist."
        cp Makefile.local.mk.dist Makefile.local.mk

et pour finir le makeefile.local.mk

# Local build settings. Do NOT edit Makefile, edit this instead.
# After a fresh checkout, you have to copy this to Makefile.local.mk.

## Enable debug output to /tmp/gui.log
# DEBUG = 1

## Enable additional clients.
CLIENT_DESPOTIFY = 1
CLIENT_GATEWAY   = 1
# CLIENT_MAEMIFY   = 1

## Enable Nokia Maemo4 specific code in maemify client. 
## At least LINUX_BACKEND = gstreamer seems to work with this.
# MAEMO4 = 1

## Install prefix
# INSTALL_PREFIX = /usr

## Specify ncurses include path explicitly. (should contain curses.h)
# NCURSES_INCLUDE = /usr/local/include/ncursesw

## Choose audio backend
LINUX_BACKEND = libao

## Add more CFLAGS
# CFLAGS += -DDEBUG_SNDQUEUE
# CFLAGS += -DDEBUG_PACKETS

## Adjust linking flags
 LDFLAGS += -L/usr/local/lib

## If you're on Mac OS X and have installed libvorbisfile
## via 'port install ..', try uncommenting these lines
# CFLAGS += -I/opt/local/include
# LDFLAGS += -L/opt/local/lib


## Uncomment this if you want support for decoding MP3 streams
## (Requires libmpg123). 
## This is not required for normal use, as all tracks are 
## available as OGG Vorbis.
# MP3_SUPPORT = 1

... PS : C'est la première fois que je tente d'installer un logiciel via ses sources ! Et j'avoue que un problème d'entrée c'est assez décourragant ... J'espère que vous pourrez m'aider . Merci d'avance

Hors ligne

#2 Le 16/09/2014, à 21:39

seytu2b

Re : Impossible de compiler despotify . Error DSO

Toujours personne? sad

Hors ligne

#3 Le 28/09/2014, à 11:47

seytu2b

Re : Impossible de compiler despotify . Error DSO

Sympa ce forum les gens répondent aux gens...

Hors ligne