Page 1 of 1

vlc-0.9.8a win32 compile

Posted: 10 Feb 2011 14:48
by grand
Hello!

I'm try build VLC-0.9.8a on windows xp.
http://wiki.videolan.org/Win32CompileCygwinNew

When I do "make", I'm get next error:

/bin/sh ../libtool --tag=CC --mode=compile gcc -mno-cygwin -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/win32/include -I/usr/win32/include/ebml -DSYS_MINGW32 `top_builddir=".." ../vlc-config --cflags libvlc` -DMODULE_STRING=\"main\" -DLOCALEDIR=\"/usr/local/share/locale\"
-DSYSCONFDIR=\"/usr/local/etc\" -DDATA_PATH=\"/usr/local/share/vlc\" -DLIBDIR=\"/usr/local/lib\" -DPLUGIN_PATH=\"/usr/local/lib/vlc\" -mms-bitfields -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -MT misc/libvlccore_la-bloc
k.lo -MD -MP -MF misc/.deps/libvlccore_la-block.Tpo -c -o misc/libvlccore_la-block.lo `test -f 'misc/block.c' || echo './'`misc/block.c
libtool: compile: gcc -mno-cygwin -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I/usr/win32/include -I/usr/win32/include/ebml -DSYS_MINGW32 -I/usr/local/include -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -DDEBUG -D__LIBVLC__ -I../src/mis
c -g -O0 -DMODULE_STRING=\"main\" -DLOCALEDIR=\"/usr/local/share/locale\" -DSYSCONFDIR=\"/usr/local/etc\" -DDATA_PATH=\"/usr/local/share/vlc\" -DLIBDIR=\"/usr/local/lib\" -DPLUGIN_PATH=\"/usr/local/lib/vlc\" -mms-bitfields -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wca
st-align -Wwrite-strings -Wmissing-prototypes -MT misc/libvlccore_la-block.lo -MD -MP -MF misc/.deps/libvlccore_la-block.Tpo -c misc/block.c -DDLL_EXPORT -DPIC -o misc/.libs/libvlccore_la-block.o
misc/block.c: In function `pread':
misc/block.c:254: error: unknown field `Offset' specified in initializer
misc/block.c:254: error: unknown field `OffsetHigh' specified in initializer
make[4]: *** [misc/libvlccore_la-block.lo] Error 1
make[4]: Leaving directory `/cygdrive/c/VLC/vlc-0.9.8a/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/cygdrive/c/VLC/vlc-0.9.8a/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/cygdrive/c/VLC/vlc-0.9.8a/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/VLC/vlc-0.9.8a'
make: *** [all] Error 2

I'm try use contrib-20080528-win32-bin-gcc-4.2.1-sjlj-runtime-3.13-only.tar.bz2 and contrib-20110109-win32-bin-gcc-4.4.4-runtime-3.17-only.tar.bz2, but get some error.
Can you help me?

Re: vlc-0.9.8a win32 compile

Posted: 10 Feb 2011 23:34
by Jean-Baptiste Kempf
PLease use newer vlc.