Page 1 of 1

vlc media player cygwin problem

Posted: 25 Apr 2007 19:36
by luting
I am getting the following problem when I am building vlc media player. Could any expert help? Thanks ahead.

*** Warning: This system can not link to static lib archive /usr/win32/lib/libgcrypt.la.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
grep: /home/videolan/jb/vlc-trunk-0.90/extras/contrib/lib/libgpg-error.la: No such file or directory
/usr/bin/sed: can't read /home/videolan/jb/vlc-trunk-0.90/extras/contrib/lib/libgpg-error.la: No such file or directory
libtool: link: `/home/videolan/jb/vlc-trunk-0.90/extras/contrib/lib/libgpg-error.la' is not a valid libtool archive
make[2]: *** [libvlc_srtp.la] Error 1
make[2]: Leaving directory `/cygdrive/c/development/vlc/vlc-trunk/libs/srtp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/development/vlc/vlc-trunk'
make: *** [all] Error 2
:( :(

Here is configure-vlc.sh I am using:

./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 \
--with-wx-config-path=/usr/win32/bin \
--with-freetype-config-path=/usr/win32/bin \
--with-fribidi-config-path=/usr/win32/bin \
--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-debug \

Posted: 25 Apr 2007 20:51
by Jean-Baptiste Kempf
Yes. Use a newer contrib.
people.videolan.org/~jb/

Posted: 01 May 2007 06:27
by Paul Yarkov
Yes. Use a newer contrib.
people.videolan.org/~jb/
I had the same problem. Yes, using a new contrib help to fix libgcrypt.la error, but now I am getting the following problem:

Making all in qt4
make[5]: Entering directory `/home/Administrator/trunk/modules/gui/qt4'
/usr/win32/bin/moc -o main_interface.moc.cpp main_interface.hpp
/usr/win32/bin/moc: /usr/win32/bin/moc: cannot execute binary file
make[5]: *** [main_interface.moc.cpp] Error 126
make[5]: Leaving directory `/home/Administrator/trunk/modules/gui/qt4'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/Administrator/trunk/modules/gui'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/Administrator/trunk/modules/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Administrator/trunk/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Administrator/trunk'
make: *** [all] Error 2

Can you help to fix this error? Thanks a lot.

Posted: 01 May 2007 11:34
by Jean-Baptiste Kempf
yes, delete moc/uic/rcc files in bin/

Posted: 02 May 2007 10:32
by Paul Yarkov
yes, delete moc/uic/rcc files in bin/
It is works :) Thanks a lot. :)