loader in vlc seems doesn't work

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.
xzou999
New Cone
New Cone
Posts: 8
Joined: 11 Jun 2007 10:31

loader in vlc seems doesn't work

Postby xzou999 » 27 Jun 2007 07:23

I'm compiling vlc under cygwin, and here is the contents my configure script file:
./bootstrap && \
CPPFLAGS="-I/usr/win32/include -I/usr/win32/include/ebml" \
LDFLAGS=-L/usr/win32/lib \
PKG_CONFIG_PATH=/usr/win32/lib/pkgconfig \
CC="gcc -mno-cygwin" CXX="g++ -mno-cygwin" \
./configure \
--enable-sdl --with-sdl-config-path=/usr/win32/bin --disable-gtk \
--enable-nls \
--enable-ffmpeg --with-ffmpeg-mp3lame --with-ffmpeg-faac \
--with-ffmpeg-zlib --enable-faad --enable-flac --enable-theora \
--with-wx-config-path=/usr/win32/bin \
--with-freetype-config-path=/usr/win32/bin \
--with-fribidi-config-path=/usr/win32/bin \
--enable-live555 --with-live555-tree=/usr/win32/live.com \
--enable-caca --with-caca-config-path=/usr/win32/bin \
--with-xml2-config-path=/usr/win32/bin \
--with-dvdnav-config-path=/usr/win32/bin \
--disable-cddax --disable-vcdx --enable-goom \
--enable-twolame --enable-dvdread \
--disable-gnomevfs \
--enable-dts \
--enable-debug \
--enable-real \
--enable-loader \

inorder to add realaudio codec module, I used --enable-real and --enable-loader.
Then I encounted errors:
make[1]: Entering directory `/usr/vlc-0.8.6a'
Making all in intl
make[2]: Entering directory `/usr/vlc-0.8.6a/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/vlc-0.8.6a/intl'
Making all in loader
make[2]: Entering directory `/usr/vlc-0.8.6a/loader'
if /bin/sh ../libtool --mode=compile gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.. -D__WINE__ -DHAVE
_SYS_MMAN_H=1 -DHAVE_VSSCANF=1 -DWIN32_PATH=\"\" -DTRACE\(...\)=\(void\)0 -I/usr/win32/include -I/us
r/win32/include/ebml -D_OFF_T_ -D_off_t=long -DSYS_MINGW32 -I../include -fno-PIC `../vlc-config --cf
lags` -U_FILE_OFFSET_BITS -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wsign-compare -Wall
-mms-bitfields -pipe -MT pe_image.lo -MD -MP -MF ".deps/pe_image.Tpo" \
-c -o pe_image.lo `test -f 'pe_image.c' || echo './'`pe_image.c; \
then mv -f ".deps/pe_image.Tpo" ".deps/pe_image.Plo"; \
else rm -f ".deps/pe_image.Tpo"; exit 1; \
fi
gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I.. -D__WINE__ -DHAVE_SYS_MMAN_H=1 -DHAVE_VSSCANF=1 -DWIN3
2_PATH=\"\" "-DTRACE(...)=(void)0" -I/usr/win32/include -I/usr/win32/include/ebml -D_OFF_T_ -D_off_t
=long -DSYS_MINGW32 -I../include -fno-PIC -I/usr/local/include -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98
-D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE -DLOCALEDIR=\"/usr/local/share/loca
le\" -DDATA_PATH=\"/usr/local/share/vlc\" -DPLUGIN_PATH=\"/usr/local/lib/vlc\" -DDEBUG -O3 -ffast-ma
th -funroll-loops -mtune=pentium2 -g -U_FILE_OFFSET_BITS -fno-omit-frame-pointer -mno-omit-leaf-fram
e-pointer -Wsign-compare -Wall -mms-bitfields -pipe -MT pe_image.lo -MD -MP -MF .deps/pe_image.Tpo -
c pe_image.c -DDLL_EXPORT -DPIC -o .libs/pe_image.o
pe_image.c:69:22: sys/mman.h: No such file or directory
In file included from pe_image.c:78:
ext.h:17: error: conflicting types for 'wcsnicmp'
/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/include/string.h:175: error: previous
declaration of 'wcsnicmp' was here
ext.h:17: error: conflicting types for 'wcsnicmp'
/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/include/string.h:175: error: previous
declaration of 'wcsnicmp' was here
pe_image.c: In function `dump_exports':
......

seems there are problems in loader,can anybody help? :cry:

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

Re: loader in vlc seems doesn't work

Postby Jean-Baptiste Kempf » 27 Jun 2007 08:00

I don't think the loader is for windows.
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.

xzou999
New Cone
New Cone
Posts: 8
Joined: 11 Jun 2007 10:31

Re: loader in vlc seems doesn't work

Postby xzou999 » 27 Jun 2007 10:35

I don't think the loader is for windows.
But I configured it under Cygwin , and the loader in VLC seems ported from wine just like the loader in Mplayer, from the point of view of the VLC's source code,some code in of loader in vlc even looked like ported from mplayer, do you think so?
I compiled a Mplayer in windows using Mingw, its loader works well. So I think the loader in VLC should also works when compiled using Cygwin.After all, the background techonologies of Mingw and Cygwin are more or less the same,doesn't it?

Again, I modified my configure script, deleted "--enable-loader",but it still don't work,fee :cry: l sad!

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

Re: loader in vlc seems doesn't work

Postby Jean-Baptiste Kempf » 27 Jun 2007 10:36

Well, I don't understand something... loader uses Wine to be able to make windows dlls work on linux. In cygwin, you are already on windows... Why do you need the loader ?
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.

xzou999
New Cone
New Cone
Posts: 8
Joined: 11 Jun 2007 10:31

Re: loader in vlc seems doesn't work

Postby xzou999 » 28 Jun 2007 03:21

You mean vlc built in cygwin without "--enable-loader" could still load the dll files that it need? OK, I'll try again,and thanks for you advice :P


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 16 guests