Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
679 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs
  Multimédia

  Problème compilation de Mplayer

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Problème compilation de Mplayer

n°337834
mic21
Posté le 11-10-2003 à 19:58:43  profilanswer
 

Il dois certainement me manquer une library ou des fichiers include (dev) mais les messages d'erreurs ne sont pas vraiment excplicites (pour moi). L'un d'entre vous pourrait-il m'aider à découvrir ce qu'il me manque pour achever la compilation ? Merci d'avance !
 

./darwinfixlib.sh mplayer.o mp_msg.o cpudetect.o codec-cfg.o spudec.o playtree.o playtreeparser.o asxparser.o vobsub.o subreader.o sub_cc.o find_sub.o m_config.o m_option.o parser-cfg.o m_struct.o unrarlib.o mixer.o parser-mpcmd.o loader/libloader.a loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a  libavcodec/libavcodec.a libmpdemux/libmpdemux.a libmpcodecs/libmpcodecs.a libao2/libao2.a liba52/liba52.a libfaad2/libfaad2.a mp3lib/libMP3.a libmpeg2/libmpeg2.a osdep/libosdep.a postproc/libswscale.a input/libinput.a libvo/libvo.a libaf/libaf.a libdha/libdha.so vidix/libvidix.a libmpdvdkit2/libmpdvdkit.a Gui/libgui.a libmenu/libmenu.a
gcc -O4 -march=i586 -mcpu=i586 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ilibmpdemux -Iloader -Ilibvo -I/usr/include/freetype2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include   -I/usr/X11R6/include    -o [g]mplayer[/g] mplayer.o mp_msg.o cpudetect.o codec-cfg.o spudec.o playtree.o playtreeparser.o asxparser.o vobsub.o subreader.o sub_cc.o find_sub.o m_config.o m_option.o parser-cfg.o m_struct.o unrarlib.o mixer.o parser-mpcmd.o libvo/libvo.a libao2/libao2.a libmenu/libmenu.a vidix/libvidix.a Gui/libgui.a libmpcodecs/libmpcodecs.a mp3lib/libMP3.a liba52/liba52.a libfaad2/libfaad2.a libmpeg2/libmpeg2.a loader/libloader.a loader/dshow/libDS_Filter.a loader/dmo/libDMO_Filter.a libaf/libaf.a libmpdemux/libmpdemux.a input/libinput.a postproc/libswscale.a osdep/libosdep.a -Llibmpdvdkit2 -lmpdvdkit libavcodec/libavcodec.a   -lvorbis -logg     -ldivxdecore  -lpng -lz -lz -ljpeg -lasound -ldl -lpthread    -lfreetype -ltermcap -lcdda_interface -lcdda_paranoia -lnsl       -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -L/usr/lib -lglib -laa -lXxf86dga -lXv  -lXxf86vm -lXinerama -L/usr/X11R6/lib -lXext -lX11 -lnsl  -lnsl                -lpthread -ldl -rdynamic   -lm


 
Il s'emblerai que ce soit le linkage final qui fournit le binaire mplayer (en gras : "-o mplayer" ), non ?
 
Juste après, viennent les erreurs :
 


