Ajouter un commentaire

fred1599
[Résolu]Echec Installation Pymedia

Bonjour,

J'ai un autre problème à soumettre et existant depuis un long moment.

Je voudrais utiliser le module pymedia, pour cela je télécharge sur le site officiel la version 1.3.7.5 ou la version 1.3.7.3.

Le soucis se trouve lors de la compilation :

error: command 'gcc' failed with exit status 1

Pas moyen de résoudre le problème quelquesoit la version

J'ai pourtant tout ce qu'il faut

Quote:
OGG : found
VORBIS : found
FAAD : found
MP3LAME : found
VORBISENC : found
ALSA : found

Voici ce que me dis le programme avant l'erreur :

Quote:
running install
running build
running build_py
creating build
creating build/lib.linux-i686-2.5
creating build/lib.linux-i686-2.5/pymedia
copying inst_lib/player.py -> build/lib.linux-i686-2.5/pymedia
copying inst_lib/__init__.py -> build/lib.linux-i686-2.5/pymedia
copying inst_lib/meta.py -> build/lib.linux-i686-2.5/pymedia
creating build/lib.linux-i686-2.5/pymedia/audio
copying inst_lib/audio/__init__.py -> build/lib.linux-i686-2.5/pymedia/audio
creating build/lib.linux-i686-2.5/pymedia/video
copying inst_lib/video/__init__.py -> build/lib.linux-i686-2.5/pymedia/video
creating build/lib.linux-i686-2.5/pymedia/video/ext_codecs
copying inst_lib/video/ext_codecs/__init__.py -> build/lib.linux-i686-2.5/pymedia/video/ext_codecs
creating build/lib.linux-i686-2.5/pymedia/removable
copying inst_lib/removable/__init__.py -> build/lib.linux-i686-2.5/pymedia/removable
running build_ext
building 'pymedia.audio.sound' extension
creating build/temp.linux-i686-2.5
creating build/temp.linux-i686-2.5/sound
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -DBUILD_NUM=1862 -DPATH_DEV_DSP="/dev/dsp" -DPATH_DEV_MIXER="/dev/mixer" -D_FILE_OFFSET_BITS=64 -DACCEL_DETECT=1 -DHAVE_MMX=1 -DHAVE_LINUX_DVD_STRUCT=1 -DDVD_STRUCT_IN_LINUX_CDROM_H=1 -DCONFIG_VORBIS -DCONFIG_VORBIS -DCONFIG_FAAD -DCONFIG_MP3LAME -DCONFIG_VORBIS -DCONFIG_ALSA -DHAVE_AV_CONFIG_H -DUDF_CACHE=1 -INone -INone -INone -I/usr/include/lame -INone -INone -I/home/fred1599/Bureau/pymedia-1.3.7.3 -Isound/ -I/usr/include/python2.5 -c sound/sound.cpp -o build/temp.linux-i686-2.5/sound/sound.o
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour Ada/C/ObjC mais pas pour C++
In file included from sound/sound.cpp:31:
sound/audio_alsa.h: In member function «int OSoundStream::Init(int, int, int, int)»:
sound/audio_alsa.h:322: attention : deprecated conversion from string constant to «char*»
sound/audio_alsa.h:324: attention : unused variable «val»
sound/audio_alsa.h: In member function «int ISoundStream::Init(int, int, int)»:
sound/audio_alsa.h:666: attention : deprecated conversion from string constant to «char*»
sound/audio_alsa.h: In constructor «Mixer::Mixer(int)»:
sound/audio_alsa.h:1033: attention : deprecated conversion from string constant to «char*»
sound/sound.cpp: At global scope:
sound/sound.cpp:791: attention : deprecated conversion from string constant to «char*»
sound/sound.cpp:791: attention : deprecated conversion from string constant to «char*»
sound/sound.cpp:791: attention : deprecated conversion from string constant to «char*»
sound/sound.cpp:791: attention : deprecated conversion from string constant to «char*»
sound/sound.cpp:791: attention : deprecated conversion from string constant to «char*»
sound/sound.cpp:791: attention : deprecated conversion from string constant to «char*»
sound/sound.cpp:791: attention : deprecated conversion from string constant to «char*»
sound/sound.cpp:791: attention : deprecated conversion from string constant to «char*»
sound/sound.cpp:791: attention : deprecated conversion from string constant to «char*»
sound/sound.cpp:791: attention : deprecated conversion from string constant to «char*»
sound/sound.cpp:798: attention : deprecated conversion from string constant to «char*»
sound/sound.cpp:798: attention : deprecated conversion from string constant to «char*»
sound/sound.cpp: In function «void initsound()»:
sound/sound.cpp:1451: attention : deprecated conversion from string constant to «char*»
sound/audio_alsa.h: In member function «int OSoundStream::Init(int, int, int, int)»:
sound/audio_alsa.h:408: attention : «frames» is used uninitialized in this function
sound/audio_alsa.h: At global scope:
sound/audio_alsa.h:112: attention : «snd_mixer_elem_t* alsamixer_find_elem(snd_mixer_t*, char*, int)» defined but not used
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -DBUILD_NUM=1862 -DPATH_DEV_DSP="/dev/dsp" -DPATH_DEV_MIXER="/dev/mixer" -D_FILE_OFFSET_BITS=64 -DACCEL_DETECT=1 -DHAVE_MMX=1 -DHAVE_LINUX_DVD_STRUCT=1 -DDVD_STRUCT_IN_LINUX_CDROM_H=1 -DCONFIG_VORBIS -DCONFIG_VORBIS -DCONFIG_FAAD -DCONFIG_MP3LAME -DCONFIG_VORBIS -DCONFIG_ALSA -DHAVE_AV_CONFIG_H -DUDF_CACHE=1 -INone -INone -INone -I/usr/include/lame -INone -INone -I/home/fred1599/Bureau/pymedia-1.3.7.3 -Isound/ -I/usr/include/python2.5 -c sound/resample.c -o build/temp.linux-i686-2.5/sound/resample.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -DBUILD_NUM=1862 -DPATH_DEV_DSP="/dev/dsp" -DPATH_DEV_MIXER="/dev/mixer" -D_FILE_OFFSET_BITS=64 -DACCEL_DETECT=1 -DHAVE_MMX=1 -DHAVE_LINUX_DVD_STRUCT=1 -DDVD_STRUCT_IN_LINUX_CDROM_H=1 -DCONFIG_VORBIS -DCONFIG_VORBIS -DCONFIG_FAAD -DCONFIG_MP3LAME -DCONFIG_VORBIS -DCONFIG_ALSA -DHAVE_AV_CONFIG_H -DUDF_CACHE=1 -INone -INone -INone -I/usr/include/lame -INone -INone -I/home/fred1599/Bureau/pymedia-1.3.7.3 -Isound/ -I/usr/include/python2.5 -c sound/fft.cpp -o build/temp.linux-i686-2.5/sound/fft.o
cc1plus: attention : l'option de la ligne de commande "-Wstrict-prototypes" est valide pour Ada/C/ObjC mais pas pour C++
g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-i686-2.5/sound/sound.o build/temp.linux-i686-2.5/sound/resample.o build/temp.linux-i686-2.5/sound/fft.o -logg -lvorbis -lfaad -lmp3lame -lvorbisenc -lasound -o build/lib.linux-i686-2.5/pymedia/audio/sound.so
building 'pymedia.audio.acodec' extension
creating build/temp.linux-i686-2.5/audio
creating build/temp.linux-i686-2.5/audio/acodec
creating build/temp.linux-i686-2.5/audio/libavcodec
creating build/temp.linux-i686-2.5/audio/libavcodec/liba52
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -DBUILD_NUM=1862 -DPATH_DEV_DSP="/dev/dsp" -DPATH_DEV_MIXER="/dev/mixer" -D_FILE_OFFSET_BITS=64 -DACCEL_DETECT=1 -DHAVE_MMX=1 -DHAVE_LINUX_DVD_STRUCT=1 -DDVD_STRUCT_IN_LINUX_CDROM_H=1 -DCONFIG_VORBIS -DCONFIG_VORBIS -DCONFIG_FAAD -DCONFIG_MP3LAME -DCONFIG_VORBIS -DCONFIG_ALSA -DHAVE_AV_CONFIG_H -DUDF_CACHE=1 -INone -INone -INone -I/usr/include/lame -INone -INone -I/home/fred1599/Bureau/pymedia-1.3.7.3 -Iaudio/ -I/usr/include/python2.5 -c audio/acodec/acodec.c -o build/temp.linux-i686-2.5/audio/acodec/acodec.o
In file included from audio/acodec/acodec.c:31:
audio/libavcodec/dsputil.h:485: erreur: static declaration of «lrintf» follows non-static declaration
audio/acodec/acodec.c:249: attention : initialization from incompatible pointer type
audio/acodec/acodec.c: Dans la fonction «ACodec_Encode» :
audio/acodec/acodec.c:668: attention : pointer targets in passing argument 2 of «avcodec_encode_audio» differ in signedness
error: command 'gcc' failed with exit status 1

Merci par avance pour vos lumières, ça fait un moment que j'avais abandonné, mais maintenant je me dis que grâce à vous je vais peut-être enfin trouvé :D

Filtered HTML

Plain text

CAPTCHA
Cette question permet de vérifier que vous n'êtes pas un robot spammeur :-)
  CCC      J  EEEE  U   U   QQQ   
C J E U U Q Q
C J EEE U U Q Q
C J J E U U Q QQ
CCC JJJ EEEE UUU QQQQ
Q