problems about compiling vlc-0.9.6 with cygwin

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Jeremiah
Blank Cone
Blank Cone
Posts: 53
Joined: 16 Oct 2008 09:31

problems about compiling vlc-0.9.6 with cygwin

Postby Jeremiah » 21 Nov 2008 08:00

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: problems about compiling vlc-0.9.6 with cygwin

Postby Jean-Baptiste Kempf » 21 Nov 2008 10:45

Why do you add X to everything?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Jeremiah
Blank Cone
Blank Cone
Posts: 53
Joined: 16 Oct 2008 09:31

Re: problems about compiling vlc-0.9.6 with cygwin

Postby Jeremiah » 22 Nov 2008 03:06

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: problems about compiling vlc-0.9.6 with cygwin

Postby Jean-Baptiste Kempf » 22 Nov 2008 14:57

Something is wrong there :D
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

pvthanh
New Cone
New Cone
Posts: 3
Joined: 16 Dec 2008 08:30

Re: problems about compiling vlc-0.9.6 with cygwin

Postby pvthanh » 09 Jan 2009 05:02

Do you compile VLC source in Ubuntu Server?
I have same problem :D in ubuntu server 8.04.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: problems about compiling vlc-0.9.6 with cygwin

Postby Jean-Baptiste Kempf » 09 Jan 2009 10:27

No, this issue is cygwin only.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

draba
Blank Cone
Blank Cone
Posts: 12
Joined: 02 Oct 2008 13:37

Re: problems about compiling vlc-0.9.6 with cygwin

Postby draba » 09 Jan 2009 17:32

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!

m.e
Blank Cone
Blank Cone
Posts: 34
Joined: 27 Jan 2006 23:42

Re: problems about compiling vlc-0.9.6 with cygwin

Postby m.e » 14 Jan 2009 14:12

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


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 20 guests