Hello,
I'm trying to compile vlc in a mingw/msys environment but keep getting the error below. I followed all the steps in the https://wiki.videolan.org/Win32CompileMSYSNew/ wiki and also looked at the trouble shooting guide but could not get a solution. Any help on how to proceed would be appreciated. Thanks.
C:/msys/1.0/home/ekibicho/vlc_source/vlc/contrib/i586-mingw32msvc/lib/libpthreadGC2.a(pthread.o):pthread.c:(.text+0x5ea): undefined reference to `WSAGetLastError@0'
C:/msys/1.0/home/ekibicho/vlc_source/vlc/contrib/i586-mingw32msvc/lib/libpthreadGC2.a(pthread.o):pthread.c:(.text+0x60b): undefined reference to `WSASetLastError@4'
C:/msys/1.0/home/ekibicho/vlc_source/vlc/contrib/i586-mingw32msvc/lib/libpthreadGC2.a(pthread.o):pthread.c:(.text+0x189b): undefined reference to `WSAGetLastError@0'
C:/msys/1.0/home/ekibicho/vlc_source/vlc/contrib/i586-mingw32msvc/lib/libpthreadGC2.a(pthread.o):pthread.c:(.text+0x18bb): undefined reference to `WSASetLastError@4'
C:/msys/1.0/home/ekibicho/vlc_source/vlc/contrib/i586-mingw32msvc/lib/libpthreadGC2.a(pthread.o):pthread.c:(.text+0x28cc): undefined reference to `WSAGetLastError@0'
C:/msys/1.0/home/ekibicho/vlc_source/vlc/contrib/i586-mingw32msvc/lib/libpthreadGC2.a(pthread.o):pthread.c:(.text+0x28f0): undefined reference to `WSASetLastError@4'
C:/msys/1.0/home/ekibicho/vlc_source/vlc/contrib/i586-mingw32msvc/lib/libpthreadGC2.a(pthread.o):pthread.c:(.text+0x293d): undefined reference to `WSAGetLastError@0'
C:/msys/1.0/home/ekibicho/vlc_source/vlc/contrib/i586-mingw32msvc/lib/libpthreadGC2.a(pthread.o):pthread.c:(.text+0x295d): undefined reference to `WSASetLastError@4'
C:/msys/1.0/home/ekibicho/vlc_source/vlc/contrib/i586-mingw32msvc/lib/libpthreadGC2.a(pthread.o):pthread.c:(.text+0x2c9e): undefined reference to `WSAGetLastError@0'
C:/msys/1.0/home/ekibicho/vlc_source/vlc/contrib/i586-mingw32msvc/lib/libpthreadGC2.a(pthread.o):pthread.c:(.text+0x2cbe): undefined reference to `WSASetLastError@4'
C:/msys/1.0/home/ekibicho/vlc_source/vlc/contrib/i586-mingw32msvc/lib/libpthreadGC2.a(pthread.o):pthread.c:(.text+0x2cf8): undefined reference to `WSAGetLastError@0'
C:/msys/1.0/home/ekibicho/vlc_source/vlc/contrib/i586-mingw32msvc/lib/libpthreadGC2.a(pthread.o):pthread.c:(.text+0x2d18): undefined reference to `WSASetLastError@4'
C:/msys/1.0/home/ekibicho/vlc_source/vlc/contrib/i586-mingw32msvc/lib/libpthreadGC2.a(pthread.o):pthread.c:(.text+0x3fd2): undefined reference to `WSAGetLastError@0'
C:/msys/1.0/home/ekibicho/vlc_source/vlc/contrib/i586-mingw32msvc/lib/libpthreadGC2.a(pthread.o):pthread.c:(.text+0x3ff2): undefined reference to `WSASetLastError@4'
C:/msys/1.0/home/ekibicho/vlc_source/vlc/contrib/i586-mingw32msvc/lib/libpthreadGC2.a(pthread.o):pthread.c:(.text+0x5622): undefined reference to `WSAGetLastError@0'
C:/msys/1.0/home/ekibicho/vlc_source/vlc/contrib/i586-mingw32msvc/lib/libpthreadGC2.a(pthread.o):pthread.c:(.text+0x5642): undefined reference to `WSASetLastError@4'
C:/msys/1.0/home/ekibicho/vlc_source/vlc/contrib/i586-mingw32msvc/lib/libpthreadGC2.a(pthread.o):pthread.c:(.text+0x56d2): undefined reference to `WSAGetLastError@0'
C:/msys/1.0/home/ekibicho/vlc_source/vlc/contrib/i586-mingw32msvc/lib/libpthreadGC2.a(pthread.o):pthread.c:(.text+0x56f2): undefined reference to `WSASetLastError@4'
C:/msys/1.0/home/ekibicho/vlc_source/vlc/contrib/i586-mingw32msvc/lib/libpthreadGC2.a(pthread.o):pthread.c:(.text+0x5758): undefined reference to `WSAGetLastError@0'
C:/msys/1.0/home/ekibicho/vlc_source/vlc/contrib/i586-mingw32msvc/lib/libpthreadGC2.a(pthread.o):pthread.c:(.text+0x5778): undefined reference to `WSASetLastError@4'
C:/msys/1.0/home/ekibicho/vlc_source/vlc/contrib/i586-mingw32msvc/lib/libpthreadGC2.a(pthread.o):pthread.c:(.text+0x57ef): undefined reference to `WSAGetLastError@0'
C:/msys/1.0/home/ekibicho/vlc_source/vlc/contrib/i586-mingw32msvc/lib/libpthreadGC2.a(pthread.o):pthread.c:(.text+0x5813): undefined reference to `WSASetLastError@4'
C:/msys/1.0/home/ekibicho/vlc_source/vlc/contrib/i586-mingw32msvc/lib/libpthreadGC2.a(pthread.o):pthread.c:(.text+0x6882): undefined reference to `WSAGetLastError@0'
C:/msys/1.0/home/ekibicho/vlc_source/vlc/contrib/i586-mingw32msvc/lib/libpthreadGC2.a(pthread.o):pthread.c:(.text+0x68ac): undefined reference to `WSASetLastError@4'
C:/msys/1.0/home/ekibicho/vlc_source/vlc/contrib/i586-mingw32msvc/lib/libpthreadGC2.a(pthread.o):pthread.c:(.text+0x7053): undefined reference to `WSAGetLastError@0'
C:/msys/1.0/home/ekibicho/vlc_source/vlc/contrib/i586-mingw32msvc/lib/libpthreadGC2.a(pthread.o):pthread.c:(.text+0x7076): undefined reference to `WSASetLastError@4'
collect2.exe: error: ld returned 1 exit status
make[4]: *** [libzvbi_plugin.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2