I586 Mingw32msvc Gcc For Mac

Download and install. For the MSYS environment you should install the packages msys, mingw-runtime, w32api, binutils and gcc from the MinGW site. Armstrong flute models. Cygwin can be installed by downloading and running the installation program setup.exe. Opt mingw32 -host=i586-mingw32msvc -target=i586-mingw32msvc -build=i386-linux.

Hi
I downloaded the latest VLC source
then did yum-builddep vlc to install all the sources of the 3rd party libs required to build vlc
it installed around 90 dependancies like x264, ffmpeg etc etc (but not libavcodec)
I was able to build VLC for linux
i installed Mingw and tested it
i tried building VLC for windows using the following configure-vlc.sh
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/home/ramprasad/x264
CXXCPP=i586-mingw32msvc-cpp
CC=i586-mingw32msvc-gcc
CXX=i586-mingw32msvc-g++
./configure --host=i586-mingw32msvc --build=i386-linux
--disable-gtk
--disable-avcodec --disable-avformat --disable-swscale
--disable-faad --disable-flac --disable-theora
--disable-cddax --disable-vcdx --disable-goom
--disable-twolame --disable-dvdread
--enable-debug --disable-dca
--disable-mkv --disable-taglib
--disable-mad --disable-live555
--disable-postproc
--enable-x264 --with-x264-tree=/home/ramprasad/x264
--disable-a52

when i do make
I am getting this error

/bin/sh ./libtool --tag=CC --mode=compile i586-mingw32msvc-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I./include -I./include -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 -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -MT config/libvlccore_la-dirs.lo -MD -MP -MF config/.deps/libvlccore_la-dirs.Tpo -c -o config/libvlccore_la-dirs.lo `test -f 'config/dirs.c' echo './'`config/dirs.c
i586-mingw32msvc-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I./include -I./include -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/misc -g -O2 -ffast-math -funroll-loops -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 -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes -MT config/libvlccore_la-dirs.lo -MD -MP -MF config/.deps/libvlccore_la-dirs.Tpo -c config/dirs.c -DDLL_EXPORT -DPIC -o config/.libs/libvlccore_la-dirs.o
config/dirs.c: In function `GetDir':
config/dirs.c:93: error: `SHGFP_TYPE_CURRENT' undeclared (first use in this function)
config/dirs.c:93: error: (Each undeclared identifier is reported only once
config/dirs.c:93: error: for each function it appears in.)
make[4]: *** [config/libvlccore_la-dirs.lo] Error 1
make[4]: Leaving directory `/home/ramprasad/win/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/ramprasad/win/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/ramprasad/win/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ramprasad/win'
make: *** [all] Error 2

Please tell me where i am wrong
Thank you

Related Post