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
|