spudec.o: In function `spudec_draw_scaled':
spudec.o(.text+0x15d6): undefined reference to `sws_freeVec'
spudec.o(.text+0x15ff): undefined reference to `sws_getGaussianVec'
spudec.o(.text+0x1623): undefined reference to `sws_normalizeVec'
spudec.o(.text+0x1661): undefined reference to `sws_getContext'
spudec.o(.text+0x168f): undefined reference to `sws_scale'
spudec.o(.text+0x16d8): undefined reference to `sws_scale'
spudec.o(.text+0x1717): undefined reference to `sws_freeContext'
spudec.o: In function `sws_spu_image':
spudec.o(.text+0x2dbc): undefined reference to `sws_freeVec'
spudec.o(.text+0x2de5): undefined reference to `sws_getGaussianVec'
spudec.o(.text+0x2e09): undefined reference to `sws_normalizeVec'
spudec.o(.text+0x2e50): undefined reference to `sws_getContext'
spudec.o(.text+0x2e74): undefined reference to `sws_scale'
spudec.o(.text+0x2eb2): undefined reference to `sws_scale'
spudec.o(.text+0x2ee6): undefined reference to `sws_freeContext'
libvo/libvo.a(vo_x11.o): In function `config':
vo_x11.o(.text+0x915): undefined reference to `sws_freeContext'
libvo/libvo.a(vo_x11.o): In function `draw_slice':
vo_x11.o(.text+0xccc): undefined reference to `sws_freeContext'
vo_x11.o(.text+0xdb3): undefined reference to `sws_scale_ordered'
libvo/libvo.a(vo_x11.o): In function `uninit':
vo_x11.o(.text+0x110f): undefined reference to `sws_freeContext'
libvo/libvo.a(vo_aa.o): In function `resize':
vo_aa.o(.text+0x11a): undefined reference to `sws_freeContext'
libvo/libvo.a(vo_aa.o): In function `draw_frame':
vo_aa.o(.text+0x932): undefined reference to `sws_scale_ordered'
libvo/libvo.a(vo_aa.o): In function `draw_slice':
vo_aa.o(.text+0x182e): undefined reference to `sws_scale_ordered'
libvo/libvo.a(vo_vesa.o): In function `vesa_term':
vo_vesa.o(.text+0x20e): undefined reference to `sws_freeContext'
libvo/libvo.a(vo_vesa.o): In function `draw_frame':
vo_vesa.o(.text+0x925): undefined reference to `sws_scale_ordered'
libvo/libvo.a(vo_vesa.o): In function `draw_slice':
vo_vesa.o(.text+0x230f): undefined reference to `sws_scale_ordered'
libmpcodecs/libmpcodecs.a(vf_scale.o): In function `config':
vf_scale.o(.text+0x2ef): undefined reference to `sws_freeContext'
vf_scale.o(.text+0x35c): undefined reference to `sws_getContext'
libmpcodecs/libmpcodecs.a(vf_scale.o): In function `control':
vf_scale.o(.text+0x5c6): undefined reference to `sws_getColorspaceDetails'
vf_scale.o(.text+0x688): undefined reference to `sws_getColorspaceDetails'
libmpcodecs/libmpcodecs.a(vf_scale.o): In function `sws_getFlagsAndFilterFromCmdLine':
vf_scale.o(.text+0x97d): undefined reference to `sws_freeFilter'
vf_scale.o(.text+0x9ee): undefined reference to `sws_getDefaultFilter'
libmpcodecs/libmpcodecs.a(vf_scale.o): In function `sws_getContextFromCmdLine':
vf_scale.o(.text+0xb20): undefined reference to `sws_getContext'
libmpcodecs/libmpcodecs.a(vf_scale.o): In function `draw_slice':
vf_scale.o(.text+0xc7c): undefined reference to `sws_scale_ordered'
libmpcodecs/libmpcodecs.a(vf_scale.o): In function `put_image':
vf_scale.o(.text+0xce7): undefined reference to `sws_scale_ordered'
libmpcodecs/libmpcodecs.a(vf_sab.o): In function `allocStuff':
vf_sab.o(.text+0x42): undefined reference to `sws_getGaussianVec'
vf_sab.o(.text+0x82): undefined reference to `sws_getContext'
vf_sab.o(.text+0x98): undefined reference to `sws_freeVec'
vf_sab.o(.text+0xb6): undefined reference to `sws_getGaussianVec'
vf_sab.o(.text+0x13c): undefined reference to `sws_freeVec'
vf_sab.o(.text+0x156): undefined reference to `sws_getGaussianVec'
vf_sab.o(.text+0x211): undefined reference to `sws_freeVec'
libmpcodecs/libmpcodecs.a(vf_sab.o): In function `put_image':
vf_sab.o(.text+0x3eb): undefined reference to `sws_scale'
vf_sab.o(.text+0x983): undefined reference to `sws_scale'
vf_sab.o(.text+0xf13): undefined reference to `sws_scale'
libmpcodecs/libmpcodecs.a(vf_sab.o): In function `uninit':
vf_sab.o(.text+0x158c): undefined reference to `sws_freeContext'
vf_sab.o(.text+0x15e0): undefined reference to `sws_freeContext'
libmpcodecs/libmpcodecs.a(vf_smartblur.o): In function `config':
vf_smartblur.o(.text+0x21): undefined reference to `sws_getGaussianVec'
vf_smartblur.o(.text+0x35): undefined reference to `sws_scaleVec'
vf_smartblur.o(.text+0x8e): undefined reference to `sws_getContext'
vf_smartblur.o(.text+0x9d): undefined reference to `sws_freeVec'
vf_smartblur.o(.text+0x16a): undefined reference to `sws_getGaussianVec'
vf_smartblur.o(.text+0x181): undefined reference to `sws_scaleVec'
vf_smartblur.o(.text+0x1da): undefined reference to `sws_getContext'
vf_smartblur.o(.text+0x1ec): undefined reference to `sws_freeVec'
libmpcodecs/libmpcodecs.a(vf_smartblur.o): In function `put_image':
vf_smartblur.o(.text+0x34b): undefined reference to `sws_scale'
vf_smartblur.o(.text+0x5bb): undefined reference to `sws_scale'
vf_smartblur.o(.text+0x883): undefined reference to `sws_scale'
libmpcodecs/libmpcodecs.a(vf_smartblur.o): In function `uninit':
vf_smartblur.o(.text+0xbf4): undefined reference to `sws_freeContext'
vf_smartblur.o(.text+0xc14): undefined reference to `sws_freeContext'
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1
zsh: exit 2     make

mood
Publicité
Posté le 11-10-2003 à 19:58:43  profilanswer
 

n°337853
farib
Posté le 11-10-2003 à 20:36:09  profilanswer
 

le configure donne quoi ? le config.log


---------------
Bitcoin, Magical Thinking, and Political Ideology
n°337869
mic21
Posté le 11-10-2003 à 21:27:33  profilanswer
 

farib a écrit :

le configure donne quoi ? le config.log


 
Dans le répertoire racine des sources ? Il n'y a pas de fichier config.log. Voilà les options que je passe au ./configure :
 

./configure --enable-3dfx --enable-cdparanoia --enable-win32 --enable-tdfxfb --enable-tdfxvid --enable-gui --enable-mencoder --enable-menu --enable-alsa --enable-aa --enable-xvid --enable-vorbis --enable-freetype --enable-rtc --enable-xv --enable-x11 --prefix=/opt/NOT_DEB/lib/win32codecs --with-win32libdir=/opt/NOT_DEB


 
Et voici la sortie du script :
 


etected operating system: Linux
Detected host architecture: i386
Checking for gcc version ... 2.95.4, ok
Checking for CPU vendor ... GenuineIntel (5:4:4)
Checking for CPU type ...  Pentium MMX
Checking for GCC & CPU optimization abilities ... i586
Checking for kernel support of mmx ... yes
Checking for mtrr support ... no
Checking for assembler (as 2.12.90.0.1) ... ok
Checking for Linux kernel version ... 2.4.21, ok
Checking for awk ... mawk
Checking for extra headers ... none
Checking for extra libs ... none
Checking for i18n ... yes
Checking for setlocale() ... yes
Checking for language ... using en (man pages: en)
Checking for enable sighandler ... yes
Checking for runtime cpudetection ... no
Checking for restrict keyword ... __restrict
Checking for kstat ... no
Checking for posix4 ... no
Checking for lrintf ... yes
Checking for nanosleep ... yes
Checking for socklib ... yes (using -lnsl)
Checking for inet_pton() ... yes (using -lnsl)
Checking for inttypes.h (required) ... yes
Checking for word size ... 32
Checking for stddef.h ... yes
Checking for malloc.h ... yes
Checking for memalign() ... yes
Checking for alloca.h ... yes
Checking for mman.h ... yes
Checking for dynamic loader ... yes
Checking for dynamic a/v plugins support ... no
Checking for pthread ... yes (using -lpthread)
Checking for sys/soundcard.h ... yes
Checking for sys/dvdio.h ... no
Checking for sys/cdio.h ... no
Checking for linux/cdrom.h ... yes
Checking for dvd.h ... no
Checking for BSDI dvd.h ... no
Checking for HPUX SCSI header ... no
Checking for userspace SCSI headers (Solaris) ... no
Checking for termcap ... yes
Checking for termios ... yes (using sys/termios.h)
Checking for shm ... yes
Checking for linux devfs ... no
Checking for scandir() ... yes
Checking for strsep() ... yes
Checking for vsscanf() ... yes
Checking for posix select() ... yes
Checking for gettimeofday() ... yes
Checking for glob() ... yes
Checking for sys/sysinfo.h ... yes
Checking for Mac OS X APIs ... no
Checking for Samba support (libsmbclient) ... no
Checking for 3dfx ... yes
Checking for tdfxfb ... yes
Checking for tdfxvid ... yes
Checking for tga ... yes
Checking for DirectFB headers presence ... not found
Checking for DirectFB ... no
Checking for X11 headers presence ... yes (using /usr/X11R6/include)
Checking for X11 libs presence ... yes (using /usr/X11R6/lib)
Checking for X11 ... yes
Checking for DPMS ... yes (using Xdpms 4)
Checking for Xv ... yes
Checking for XvMC ... no
Checking for Xinerama ... yes
Checking for Xxf86vm ... yes
Checking for DGA ... yes (using DGA 2.0)
Checking for OpenGL ... no
Checking for /dev/mga_vid ... no
Checking for xmga ... no
Checking for GGI ... no
Checking for AA ... yes
Checking for SVGAlib ... no
Checking for FBDev ... yes
Checking for DVB ... no (specify path to DVB/ost/include with --with-dvbincdir=D
IR)
Checking for DVB HEAD ... no (specify path to DVB/include (HEAD Version) with --
with-dvbincdir=DIR)
Checking for PNG support ... yes
Checking for JPEG support ... yes
Checking for GIF support ... no
Checking for VESA support ... yes
Checking for SDL ... no
Checking for Windows waveout ... no
Checking for Directx ... no
Checking for NAS ... no
Checking for DXR2 ... no
Checking for DXR3/H+ ... no
Checking for libmp1e ... no
Checking for libfame ... no
Checking for OSS Audio ... yes
Checking for aRts ... no
Checking for EsounD ... no
Checking for ALSA audio ... yes (using alsa 0.9.x and alsa/asoundlib.h)
Checking for Sun audio ... no
Checking for Sun mediaLib ... no
Checking for SGI audio ... no
Checking for VCD support ... ok
Checking for DVD support (libmpdvdkit) ... yes
Checking for DVD support (libcss - old style) ... no
Checking for DVD support (libdvdread - new style) ... disabled by libmpdvdkit2
Checking for cdparanoia ... yes
Checking for freetype >= 2.0.9 ... yes
Checking for fribidi with charsets ... no
Checking for zlib ... yes
Checking for RTC ... yes
Checking for external liblzo support ... no
Checking for mad support ... no
Checking for OggVorbis support ... yes
Checking for OggTheora support (only the CVS version!) ... no
Checking for Matroska support (0.5.0 or later) ... no
Checking for faad2 (AAC) support ... yes (2.0 RC1 )
Checking for Win32 codec DLL support ... yes (using /opt/NOT_DEB)
Checking for Win32 loader support ... yes
Checking for DirectShow ... yes
Checking for XAnim DLL ... no (no suitable directory found - see DOCS/en/codecs.
html)
Checking for RealPlayer DLL ... yes (using /opt/NOT_DEB)
Checking for LIVE.COM Streaming Media libraries ... no
Checking for iconv ... yes
Checking for FFmpeg libavcodec (static) ... yes
Checking for libdv-0.9.5+ ... no
Checking for zr ... no
Checking for bl ... no
Checking for XviD ... no
Checking for DivX4linux/DivX5linux/OpenDivX decore ... DivX5linux (with libdivxd
ecore.so)
Checking for libmp3lame (for mencoder) ... yes
Checking for DivX4linux encore (for mencoder) ... DivX4linux (with libdivxencore
.so)
Checking for mencoder ... yes
Checking for fastmemcpy ... yes
Checking for UniquE RAR File Library ... yes
Checking for TV interface ... yes
Checking for EDL support ... yes
Checking for *BSD BrookTree 848 TV interface ... no
Checking for Video 4 Linux TV interface ... no
Checking for Video 4 Linux 2 TV interface ... no
Checking for audio select() ... yes
Checking for network ... yes
Checking for ftp ... yes
Checking for byte order ... Little Endian
Checking for shared postprocess lib ... no
Checking for OSD menu ... yes
Checking for QTX codecs ... yes
Checking for Subtitles sorting ... yes
Checking for XMMS inputplugin support ... no
Checking for inet6 ... yes
Checking for gethostbyname2 ... yes
Checking for GUI ... yes
Checking for XShape extension ... yes
Checking for gtk version ... 1.2.10 (using gtk-config)
Checking for glib version ... 1.2.10 (using glib-config)
Creating Gui/config.mak
Checking for ftello() ... yes
Checking for VIDIX ... yes
Checking for joystick ... no
Checking for lirc ... no
Checking for lircc ... no
Creating config.mak
Creating config.h
Creating libvo/config.mak
Creating libao2/config.mak
Creating help_mp.h
 
Config files successfully generated by ./configure !
 
  Install prefix: /opt/NOT_DEB/lib/win32codecs
  Data directory: /opt/NOT_DEB/lib/win32codecs/share/mplayer
  Config direct.: /opt/NOT_DEB/lib/win32codecs/etc/mplayer
 
  Byte order: Little Endian
  Optimizing for: i586 mmx
 
  Languages:
    Messages/GUI: en
    Manual pages: en (no localization selected, use --language=all)
 
  Enabled optional drivers:
    Input: ftp network edl tv cdda mpdvdkit2 vcd  
    Codecs: qtx divx5linux libavcodec real dshow/dmo win32 faad2 libvorbis  
    Audio output: alsa9 oss mpegpes(file)  
    Video output: xvidix vesa jpeg png mpegpes(file) fbdev aa dga xv x11 xover t
ga tdfx_vid tdfxfb 3dfx  
  Disabled optional drivers:
    Input: tv-v4l2 tv-v4l tv-bsdbt848 live.com matroska dvdread dvdcss smb  
    Codecs: divx4linux xvid libdv xanim libtheora libmad liblzo gif  
    Audio output: sgi sun esd arts dxr2 nas win32 sdl macosx  
    Video output: bl zr dxr3 dxr2 directx sdl gif89a svga ggi xmga mga opengl xv
mc directfb  
 
'config.h' and 'config.mak' contain your configuration options.
Note: If you alter theses files (for instance CFLAGS) MPlayer may no longer
      compile *** DO NOT REPORT BUGS if you tweak these files ***
 
'make' will now compile MPlayer and 'make install' will install it.
Note: On non-Linux systems you might need to use 'gmake' instead of 'make'.
 
 
Check configure.log if you wonder why an autodetection failed (check whether
the development headers/packages are installed).
 
If you suspect a bug, please read DOCS/en/bugreports.html.
 


 
Désolé pour la longueur du post ...

n°337874
246tNt
Resistance is futile
Posté le 11-10-2003 à 21:30:40  profilanswer
 

les sws_*** c les SoftWare Scaler ... c des fonctions qui font parties de mplayer, pas de libs externes ... c bizarre ...

n°337878
mic21
Posté le 11-10-2003 à 21:38:30  profilanswer
 

246tnt a écrit :

les sws_*** c les SoftWare Scaler ... c des fonctions qui font parties de mplayer, pas de libs externes ... c bizarre ...


 
T'es sur ? Que me conseilles tu ? C'est embetant tout ça ... Bon, je vais dans un premier temps essayer une autre version de mplayer.
 
Petite précision la version de mplayer est mplayer-1.0pre1 et la version de gcc est "2.95.4 20011002 (Debian prerelease)" sous Debian Woody.


Message édité par mic21 le 11-10-2003 à 21:39:31
n°337883
246tNt
Resistance is futile
Posté le 11-10-2003 à 21:48:08  profilanswer
 

les fonctions en questions sont dans le sous-rep main/postproc/swscale.c
 
Maintenant pourquoi il les prend pas ... euh ...

n°337906
mic21
Posté le 11-10-2003 à 22:49:18  profilanswer
 

246tnt a écrit :

les fonctions en questions sont dans le sous-rep main/postproc/swscale.c
 
Maintenant pourquoi il les prend pas ... euh ...


 
:-)
 
Sinon, pour un peu comprendre ce qu'il s'y passe, il s'agit bien de l'étape du linkage ne vue de la création du fichier binaire mplayer ? Et la fin du processus de compilation ?
 
Ben, voilà, avec la version 1.0pre2 avec les mêmes options de compilation, ça fonctionne ...

n°337916
mic21
Posté le 11-10-2003 à 23:02:36  profilanswer
 

Bon voilà, j'essaie un peu mplayer et voulant écouter un peu la radio via l'internet je cale encore sur un autre problème : pas de son. Est-ce normal que les radio référencées sur le site de Léa (http://lea-linux.org/trucs/?aff_item=164) ne fonctionnent pas ? Chez moi ça affiche "connected" puis plus rien ...

n°337935
246tNt
Resistance is futile
Posté le 12-10-2003 à 00:05:29  profilanswer
 

Chez moi certaines marche, les autres bof ( probleme de connexion, je recois pas de donnée ... ) marche mieux avec -cache 16 que -nocache

n°337958
mic21
Posté le 12-10-2003 à 02:30:22  profilanswer
 

246tnt a écrit :

Chez moi certaines marche, les autres bof ( probleme de connexion, je recois pas de donnée ... ) marche mieux avec -cache 16 que -nocache


 
Pourrais tu me dire un exemple d'adresse qui fonctionne chez toi ? Je les ai presque toute essayé et aucune ne fonctionne.

mood
Publicité
Posté le 12-10-2003 à 02:30:22  profilanswer
 

n°337995
246tNt
Resistance is futile
Posté le 12-10-2003 à 09:37:37  profilanswer
 

mplayer -cache 32 mms://viptvr.yacast.fr/encoderlemouv
 
Parfois faut le faire 2/3 fois pour que ca demarre ( connexion foireuse )

n°338127
mic21
Posté le 12-10-2003 à 14:18:17  profilanswer
 

246tnt a écrit :

mplayer -cache 32 mms://viptvr.yacast.fr/encoderlemouv
 
Parfois faut le faire 2/3 fois pour que ca demarre ( connexion foireuse )
 


 
Wep, pareil chez moi, cette adresse fonctionne une fois sur 3. Par contre une bonne partie de la liste chez Léa ne donne rien. C'set un problème des rodios ou de mplayer ? Un liste périmée ? Personne n'aurais un lien vers une liste mise à jour des radios ?

n°338198
udok
La racaille des barbus ©clémen
Posté le 12-10-2003 à 16:15:00  profilanswer
 

ce qui est lourd c'est la gestion du tampon ... ça finit toujours par coupé ... à moins que ce soit un pb de serveur, mais j'ai un doute


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs
  Multimédia

  Problème compilation de Mplayer

 

Sujets relatifs
petit probleme avec vsftp et passive modeProbleme Mplayer
Problème d'ip mise à jour avec ddclientprobleme lancement xterm
probleme avec mount au demarrageProbleme affichage mandrake 9.0
ptit probleme avec xawtv [resolu]probleme avec rox et evidence [resolu]
Problème compilation de Mplayer 0.90 avec alsa en audio output ?Probleme de compilation de mplayer
Plus de sujets relatifs à : Problème compilation de Mplayer


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR