problème compilation cygwin / git ...
Posted: 25 Nov 2008 00:21
Bonjour à tous et merci pour cette superbe application.
voulant un peu analyse le code source, je me suis dit que j'allais tenter le grand saut : charger les sources(git) et compiler (avant d'essayer de modifier). Hélas !
j'ai suivi à la LETTRE le tutorial du wiki pour la compilation sous cygwin, plusieurs fois. J'ai tenté quelques variantes, du style essayer différents packages de librairies (contrib-20080811-win32-bin-gcc-4.2.1-sjlj-runtime-3.13-only.tar.bz2, contrib-20070530-win32-bin-gcc-3.4.5-only.tar.bz2, contrib-20081021-win32-bin-gcc-4.2.1-sjlj-runtime-3.13-only.tar.bz2), mais impossible de compiler quoi que je fasse.
je finis toujours par avoir cette erreur :
make[4]: *** [libvlccore.la] Error 1
make[4]: Leaving directory `/cygdrive/c/VLC/vlc/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/cygdrive/c/VLC/vlc/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/cygdrive/c/VLC/vlc/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/VLC/vlc'
make: *** [all] Error 2
une idée svp ? je ne comprends pas vraiment ce qui peut empêcher cette foutue compilation de compiler ...
le message un peu plus complet (avec une erreur libtool) :
../libtool: eval: line 977: syntax error near unexpected token `|'
../libtool: eval: line 977: `link -dump -symbols .libs/libvlccore_la-libvlc.o .libs/libvlccore_la-l
ibvlc-module.o .libs/libvlccore_la-missing.o .libs/libvlccore_la-version.o interface/.libs/libvlccor
e_la-interface.o interface/.libs/libvlccore_la-intf_eject.o interface/.libs/libvlccore_la-interactio
n.o playlist/.libs/libvlccore_la-thread.o playlist/.libs/libvlccore_la-control.o playlist/.libs/libv
lccore_la-engine.o playlist/.libs/libvlccore_la-sort.o playlist/.libs/libvlccore_la-loadsave.o playl
ist/.libs/libvlccore_la-tree.o playlist/.libs/libvlccore_la-item.o playlist/.libs/libvlccore_la-sear
ch.o playlist/.libs/libvlccore_la-services_discovery.o input/.libs/libvlccore_la-item.o input/.libs/
libvlccore_la-access.o input/.libs/libvlccore_la-clock.o input/.libs/libvlccore_la-control.o input/.
libs/libvlccore_la-decoder.o input/.libs/libvlccore_la-decoder_synchro.o input/.libs/libvlccore_la-d
emux.o input/.libs/libvlccore_la-es_out.o input/.libs/libvlccore_la-es_out_timeshift.o input/.libs/l
ibvlccore_la-event.o input/.libs/libvlccore_la-input.o input/.libs/libvlccore_la-meta.o input/.libs/
libvlccore_la-stream.o input/.libs/libvlccore_la-stream_memory.o input/.libs/libvlccore_la-subtitles
.o input/.libs/libvlccore_la-var.o video_output/.libs/libvlccore_la-video_output.o video_output/.lib
s/libvlccore_la-vout_pictures.o video_output/.libs/libvlccore_la-video_text.o video_output/.libs/lib
vlccore_la-video_widgets.o video_output/.libs/libvlccore_la-vout_subpictures.o video_output/.libs/li
bvlccore_la-vout_intf.o audio_output/.libs/libvlccore_la-common.o audio_output/.libs/libvlccore_la-d
ec.o audio_output/.libs/libvlccore_la-filters.o audio_output/.libs/libvlccore_la-input.o audio_outpu
t/.libs/libvlccore_la-mixer.o audio_output/.libs/libvlccore_la-output.o audio_output/.libs/libvlccor
e_la-intf.o osd/.libs/libvlccore_la-osd.o osd/.libs/libvlccore_la-osd_text.o osd/.libs/libvlccore_la
-osd_widgets.o network/.libs/libvlccore_la-acl.o network/.libs/libvlccore_la-getaddrinfo.o network/.
libs/libvlccore_la-io.o network/.libs/libvlccore_la-tcp.o network/.libs/libvlccore_la-udp.o network/
.libs/libvlccore_la-rootbind.o network/.libs/libvlccore_la-tls.o network/.libs/libvlccore_la-poll.o
text/.libs/libvlccore_la-charset.o text/.libs/libvlccore_la-strings.o text/.libs/libvlccore_la-unico
de.o text/.libs/libvlccore_la-filesystem.o text/.libs/libvlccore_la-wincp.o text/.libs/libvlccore_la
-iso_lang.o misc/.libs/libvlccore_la-md5.o misc/.libs/libvlccore_la-rand.o misc/.libs/libvlccore_la-
mtime.o misc/.libs/libvlccore_la-block.o misc/.libs/libvlccore_la-es_format.o modules/.libs/libvlcco
re_la-modules.o modules/.libs/libvlccore_la-cache.o modules/.libs/libvlccore_la-entry.o modules/.lib
s/libvlccore_la-os.o misc/.libs/libvlccore_la-threads.o misc/.libs/libvlccore_la-stats.o misc/.libs/
libvlccore_la-cpu.o misc/.libs/libvlccore_la-action.o config/.libs/libvlccore_la-core.o config/.libs
/libvlccore_la-dirs.o config/.libs/libvlccore_la-chain.o config/.libs/libvlccore_la-file.o config/.l
ibs/libvlccore_la-intf.o config/.libs/libvlccore_la-cmdline.o misc/.libs/libvlccore_la-events.o misc
/.libs/libvlccore_la-image.o misc/.libs/libvlccore_la-messages.o misc/.libs/libvlccore_la-objects.o
misc/.libs/libvlccore_la-variables.o misc/.libs/libvlccore_la-error.o misc/.libs/libvlccore_la-updat
e.o misc/.libs/libvlccore_la-xml.o misc/.libs/libvlccore_la-devices.o extras/.libs/libvlccore_la-lib
c.o misc/.libs/libvlccore_la-filter_chain.o misc/.libs/libvlccore_la-win32_specific.o network/.libs/
libvlccore_la-winsock.o extras/.libs/libvlccore_la-getopt.o extras/.libs/libvlccore_la-getopt1.o net
work/.libs/libvlccore_la-httpd.o stream_output/.libs/libvlccore_la-stream_output.o stream_output/.li
bs/libvlccore_la-announce.o stream_output/.libs/libvlccore_la-sap.o stream_output/.libs/libvlccore_l
a-sdp.o input/.libs/libvlccore_la-vlm.o input/.libs/libvlccore_la-vlmshell.o misc/.libs/libvlccore_l
a-revision.o | | /usr/bin/sed -e '/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]_
_nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //' | sort | uniq > .libs/libvlccore.exp'
make[4]: *** [libvlccore.la] Error 1
make[4]: Leaving directory `/cygdrive/c/VLC/vlc/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/cygdrive/c/VLC/vlc/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/cygdrive/c/VLC/vlc/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/VLC/vlc'
make: *** [all] Error 2
voulant un peu analyse le code source, je me suis dit que j'allais tenter le grand saut : charger les sources(git) et compiler (avant d'essayer de modifier). Hélas !
j'ai suivi à la LETTRE le tutorial du wiki pour la compilation sous cygwin, plusieurs fois. J'ai tenté quelques variantes, du style essayer différents packages de librairies (contrib-20080811-win32-bin-gcc-4.2.1-sjlj-runtime-3.13-only.tar.bz2, contrib-20070530-win32-bin-gcc-3.4.5-only.tar.bz2, contrib-20081021-win32-bin-gcc-4.2.1-sjlj-runtime-3.13-only.tar.bz2), mais impossible de compiler quoi que je fasse.
je finis toujours par avoir cette erreur :
make[4]: *** [libvlccore.la] Error 1
make[4]: Leaving directory `/cygdrive/c/VLC/vlc/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/cygdrive/c/VLC/vlc/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/cygdrive/c/VLC/vlc/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/VLC/vlc'
make: *** [all] Error 2
une idée svp ? je ne comprends pas vraiment ce qui peut empêcher cette foutue compilation de compiler ...
le message un peu plus complet (avec une erreur libtool) :
../libtool: eval: line 977: syntax error near unexpected token `|'
../libtool: eval: line 977: `link -dump -symbols .libs/libvlccore_la-libvlc.o .libs/libvlccore_la-l
ibvlc-module.o .libs/libvlccore_la-missing.o .libs/libvlccore_la-version.o interface/.libs/libvlccor
e_la-interface.o interface/.libs/libvlccore_la-intf_eject.o interface/.libs/libvlccore_la-interactio
n.o playlist/.libs/libvlccore_la-thread.o playlist/.libs/libvlccore_la-control.o playlist/.libs/libv
lccore_la-engine.o playlist/.libs/libvlccore_la-sort.o playlist/.libs/libvlccore_la-loadsave.o playl
ist/.libs/libvlccore_la-tree.o playlist/.libs/libvlccore_la-item.o playlist/.libs/libvlccore_la-sear
ch.o playlist/.libs/libvlccore_la-services_discovery.o input/.libs/libvlccore_la-item.o input/.libs/
libvlccore_la-access.o input/.libs/libvlccore_la-clock.o input/.libs/libvlccore_la-control.o input/.
libs/libvlccore_la-decoder.o input/.libs/libvlccore_la-decoder_synchro.o input/.libs/libvlccore_la-d
emux.o input/.libs/libvlccore_la-es_out.o input/.libs/libvlccore_la-es_out_timeshift.o input/.libs/l
ibvlccore_la-event.o input/.libs/libvlccore_la-input.o input/.libs/libvlccore_la-meta.o input/.libs/
libvlccore_la-stream.o input/.libs/libvlccore_la-stream_memory.o input/.libs/libvlccore_la-subtitles
.o input/.libs/libvlccore_la-var.o video_output/.libs/libvlccore_la-video_output.o video_output/.lib
s/libvlccore_la-vout_pictures.o video_output/.libs/libvlccore_la-video_text.o video_output/.libs/lib
vlccore_la-video_widgets.o video_output/.libs/libvlccore_la-vout_subpictures.o video_output/.libs/li
bvlccore_la-vout_intf.o audio_output/.libs/libvlccore_la-common.o audio_output/.libs/libvlccore_la-d
ec.o audio_output/.libs/libvlccore_la-filters.o audio_output/.libs/libvlccore_la-input.o audio_outpu
t/.libs/libvlccore_la-mixer.o audio_output/.libs/libvlccore_la-output.o audio_output/.libs/libvlccor
e_la-intf.o osd/.libs/libvlccore_la-osd.o osd/.libs/libvlccore_la-osd_text.o osd/.libs/libvlccore_la
-osd_widgets.o network/.libs/libvlccore_la-acl.o network/.libs/libvlccore_la-getaddrinfo.o network/.
libs/libvlccore_la-io.o network/.libs/libvlccore_la-tcp.o network/.libs/libvlccore_la-udp.o network/
.libs/libvlccore_la-rootbind.o network/.libs/libvlccore_la-tls.o network/.libs/libvlccore_la-poll.o
text/.libs/libvlccore_la-charset.o text/.libs/libvlccore_la-strings.o text/.libs/libvlccore_la-unico
de.o text/.libs/libvlccore_la-filesystem.o text/.libs/libvlccore_la-wincp.o text/.libs/libvlccore_la
-iso_lang.o misc/.libs/libvlccore_la-md5.o misc/.libs/libvlccore_la-rand.o misc/.libs/libvlccore_la-
mtime.o misc/.libs/libvlccore_la-block.o misc/.libs/libvlccore_la-es_format.o modules/.libs/libvlcco
re_la-modules.o modules/.libs/libvlccore_la-cache.o modules/.libs/libvlccore_la-entry.o modules/.lib
s/libvlccore_la-os.o misc/.libs/libvlccore_la-threads.o misc/.libs/libvlccore_la-stats.o misc/.libs/
libvlccore_la-cpu.o misc/.libs/libvlccore_la-action.o config/.libs/libvlccore_la-core.o config/.libs
/libvlccore_la-dirs.o config/.libs/libvlccore_la-chain.o config/.libs/libvlccore_la-file.o config/.l
ibs/libvlccore_la-intf.o config/.libs/libvlccore_la-cmdline.o misc/.libs/libvlccore_la-events.o misc
/.libs/libvlccore_la-image.o misc/.libs/libvlccore_la-messages.o misc/.libs/libvlccore_la-objects.o
misc/.libs/libvlccore_la-variables.o misc/.libs/libvlccore_la-error.o misc/.libs/libvlccore_la-updat
e.o misc/.libs/libvlccore_la-xml.o misc/.libs/libvlccore_la-devices.o extras/.libs/libvlccore_la-lib
c.o misc/.libs/libvlccore_la-filter_chain.o misc/.libs/libvlccore_la-win32_specific.o network/.libs/
libvlccore_la-winsock.o extras/.libs/libvlccore_la-getopt.o extras/.libs/libvlccore_la-getopt1.o net
work/.libs/libvlccore_la-httpd.o stream_output/.libs/libvlccore_la-stream_output.o stream_output/.li
bs/libvlccore_la-announce.o stream_output/.libs/libvlccore_la-sap.o stream_output/.libs/libvlccore_l
a-sdp.o input/.libs/libvlccore_la-vlm.o input/.libs/libvlccore_la-vlmshell.o misc/.libs/libvlccore_l
a-revision.o | | /usr/bin/sed -e '/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]_
_nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //' | sort | uniq > .libs/libvlccore.exp'
make[4]: *** [libvlccore.la] Error 1
make[4]: Leaving directory `/cygdrive/c/VLC/vlc/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/cygdrive/c/VLC/vlc/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/cygdrive/c/VLC/vlc/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/VLC/vlc'
make: *** [all] Error 2