Page 1 of 1

problems about compiling vlc-0.9.6 with cygwin

Posted: 21 Nov 2008 08:00
by Jeremiah
i compile vlc-0.9.6 step by step following http://wiki.videolan.org/Win32CompileCygwinNew , but get error:

Code: Select all

$ make make all-recursive make[1]: Entering directory `/home/wangwei1/vlc-0.9.6' Making all in po make[2]: Entering directory `/home/wangwei1/vlc-0.9.6/po' make[2]: Leaving directory `/home/wangwei1/vlc-0.9.6/po' Making all in src make[2]: Entering directory `/home/wangwei1/vlc-0.9.6/src' rm -f -- "modules/builtin.h.tmp" cat "./modules/builtin.h.in" > "modules/builtin.h.tmp" echo "#define ALLOCATE_ALL_BUILTINS() \\" >> "modules/builtin.h.tmp" echo " do \\" >> "modules/builtin.h.tmp" echo " { \\" >> "modules/builtin.h.tmp" echo ' } while( 0 );' >> "modules/builtin.h.tmp" mv -f -- "modules/builtin.h.tmp" "modules/builtin.h" make all-recursive make[3]: Entering directory `/home/wangwei1/vlc-0.9.6/src' Making all in . make[4]: Entering directory `/home/wangwei1/vlc-0.9.6/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -mno-cygwin -std=gnu99 -DHAVE_C ONFIG_H -I. -I.. -I../include -I../include -I/usr/win32/include -I/usr/win32/i nclude/ebml -DSYS_MINGW32 `top_builddir=".." ../vlc-config --cflags libvlc` -DMO DULE_STRING=\"main\" -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSCONFDIR=\"/usr /local/etc\" -DDATA_PATH=\"/usr/local/share/vlc\" -DLIBDIR=\"/usr/local/lib\" -D PLUGIN_PATH=\"/usr/local/lib/vlc\" -mms-bitfields -Wall -Wextra -Wsign-compare - Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissin g-prototypes -MT libvlccore_la-libvlc.lo -MD -MP -MF .deps/libvlccore_la-libvlc. Tpo -c -o libvlccore_la-libvlc.lo `test -f 'libvlc.c' || echo './'`libvlc.c ../libtool: line 851: X--tag=CC: command not found ../libtool: line 884: libtool: ignoring unknown tag : command not found ../libtool: line 851: X--mode=compile: command not found ../libtool: line 1018: *** Warning: inferring the mode of operation is deprecate d.: command not found ../libtool: line 1019: *** Future versions of Libtool will require --mode=MODE b e specified.: command not found ../libtool: line 1162: Xgcc: command not found ../libtool: line 1162: X-mno-cygwin: command not found ../libtool: line 1162: X-std=gnu99: command not found ../libtool: line 1162: X-DHAVE_CONFIG_H: command not found ../libtool: line 1162: X-I.: command not found ../libtool: line 1162: X-I..: command not found ../libtool: line 1162: X-I../include: No such file or directory ../libtool: line 1162: X-I../include: No such file or directory ../libtool: line 1162: X-I/usr/win32/include: No such file or directory ../libtool: line 1162: X-I/usr/win32/include/ebml: No such file or directory ../libtool: line 1162: X-DSYS_MINGW32: command not found ../libtool: line 1162: X-I/usr/local/include: No such file or directory ../libtool: line 1162: X-D_FILE_OFFSET_BITS=64: command not found ../libtool: line 1162: X-D__USE_UNIX98: command not found ../libtool: line 1162: X-D_LARGEFILE64_SOURCE: command not found ../libtool: line 1162: X-D_REENTRANT: command not found ../libtool: line 1162: X-D_THREAD_SAFE: command not found ../libtool: line 1162: X-DDEBUG: command not found ../libtool: line 1162: X-D__LIBVLC__: command not found ../libtool: line 1162: X-I../src/misc: No such file or directory ../libtool: line 1162: X-g: command not found ../libtool: line 1162: X-O2: command not found ../libtool: line 1162: X-ffast-math: command not found ../libtool: line 1162: X-funroll-loops: command not found ../libtool: line 1162: X-mtune=pentium2: command not found ../libtool: line 1162: X-DMODULE_STRING="main": command not found ../libtool: line 1162: X-DLOCALEDIR="/usr/local/share/locale": No such file or d irectory ../libtool: line 1162: X-DSYSCONFDIR="/usr/local/etc": No such file or directory ../libtool: line 1162: X-DDATA_PATH="/usr/local/share/vlc": No such file or dire ctory ../libtool: line 1162: X-DLIBDIR="/usr/local/lib": No such file or directory ../libtool: line 1162: X-DPLUGIN_PATH="/usr/local/lib/vlc": No such file or dire ctory ../libtool: line 1162: X-mms-bitfields: command not found ../libtool: line 1162: X-Wall: command not found ../libtool: line 1162: X-Wextra: command not found ../libtool: line 1162: X-Wsign-compare: command not found ../libtool: line 1162: X-Wundef: command not found ../libtool: line 1162: X-Wpointer-arith: command not found ../libtool: line 1162: X-Wbad-function-cast: command not found ../libtool: line 1162: X-Wcast-align: command not found ../libtool: line 1162: X-Wwrite-strings: command not found ../libtool: line 1162: X-Wmissing-prototypes: command not found ../libtool: line 1162: X-MT: command not found ../libtool: line 1162: Xlibvlccore_la-libvlc.lo: command not found ../libtool: line 1162: X-MD: command not found ../libtool: line 1162: X-MP: command not found ../libtool: line 1162: X-MF: command not found ../libtool: line 1162: X.deps/libvlccore_la-libvlc.Tpo: No such file or director y ../libtool: line 1162: X-c: command not found ../libtool: line 1215: Xlibvlccore_la-libvlc.lo: command not found ../libtool: line 1220: libtool: compile: cannot determine name of library object from `': command not found make[4]: *** [libvlccore_la-libvlc.lo] Error 1 make[4]: Leaving directory `/home/wangwei1/vlc-0.9.6/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/wangwei1/vlc-0.9.6/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/wangwei1/vlc-0.9.6/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/wangwei1/vlc-0.9.6' make: *** [all] Error 2
source: http://download.videolan.org/pub/videol ... .6.tar.bz2
contrib: http://people.videolan.org/~jb/Contribs ... ly.tar.bz2

ps: i can complie with vlc-0.9.4 successfully with script adding --disable-qt4 --disable-skins2 \. i don't know what's wrong with the source of vlc-0.9.6

Re: problems about compiling vlc-0.9.6 with cygwin

Posted: 21 Nov 2008 10:45
by Jean-Baptiste Kempf
Why do you add X to everything?

Re: problems about compiling vlc-0.9.6 with cygwin

Posted: 22 Nov 2008 03:06
by Jeremiah
Why do you add X to everything?
i've no idea about adding X to everything.

i didn't add X to libtoll manully.

line 850~853 in vlc-0.9.6/libtool is same as line 801~804 vlc-vlc-0.9.4/libtool.

Code: Select all

case $arg in -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;; *) optarg= ;; esac

Re: problems about compiling vlc-0.9.6 with cygwin

Posted: 22 Nov 2008 14:57
by Jean-Baptiste Kempf
Something is wrong there :D

Re: problems about compiling vlc-0.9.6 with cygwin

Posted: 09 Jan 2009 05:02
by pvthanh
Do you compile VLC source in Ubuntu Server?
I have same problem :D in ubuntu server 8.04.

Re: problems about compiling vlc-0.9.6 with cygwin

Posted: 09 Jan 2009 10:27
by Jean-Baptiste Kempf
No, this issue is cygwin only.

Re: problems about compiling vlc-0.9.6 with cygwin

Posted: 09 Jan 2009 17:32
by draba
I had the same problem...
apparently replacing in the libtool file the line:

ECHO="echo"

with:

echo="echo"

solves the "X" problem... unfortunately I have other problems during compilation later on...
I can't guarantee that it's cause of the change in the libtool file, sincerly I don't think so...
just try!

Re: problems about compiling vlc-0.9.6 with cygwin

Posted: 14 Jan 2009 14:12
by m.e
I had the same problem...
apparently replacing in the libtool file the line:

ECHO="echo"

with:

echo="echo"

solves the "X" problem... unfortunately I have other problems during compilation later on...
I can't guarantee that it's cause of the change in the libtool file, sincerly I don't think so...
just try!
I'm having the same problem. Thanks draba that seems to fix the problem