Hi All,
I used this link as a reference http://wiki.videolan.org/Win32CompileCygwinNew
and tried to compile vlc in windows using their makefile .
In between i encountered following error during compilation
/bin/sh ../../libtool --tag=CC --mode=link gcc -mno-cygwin -std=gnu99`top_src dir="../.." top_builddir="../.." ../../vlc-config --cflags plugin
libzvbi_plugin.la` -mms-bitfields -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith
-Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes
-Werror-implicit-
function-declaration -rpath '/usr/local/lib/vlc/codec' -avoid-version -module -export-symbol-regex ^vlc_entry -shrext .dll -no-undefined
`top_srcdir="../.." top
_builddir="../.." ../../vlc-config --ldflags plugin libzvbi_plugin.la`
-L/usr/win32/lib -o libzvbi_plugin.la libzvbi_plugin_la-zvbi.lo
`top_srcdir="../.." top
_builddir="../.." ../../vlc-config -libs plugin libzvbi_plugin.la`
../../src/libvlccore.la ../../compat/libcompat.la -lmingw32
*** Warning: Linking the shared library libzvbi_plugin.la against the
*** static library /usr/win32/lib/libiconv.a is not portable!
libtool: link: rm -fr .libs/libzvbi_plugin.dll.a
libtool: link: gcc -mno-cygwin -std=gnu99 -shared
.libs/libzvbi_plugin_la-zvbi.o -Wl,--whole-archive ../../compat/.libs/libcompat.a
-Wl,--no-whole-archive -L
/usr/win32/lib /usr/win32/lib/libzvbi.a -lm /usr/win32/lib/libintl.a
-lpthreadGC
2 -lpng -lz ../../src/.libs/libvlccore.dll.a -lkernel32 -lws2_32
-lnetapi32 -lwinmm /usr/win32/lib/libiconv.a -lmingw32 -mno-cygwin -mtune=pentium2-mms-bitfields -o .libs/libzvbi_plugin.dll -Wl,--enable-auto-image-base -Xlinker --out-im
*** static library /usr/win32/lib/libiconv.a is not portable!
libtool: link: rm -fr .libs/libzvbi_plugin.dll.a
libtool: link: gcc -mno-cygwin -std=gnu99 -shared
.libs/libzvbi_plugin_la-zvbi
o -Wl,--whole-archive ../../compat/.libs/libcompat.a
-Wl,--no-whole-archive -
/usr/win32/lib /usr/win32/lib/libzvbi.a -lm /usr/win32/lib/libintl.a
-lpthreadG2 -lpng -lz ../../src/.libs/libvlccore.dll.a -lkernel32 -lws2_32 -lnetapi32 -lwnmm /usr/win32/lib/libiconv.a -lmingw32 -mno-cygwin -mtune=pentium2
-mms-bitfilds -o .libs/libzvbi_plugin.dll -Wl,--enable-auto-image-base -Xlinker --out-iplib -Xlinker .libs/libzvbi_plugin.dll.a
/usr/win32/lib/libzvbi.a(vbi.o):vbi.c:(.text+0x243): undefined reference to `__mp__pthread_once'
/usr/win32/lib/libzvbi.a(vbi.o):vbi.c:(.text+0x297): undefined reference to `__mp__pthread_mutex_init'
/usr/win32/lib/libzvbi.a(vbi.o):vbi.c:(.text+0x521): undefined reference to `__mp__pthread_mutex_lock'
/usr/win32/lib/libzvbi.a(vbi.o):vbi.c:(.text+0x534): undefined reference to `__mp__pthread_mutex_unlock'
/usr/win32/lib/libzvbi.a(vbi.o):vbi.c:(.text+0x558): undefined reference to `__ mp__pthread_mutex_lock'
/usr/win32/lib/libzvbi.a(vbi.o):vbi.c:(.text+0x5a5): undefined reference to `__mp__pthread_mutex_unlock'
/usr/win32/lib/libzvbi.a(vbi.o):vbi.c:(.text+0xaec): undefined reference to `__mp__pthread_mutex_trylock'
/usr/win32/lib/libzvbi.a(vbi.o):vbi.c:(.text+0xb61): undefined reference to `__mp__pthread_mutex_unlock'
/usr/win32/lib/libzvbi.a(vbi.o):vbi.c:(.text+0xc62): undefined reference to `__mp__pthread_mutex_destroy'
/usr/win32/lib/libzvbi.a(vbi.o):vbi.c:(.text+0xcec): undefined reference to `__mp__pthread_mutex_trylock'
/usr/win32/lib/libzvbi.a(vbi.o):vbi.c:(.text+0xd5f): undefined reference to `__mp__pthread_mutex_unlock'
/usr/win32/lib/libzvbi.a(vbi.o):vbi.c:(.text+0xedd): undefined reference to `__mp__pthread_mutex_lock'
/usr/win32/lib/libzvbi.a(vbi.o):vbi.c:(.text+0xf30): undefined reference to `__mp__pthread_mutex_unlock'
/usr/win32/lib/libzvbi.a(vbi.o):vbi.c:(.text+0x123c): undefined reference to `_imp__pthread_mutex_lock'
/usr/win32/lib/libzvbi.a(vbi.o):vbi.c:(.text+0x124c): undefined reference to `_imp__pthread_mutex_unlock'
/usr/win32/lib/libzvbi.a(vbi.o):vbi.c:(.text+0x128a): undefined reference to `_imp__pthread_mutex_lock'
/usr/win32/lib/libzvbi.a(vbi.o):vbi.c:(.text+0x12cf): undefined reference to `_imp__pthread_mutex_unlock'
/usr/win32/lib/libzvbi.a(vbi.o):vbi.c:(.text+0x1344): undefined reference to `_imp__pthread_mutex_lock'
/usr/win32/lib/libzvbi.a(vbi.o):vbi.c:(.text+0x1362): undefined reference to `_imp__pthread_mutex_unlock'
/usr/win32/lib/libzvbi.a(vbi.o):vbi.c:(.text+0x144e): undefined reference to `_imp__pthread_mutex_lock'
/usr/win32/lib/libzvbi.a(vbi.o):vbi.c:(.text+0x146d): undefined reference to `_imp__pthread_mutex_unlock'
/usr/win32/lib/libzvbi.a(vbi.o):vbi.c:(.text+0x1498): undefined reference to `_imp__pthread_mutex_unlock'
/usr/win32/lib/libzvbi.a(packet.o):packet.c:(.text+0x6252): undefined reference to `__imp__pthread_mutex_unlock'
/usr/win32/lib/libzvbi.a(packet.o):packet.c:(.text+0x6d84): undefined reference to `__imp__pthread_mutex_lock'
/usr/win32/lib/libzvbi.a(packet.o):packet.c:(.text+0x6d9f): undefined reference to `__imp__pthread_mutex_unlock'
/usr/win32/lib/libzvbi.a(packet.o):packet.c:(.text+0x6dc0): undefined reference to `__imp__pthread_mutex_lock'
/usr/win32/lib/libzvbi.a(packet.o):packet.c:(.text+0x6dd3): undefined reference to `__imp__pthread_mutex_unlock'
/usr/win32/lib/libzvbi.a(caption.o):caption.c:(.text+0x9c): undefined reference to `__imp__pthread_mutex_lock'
/usr/win32/lib/libzvbi.a(caption.o):caption.c:(.text+0x10a): undefined reference to `__imp__pthread_mutex_unlock'
/usr/win32/lib/libzvbi.a(caption.o):caption.c:(.text+0x171): undefined reference to `__imp__pthread_mutex_destroy'
/usr/win32/lib/libzvbi.a(caption.o):caption.c:(.text+0x54b): undefined reference to `__imp__pthread_mutex_init'
/usr/win32/lib/libzvbi.a(caption.o):caption.c:(.text+0xd58): undefined reference to `__imp__pthread_mutex_unlock'
.............................
Creating library file: .libs/libzvbi_plugin.dll.a
collect2: ld returned 1 exit status
make[5]: *** [libzvbi_plugin.la] Error 1
make[5]: Leaving directory `/cygdrive/c/VLC/vlc/modules/codec'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/cygdrive/c/VLC/vlc/modules/codec'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/cygdrive/c/VLC/vlc/modules/codec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/cygdrive/c/VLC/vlc/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/VLC/vlc'
make: *** [all] Error 2
Sorry for the Length message.Anway desperate to find the solution .
Thanks in anticipation
Balaji V