complie error when compile VLC media player for Windows.
Posted: 22 Nov 2017 10:57
got error when compile VLC media player for Windows.
OS: Debian 9 , 64bit
vlc src version:2.2.6
g++-mingw-w64-i686 (6.3.0-18+19.3+b3)。
gcc-mingw-w64-i686 (6.3.0-18+19.3+b3)。
mingw-w64-tools (5.0.1-1)。
https://wiki.videolan.org/Win32Compile
use Manually built
# apt-get install subversion yasm cvs cmake ragel autopoint
$ mkdir -p contrib/win32
$ cd contrib/win32
$ ../bootstrap --host=HOST-TRIPLET
$ make fetch
$ make
when I excute make command it`s got error
root@andyzheng:/usr/andy/vlc/contrib/win32# make
/bin/sh: 1: HOST-TRIPLET-gcc: not found
rm -f -R SDL_image && tar xvzf ../../contrib/tarballs/SDL_image-1.2.12.tar.gz
SDL_image-1.2.12/
SDL_image-1.2.12/acinclude/
SDL_image-1.2.12/aclocal.m4
SDL_image-1.2.12/Android.mk
SDL_image-1.2.12/autogen.sh
SDL_image-1.2.12/CHANGES
SDL_image-1.2.12/config.guess
SDL_image-1.2.12/config.sub
SDL_image-1.2.12/configure
SDL_image-1.2.12/configure.in
SDL_image-1.2.12/COPYING
SDL_image-1.2.12/depcomp
SDL_image-1.2.12/gcc-fat.sh
SDL_image-1.2.12/IMG.c
SDL_image-1.2.12/IMG_bmp.c
SDL_image-1.2.12/IMG_gif.c
SDL_image-1.2.12/IMG_ImageIO.m
SDL_image-1.2.12/IMG_jpg.c
SDL_image-1.2.12/IMG_lbm.c
SDL_image-1.2.12/IMG_pcx.c
SDL_image-1.2.12/IMG_png.c
SDL_image-1.2.12/IMG_pnm.c
SDL_image-1.2.12/IMG_tga.c
SDL_image-1.2.12/IMG_tif.c
SDL_image-1.2.12/IMG_UIImage.m
SDL_image-1.2.12/IMG_webp.c
SDL_image-1.2.12/IMG_xcf.c
SDL_image-1.2.12/IMG_xpm.c
SDL_image-1.2.12/IMG_xv.c
SDL_image-1.2.12/IMG_xxx.c
SDL_image-1.2.12/install-sh
SDL_image-1.2.12/ltmain.sh
SDL_image-1.2.12/Makefile.am
SDL_image-1.2.12/Makefile.in
SDL_image-1.2.12/missing
SDL_image-1.2.12/MPWmake.sea.bin
SDL_image-1.2.12/README
SDL_image-1.2.12/SDL_image.h
SDL_image-1.2.12/SDL_image.pc.in
SDL_image-1.2.12/SDL_image.spec
SDL_image-1.2.12/SDL_image.spec.in
SDL_image-1.2.12/showimage.c
SDL_image-1.2.12/version.rc
SDL_image-1.2.12/VisualC/
SDL_image-1.2.12/VisualCE/
SDL_image-1.2.12/Watcom-OS2.zip
SDL_image-1.2.12/Xcode/
SDL_image-1.2.12/Xcode-iOS/
SDL_image-1.2.12/Xcode-iOS/SDL_image.xcodeproj/
SDL_image-1.2.12/Xcode-iOS/SDL_image.xcodeproj/project.pbxproj
SDL_image-1.2.12/Xcode/Frameworks/
SDL_image-1.2.12/Xcode/Info-Framework__Upgraded_.plist
SDL_image-1.2.12/Xcode/package
SDL_image-1.2.12/Xcode/pkg-support/
SDL_image-1.2.12/Xcode/SDL_image.xcodeproj/
SDL_image-1.2.12/Xcode/showimage/
SDL_image-1.2.12/Xcode/showimage/English.lproj/
SDL_image-1.2.12/Xcode/showimage/Info-showimage__Upgraded_.plist
SDL_image-1.2.12/Xcode/showimage/SDLMain.h
SDL_image-1.2.12/Xcode/showimage/SDLMain.m
SDL_image-1.2.12/Xcode/showimage/showimage.xcodeproj/
SDL_image-1.2.12/Xcode/showimage/showimage.xcodeproj/project.pbxproj
SDL_image-1.2.12/Xcode/showimage/English.lproj/InfoPlist.strings
SDL_image-1.2.12/Xcode/SDL_image.xcodeproj/project.pbxproj
SDL_image-1.2.12/Xcode/pkg-support/mkpackage.sh
SDL_image-1.2.12/Xcode/pkg-support/resources/
SDL_image-1.2.12/Xcode/pkg-support/SDL_image.info
SDL_image-1.2.12/Xcode/pkg-support/resources/ReadMe.txt
SDL_image-1.2.12/Xcode/pkg-support/resources/Welcome.txt
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Headers/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/LICENSE.webp.txt
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Resources/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/webp
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/A/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/Current/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/Current/Headers/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/Current/Resources/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/Current/webp
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/Current/Resources/English.lproj/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/Current/Resources/Info.plist
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/Current/Resources/English.lproj/InfoPlist.strings
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/Current/Headers/webp/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/Current/Headers/webp/decode.h
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/Current/Headers/webp/decode_vp8.h
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/Current/Headers/webp/encode.h
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/Current/Headers/webp/mux.h
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/Current/Headers/webp/types.h
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/A/Headers/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/A/Resources/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/A/webp
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/A/Resources/English.lproj/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/A/Resources/Info.plist
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/A/Resources/English.lproj/InfoPlist.strings
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/A/Headers/webp/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/A/Headers/webp/decode.h
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/A/Headers/webp/decode_vp8.h
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/A/Headers/webp/encode.h
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/A/Headers/webp/mux.h
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/A/Headers/webp/types.h
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Resources/English.lproj/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Resources/Info.plist
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Resources/English.lproj/InfoPlist.strings
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Headers/webp/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Headers/webp/decode.h
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Headers/webp/decode_vp8.h
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Headers/webp/encode.h
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Headers/webp/mux.h
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Headers/webp/types.h
SDL_image-1.2.12/VisualCE/clean.sh
SDL_image-1.2.12/VisualCE/resource.h
SDL_image-1.2.12/VisualCE/SDL_image.dsp
SDL_image-1.2.12/VisualCE/SDL_image.dsw
SDL_image-1.2.12/VisualCE/SDL_image.sln
SDL_image-1.2.12/VisualCE/SDL_image.vcproj
SDL_image-1.2.12/VisualCE/showimage/
SDL_image-1.2.12/VisualCE/Version.rc
SDL_image-1.2.12/VisualCE/showimage/showimage.dsp
SDL_image-1.2.12/VisualCE/showimage/showimage.sln
SDL_image-1.2.12/VisualCE/showimage/showimage.vcproj
SDL_image-1.2.12/VisualC/clean.sh
SDL_image-1.2.12/VisualC/external/
SDL_image-1.2.12/VisualC/resource.h
SDL_image-1.2.12/VisualC/SDL_image.sln
SDL_image-1.2.12/VisualC/SDL_image.vcproj
SDL_image-1.2.12/VisualC/showimage/
SDL_image-1.2.12/VisualC/Version.rc
SDL_image-1.2.12/VisualC/showimage/showimage.sln
SDL_image-1.2.12/VisualC/showimage/showimage.vcproj
SDL_image-1.2.12/VisualC/external/include/
SDL_image-1.2.12/VisualC/external/lib/
SDL_image-1.2.12/VisualC/external/lib/x64/
SDL_image-1.2.12/VisualC/external/lib/x86/
SDL_image-1.2.12/VisualC/external/lib/x86/libjpeg-8.dll
SDL_image-1.2.12/VisualC/external/lib/x86/libpng15-15.dll
SDL_image-1.2.12/VisualC/external/lib/x86/libtiff-5.dll
SDL_image-1.2.12/VisualC/external/lib/x86/libwebp-2.dll
SDL_image-1.2.12/VisualC/external/lib/x86/LICENSE.jpeg.txt
SDL_image-1.2.12/VisualC/external/lib/x86/LICENSE.png.txt
SDL_image-1.2.12/VisualC/external/lib/x86/LICENSE.tiff.txt
SDL_image-1.2.12/VisualC/external/lib/x86/LICENSE.webp.txt
SDL_image-1.2.12/VisualC/external/lib/x86/LICENSE.zlib.txt
SDL_image-1.2.12/VisualC/external/lib/x86/zlib1.dll
SDL_image-1.2.12/VisualC/external/lib/x64/libjpeg-8.dll
SDL_image-1.2.12/VisualC/external/lib/x64/libpng15-15.dll
SDL_image-1.2.12/VisualC/external/lib/x64/libtiff-5.dll
SDL_image-1.2.12/VisualC/external/lib/x64/libwebp-2.dll
SDL_image-1.2.12/VisualC/external/lib/x64/LICENSE.jpeg.txt
SDL_image-1.2.12/VisualC/external/lib/x64/LICENSE.png.txt
SDL_image-1.2.12/VisualC/external/lib/x64/LICENSE.tiff.txt
SDL_image-1.2.12/VisualC/external/lib/x64/LICENSE.webp.txt
SDL_image-1.2.12/VisualC/external/lib/x64/LICENSE.zlib.txt
SDL_image-1.2.12/VisualC/external/lib/x64/zlib1.dll
SDL_image-1.2.12/VisualC/external/include/jconfig.h
SDL_image-1.2.12/VisualC/external/include/jerror.h
SDL_image-1.2.12/VisualC/external/include/jmorecfg.h
SDL_image-1.2.12/VisualC/external/include/jpeglib.h
SDL_image-1.2.12/VisualC/external/include/png.h
SDL_image-1.2.12/VisualC/external/include/pngconf.h
SDL_image-1.2.12/VisualC/external/include/pnglibconf.h
SDL_image-1.2.12/VisualC/external/include/tiff.h
SDL_image-1.2.12/VisualC/external/include/tiffconf.h
SDL_image-1.2.12/VisualC/external/include/tiffio.h
SDL_image-1.2.12/VisualC/external/include/tiffvers.h
SDL_image-1.2.12/VisualC/external/include/webp/
SDL_image-1.2.12/VisualC/external/include/zconf.h
SDL_image-1.2.12/VisualC/external/include/zlib.h
SDL_image-1.2.12/VisualC/external/include/webp/decode.h
SDL_image-1.2.12/VisualC/external/include/webp/decode_vp8.h
SDL_image-1.2.12/VisualC/external/include/webp/encode.h
SDL_image-1.2.12/VisualC/external/include/webp/mux.h
SDL_image-1.2.12/VisualC/external/include/webp/types.h
SDL_image-1.2.12/acinclude/libtool.m4
SDL_image-1.2.12/acinclude/ltoptions.m4
SDL_image-1.2.12/acinclude/ltsugar.m4
SDL_image-1.2.12/acinclude/ltversion.m4
SDL_image-1.2.12/acinclude/lt~obsolete.m4
SDL_image-1.2.12/acinclude/pkg.m4
SDL_image-1.2.12/acinclude/sdl.m4
(cd SDL_image-1.2.12 && patch -fp1) < ../../contrib/src/SDL_image/SDL_image.patch
patching file Makefile.am
Hunk #1 succeeded at 53 (offset 6 lines).
Hunk #2 succeeded at 63 (offset 6 lines).
patching file Makefile.in
Hunk #1 succeeded at 39 (offset -2 lines).
Hunk #2 succeeded at 303 (offset 6 lines).
(cd SDL_image-1.2.12 && patch -fp1) < ../../contrib/src/SDL_image/pkg-config.patch
patching file SDL_image.pc.in
mv SDL_image-1.2.12 SDL_image && touch SDL_image
rm -f -R jpeg && tar xvzf ../../contrib/tarballs/jpegsrc.v9a.tar.gz
jpeg-9a/
jpeg-9a/wrppm.c
jpeg-9a/wrrle.c
jpeg-9a/maketdsp.vc6
jpeg-9a/jdinput.c
jpeg-9a/testimg.bmp
jpeg-9a/testimg.jpg
jpeg-9a/testimg.ppm
jpeg-9a/rdjpgcom.1
jpeg-9a/rdjpgcom.c
jpeg-9a/makejsln.v10
jpeg-9a/jccoefct.c
jpeg-9a/jcmainct.c
jpeg-9a/coderules.txt
jpeg-9a/example.c
jpeg-9a/jcapimin.c
jpeg-9a/ar-lib
jpeg-9a/jcapistd.c
jpeg-9a/jctrans.c
jpeg-9a/jconfig.dj
jpeg-9a/jconfig.st
jpeg-9a/jconfig.vc
jpeg-9a/maketmak.vc6
jpeg-9a/rdbmp.c
jpeg-9a/rdgif.c
jpeg-9a/transupp.c
jpeg-9a/transupp.h
jpeg-9a/jdatadst.c
jpeg-9a/rdppm.c
jpeg-9a/makejfil.v10
jpeg-9a/rdrle.c
jpeg-9a/jcdctmgr.c
jpeg-9a/rdtarga.c
jpeg-9a/jdatasrc.c
jpeg-9a/djpeg.1
jpeg-9a/djpeg.c
jpeg-9a/install.txt
jpeg-9a/aclocal.m4
jpeg-9a/usage.txt
jpeg-9a/jcmarker.c
jpeg-9a/jdcolor.c
jpeg-9a/maketfil.v10
jpeg-9a/makefile.bcc
jpeg-9a/makefile.mc6
jpeg-9a/makefile.mms
jpeg-9a/makefile.sas
jpeg-9a/makefile.wat
jpeg-9a/makefile.vms
jpeg-9a/makeddep.vc6
jpeg-9a/jcmaster.c
jpeg-9a/makecvcx.v10
jpeg-9a/jdhuff.c
jpeg-9a/ltmain.sh
jpeg-9a/filelist.txt
jpeg-9a/makewvcx.v10
jpeg-9a/configure
jpeg-9a/makervcx.v10
jpeg-9a/jcomapi.c
jpeg-9a/jerror.c
jpeg-9a/jerror.h
jpeg-9a/jcparam.c
jpeg-9a/jconfig.manx
jpeg-9a/jcarith.c
jpeg-9a/makcjpeg.st
jpeg-9a/configure.ac
jpeg-9a/jmorecfg.h
jpeg-9a/wrjpgcom.1
jpeg-9a/wrjpgcom.c
jpeg-9a/jdsample.c
jpeg-9a/jcprepct.c
jpeg-9a/makeddsp.vc6
jpeg-9a/libjpeg.map
jpeg-9a/libjpeg.txt
jpeg-9a/makejvcx.v10
jpeg-9a/compile
jpeg-9a/testimgp.jpg
jpeg-9a/config.guess
jpeg-9a/jinclude.h
jpeg-9a/wrtarga.c
jpeg-9a/makedmak.vc6
jpeg-9a/config.sub
jpeg-9a/cjpeg.c
jpeg-9a/structure.txt
jpeg-9a/maketvcx.v10
jpeg-9a/missing
jpeg-9a/jquant1.c
jpeg-9a/jquant2.c
jpeg-9a/jaricom.c
jpeg-9a/testprog.jpg
jpeg-9a/jdmerge.c
jpeg-9a/jmemdosa.asm
jpeg-9a/jidctflt.c
jpeg-9a/jidctfst.c
jpeg-9a/jidctint.c
jpeg-9a/makedfil.v10
jpeg-9a/Makefile.am
jpeg-9a/depcomp
jpeg-9a/cderror.h
jpeg-9a/jdct.h
jpeg-9a/maktjpeg.st
jpeg-9a/jccolor.c
jpeg-9a/makvms.opt
jpeg-9a/rdswitch.c
jpeg-9a/makeadsw.vc6
jpeg-9a/makecdep.vc6
jpeg-9a/jmemansi.c
jpeg-9a/makeproj.mac
jpeg-9a/jdcoefct.c
jpeg-9a/jdmainct.c
jpeg-9a/jpegint.h
jpeg-9a/jpeglib.h
jpeg-9a/makewdep.vc6
jpeg-9a/jutils.c
jpeg-9a/jdapimin.c
jpeg-9a/makerdep.vc6
jpeg-9a/jdapistd.c
jpeg-9a/makeasln.v10
jpeg-9a/jdtrans.c
jpeg-9a/jddctmgr.c
jpeg-9a/jdpostct.c
jpeg-9a/makljpeg.st
jpeg-9a/testorig.jpg
jpeg-9a/jdmarker.c
jpeg-9a/wizard.txt
jpeg-9a/jmemname.c
jpeg-9a/jdmaster.c
jpeg-9a/jmemnobs.c
jpeg-9a/makejdep.vc6
jpeg-9a/jversion.h
jpeg-9a/jconfig.bcc
jpeg-9a/jconfig.cfg
jpeg-9a/jconfig.mc6
jpeg-9a/jconfig.mac
jpeg-9a/jconfig.sas
jpeg-9a/jconfig.txt
jpeg-9a/jconfig.wat
jpeg-9a/jconfig.vms
jpeg-9a/makecdsp.vc6
jpeg-9a/jpegtran.1
jpeg-9a/jpegtran.c
jpeg-9a/rdcolmap.c
jpeg-9a/jcsample.c
jpeg-9a/makedvcx.v10
jpeg-9a/jmemdos.c
jpeg-9a/jfdctflt.c
jpeg-9a/jfdctfst.c
jpeg-9a/jmemmac.c
jpeg-9a/jmemmgr.c
jpeg-9a/jfdctint.c
jpeg-9a/makewdsp.vc6
jpeg-9a/jmemsys.h
jpeg-9a/change.log
jpeg-9a/makerdsp.vc6
jpeg-9a/makecmak.vc6
jpeg-9a/maketdep.vc6
jpeg-9a/makefile.dj
jpeg-9a/makefile.vc
jpeg-9a/cdjpeg.c
jpeg-9a/cdjpeg.h
jpeg-9a/makefile.ansi
jpeg-9a/makefile.manx
jpeg-9a/makefile.unix
jpeg-9a/jchuff.c
jpeg-9a/jcinit.c
jpeg-9a/makewmak.vc6
jpeg-9a/makermak.vc6
jpeg-9a/jdarith.c
jpeg-9a/makdjpeg.st
jpeg-9a/makecfil.v10
jpeg-9a/makejdsp.vc6
jpeg-9a/makejdsw.vc6
jpeg-9a/makewfil.v10
jpeg-9a/ckconfig.c
jpeg-9a/makerfil.v10
jpeg-9a/cjpeg.1
jpeg-9a/wrbmp.c
jpeg-9a/wrgif.c
jpeg-9a/README
jpeg-9a/makejmak.vc6
jpeg-9a/install-sh
jpeg-9a/Makefile.in
mv jpeg-9a jpegsrc.v9a
for dir in /usr/share/automake-1.15 /usr/share/automake-1.15 ; do if test -f "${dir}/config.sub" -a -f "${dir}/config.guess"; then cp "${dir}/config.sub" "${dir}/config.guess" jpegsrc.v9a; break; fi; done
mv jpegsrc.v9a jpeg && touch jpeg
cd jpeg && CC="HOST-TRIPLET-gcc" CXX="HOST-TRIPLET-g++" LD="HOST-TRIPLET-ld" AR="HOST-TRIPLET-ar" CCAS="HOST-TRIPLET-gcc -c" RANLIB="HOST-TRIPLET-ranlib" STRIP="HOST-TRIPLET-strip" PATH="/usr/andy/vlc/contrib/HOST-TRIPLET/bin:/usr/andy/vlc/extras/tools/build/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" CPPFLAGS=" -I/usr/andy/vlc/contrib/HOST-TRIPLET/include" CFLAGS=" -I/usr/andy/vlc/contrib/HOST-TRIPLET/include -g" CXXFLAGS=" -I/usr/andy/vlc/contrib/HOST-TRIPLET/include -g" LDFLAGS=" -L/usr/andy/vlc/contrib/HOST-TRIPLET/lib" ./configure --prefix="/usr/andy/vlc/contrib/HOST-TRIPLET" --datarootdir="/usr/andy/vlc/contrib/HOST-TRIPLET/share" --includedir="/usr/andy/vlc/contrib/HOST-TRIPLET/include" --libdir="/usr/andy/vlc/contrib/HOST-TRIPLET/lib" --build="x86_64-linux-gnu" --host="HOST-TRIPLET" --target="HOST-TRIPLET" --program-prefix="" --enable-static --disable-shared --disable-dependency-tracking --with-pic
checking build system type... x86_64-pc-linux-gnu
checking host system type... Invalid configuration `HOST-TRIPLET': machine `HOST' not recognized
configure: error: /bin/bash ./config.sub HOST-TRIPLET failed
../../contrib/src/jpeg/rules.mak:18: recipe for target '.jpeg' failed
make: *** [.jpeg] Error 1
root@andyzheng:/usr/andy/vlc/contrib/win32#
/bin/sh: 1: HOST-TRIPLET-gcc: not found
checking host system type... Invalid configuration `HOST-TRIPLET': machine `HOST' not recognized
configure: error: /bin/bash ./config.sub HOST-TRIPLET failed
../../contrib/src/jpeg/rules.mak:18: recipe for target '.jpeg' failed
make: *** [.jpeg] Error 1
OS: Debian 9 , 64bit
vlc src version:2.2.6
g++-mingw-w64-i686 (6.3.0-18+19.3+b3)。
gcc-mingw-w64-i686 (6.3.0-18+19.3+b3)。
mingw-w64-tools (5.0.1-1)。
https://wiki.videolan.org/Win32Compile
use Manually built
# apt-get install subversion yasm cvs cmake ragel autopoint
$ mkdir -p contrib/win32
$ cd contrib/win32
$ ../bootstrap --host=HOST-TRIPLET
$ make fetch
$ make
when I excute make command it`s got error
root@andyzheng:/usr/andy/vlc/contrib/win32# make
/bin/sh: 1: HOST-TRIPLET-gcc: not found
rm -f -R SDL_image && tar xvzf ../../contrib/tarballs/SDL_image-1.2.12.tar.gz
SDL_image-1.2.12/
SDL_image-1.2.12/acinclude/
SDL_image-1.2.12/aclocal.m4
SDL_image-1.2.12/Android.mk
SDL_image-1.2.12/autogen.sh
SDL_image-1.2.12/CHANGES
SDL_image-1.2.12/config.guess
SDL_image-1.2.12/config.sub
SDL_image-1.2.12/configure
SDL_image-1.2.12/configure.in
SDL_image-1.2.12/COPYING
SDL_image-1.2.12/depcomp
SDL_image-1.2.12/gcc-fat.sh
SDL_image-1.2.12/IMG.c
SDL_image-1.2.12/IMG_bmp.c
SDL_image-1.2.12/IMG_gif.c
SDL_image-1.2.12/IMG_ImageIO.m
SDL_image-1.2.12/IMG_jpg.c
SDL_image-1.2.12/IMG_lbm.c
SDL_image-1.2.12/IMG_pcx.c
SDL_image-1.2.12/IMG_png.c
SDL_image-1.2.12/IMG_pnm.c
SDL_image-1.2.12/IMG_tga.c
SDL_image-1.2.12/IMG_tif.c
SDL_image-1.2.12/IMG_UIImage.m
SDL_image-1.2.12/IMG_webp.c
SDL_image-1.2.12/IMG_xcf.c
SDL_image-1.2.12/IMG_xpm.c
SDL_image-1.2.12/IMG_xv.c
SDL_image-1.2.12/IMG_xxx.c
SDL_image-1.2.12/install-sh
SDL_image-1.2.12/ltmain.sh
SDL_image-1.2.12/Makefile.am
SDL_image-1.2.12/Makefile.in
SDL_image-1.2.12/missing
SDL_image-1.2.12/MPWmake.sea.bin
SDL_image-1.2.12/README
SDL_image-1.2.12/SDL_image.h
SDL_image-1.2.12/SDL_image.pc.in
SDL_image-1.2.12/SDL_image.spec
SDL_image-1.2.12/SDL_image.spec.in
SDL_image-1.2.12/showimage.c
SDL_image-1.2.12/version.rc
SDL_image-1.2.12/VisualC/
SDL_image-1.2.12/VisualCE/
SDL_image-1.2.12/Watcom-OS2.zip
SDL_image-1.2.12/Xcode/
SDL_image-1.2.12/Xcode-iOS/
SDL_image-1.2.12/Xcode-iOS/SDL_image.xcodeproj/
SDL_image-1.2.12/Xcode-iOS/SDL_image.xcodeproj/project.pbxproj
SDL_image-1.2.12/Xcode/Frameworks/
SDL_image-1.2.12/Xcode/Info-Framework__Upgraded_.plist
SDL_image-1.2.12/Xcode/package
SDL_image-1.2.12/Xcode/pkg-support/
SDL_image-1.2.12/Xcode/SDL_image.xcodeproj/
SDL_image-1.2.12/Xcode/showimage/
SDL_image-1.2.12/Xcode/showimage/English.lproj/
SDL_image-1.2.12/Xcode/showimage/Info-showimage__Upgraded_.plist
SDL_image-1.2.12/Xcode/showimage/SDLMain.h
SDL_image-1.2.12/Xcode/showimage/SDLMain.m
SDL_image-1.2.12/Xcode/showimage/showimage.xcodeproj/
SDL_image-1.2.12/Xcode/showimage/showimage.xcodeproj/project.pbxproj
SDL_image-1.2.12/Xcode/showimage/English.lproj/InfoPlist.strings
SDL_image-1.2.12/Xcode/SDL_image.xcodeproj/project.pbxproj
SDL_image-1.2.12/Xcode/pkg-support/mkpackage.sh
SDL_image-1.2.12/Xcode/pkg-support/resources/
SDL_image-1.2.12/Xcode/pkg-support/SDL_image.info
SDL_image-1.2.12/Xcode/pkg-support/resources/ReadMe.txt
SDL_image-1.2.12/Xcode/pkg-support/resources/Welcome.txt
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Headers/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/LICENSE.webp.txt
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Resources/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/webp
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/A/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/Current/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/Current/Headers/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/Current/Resources/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/Current/webp
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/Current/Resources/English.lproj/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/Current/Resources/Info.plist
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/Current/Resources/English.lproj/InfoPlist.strings
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/Current/Headers/webp/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/Current/Headers/webp/decode.h
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/Current/Headers/webp/decode_vp8.h
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/Current/Headers/webp/encode.h
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/Current/Headers/webp/mux.h
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/Current/Headers/webp/types.h
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/A/Headers/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/A/Resources/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/A/webp
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/A/Resources/English.lproj/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/A/Resources/Info.plist
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/A/Resources/English.lproj/InfoPlist.strings
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/A/Headers/webp/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/A/Headers/webp/decode.h
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/A/Headers/webp/decode_vp8.h
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/A/Headers/webp/encode.h
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/A/Headers/webp/mux.h
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Versions/A/Headers/webp/types.h
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Resources/English.lproj/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Resources/Info.plist
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Resources/English.lproj/InfoPlist.strings
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Headers/webp/
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Headers/webp/decode.h
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Headers/webp/decode_vp8.h
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Headers/webp/encode.h
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Headers/webp/mux.h
SDL_image-1.2.12/Xcode/Frameworks/webp.framework/Headers/webp/types.h
SDL_image-1.2.12/VisualCE/clean.sh
SDL_image-1.2.12/VisualCE/resource.h
SDL_image-1.2.12/VisualCE/SDL_image.dsp
SDL_image-1.2.12/VisualCE/SDL_image.dsw
SDL_image-1.2.12/VisualCE/SDL_image.sln
SDL_image-1.2.12/VisualCE/SDL_image.vcproj
SDL_image-1.2.12/VisualCE/showimage/
SDL_image-1.2.12/VisualCE/Version.rc
SDL_image-1.2.12/VisualCE/showimage/showimage.dsp
SDL_image-1.2.12/VisualCE/showimage/showimage.sln
SDL_image-1.2.12/VisualCE/showimage/showimage.vcproj
SDL_image-1.2.12/VisualC/clean.sh
SDL_image-1.2.12/VisualC/external/
SDL_image-1.2.12/VisualC/resource.h
SDL_image-1.2.12/VisualC/SDL_image.sln
SDL_image-1.2.12/VisualC/SDL_image.vcproj
SDL_image-1.2.12/VisualC/showimage/
SDL_image-1.2.12/VisualC/Version.rc
SDL_image-1.2.12/VisualC/showimage/showimage.sln
SDL_image-1.2.12/VisualC/showimage/showimage.vcproj
SDL_image-1.2.12/VisualC/external/include/
SDL_image-1.2.12/VisualC/external/lib/
SDL_image-1.2.12/VisualC/external/lib/x64/
SDL_image-1.2.12/VisualC/external/lib/x86/
SDL_image-1.2.12/VisualC/external/lib/x86/libjpeg-8.dll
SDL_image-1.2.12/VisualC/external/lib/x86/libpng15-15.dll
SDL_image-1.2.12/VisualC/external/lib/x86/libtiff-5.dll
SDL_image-1.2.12/VisualC/external/lib/x86/libwebp-2.dll
SDL_image-1.2.12/VisualC/external/lib/x86/LICENSE.jpeg.txt
SDL_image-1.2.12/VisualC/external/lib/x86/LICENSE.png.txt
SDL_image-1.2.12/VisualC/external/lib/x86/LICENSE.tiff.txt
SDL_image-1.2.12/VisualC/external/lib/x86/LICENSE.webp.txt
SDL_image-1.2.12/VisualC/external/lib/x86/LICENSE.zlib.txt
SDL_image-1.2.12/VisualC/external/lib/x86/zlib1.dll
SDL_image-1.2.12/VisualC/external/lib/x64/libjpeg-8.dll
SDL_image-1.2.12/VisualC/external/lib/x64/libpng15-15.dll
SDL_image-1.2.12/VisualC/external/lib/x64/libtiff-5.dll
SDL_image-1.2.12/VisualC/external/lib/x64/libwebp-2.dll
SDL_image-1.2.12/VisualC/external/lib/x64/LICENSE.jpeg.txt
SDL_image-1.2.12/VisualC/external/lib/x64/LICENSE.png.txt
SDL_image-1.2.12/VisualC/external/lib/x64/LICENSE.tiff.txt
SDL_image-1.2.12/VisualC/external/lib/x64/LICENSE.webp.txt
SDL_image-1.2.12/VisualC/external/lib/x64/LICENSE.zlib.txt
SDL_image-1.2.12/VisualC/external/lib/x64/zlib1.dll
SDL_image-1.2.12/VisualC/external/include/jconfig.h
SDL_image-1.2.12/VisualC/external/include/jerror.h
SDL_image-1.2.12/VisualC/external/include/jmorecfg.h
SDL_image-1.2.12/VisualC/external/include/jpeglib.h
SDL_image-1.2.12/VisualC/external/include/png.h
SDL_image-1.2.12/VisualC/external/include/pngconf.h
SDL_image-1.2.12/VisualC/external/include/pnglibconf.h
SDL_image-1.2.12/VisualC/external/include/tiff.h
SDL_image-1.2.12/VisualC/external/include/tiffconf.h
SDL_image-1.2.12/VisualC/external/include/tiffio.h
SDL_image-1.2.12/VisualC/external/include/tiffvers.h
SDL_image-1.2.12/VisualC/external/include/webp/
SDL_image-1.2.12/VisualC/external/include/zconf.h
SDL_image-1.2.12/VisualC/external/include/zlib.h
SDL_image-1.2.12/VisualC/external/include/webp/decode.h
SDL_image-1.2.12/VisualC/external/include/webp/decode_vp8.h
SDL_image-1.2.12/VisualC/external/include/webp/encode.h
SDL_image-1.2.12/VisualC/external/include/webp/mux.h
SDL_image-1.2.12/VisualC/external/include/webp/types.h
SDL_image-1.2.12/acinclude/libtool.m4
SDL_image-1.2.12/acinclude/ltoptions.m4
SDL_image-1.2.12/acinclude/ltsugar.m4
SDL_image-1.2.12/acinclude/ltversion.m4
SDL_image-1.2.12/acinclude/lt~obsolete.m4
SDL_image-1.2.12/acinclude/pkg.m4
SDL_image-1.2.12/acinclude/sdl.m4
(cd SDL_image-1.2.12 && patch -fp1) < ../../contrib/src/SDL_image/SDL_image.patch
patching file Makefile.am
Hunk #1 succeeded at 53 (offset 6 lines).
Hunk #2 succeeded at 63 (offset 6 lines).
patching file Makefile.in
Hunk #1 succeeded at 39 (offset -2 lines).
Hunk #2 succeeded at 303 (offset 6 lines).
(cd SDL_image-1.2.12 && patch -fp1) < ../../contrib/src/SDL_image/pkg-config.patch
patching file SDL_image.pc.in
mv SDL_image-1.2.12 SDL_image && touch SDL_image
rm -f -R jpeg && tar xvzf ../../contrib/tarballs/jpegsrc.v9a.tar.gz
jpeg-9a/
jpeg-9a/wrppm.c
jpeg-9a/wrrle.c
jpeg-9a/maketdsp.vc6
jpeg-9a/jdinput.c
jpeg-9a/testimg.bmp
jpeg-9a/testimg.jpg
jpeg-9a/testimg.ppm
jpeg-9a/rdjpgcom.1
jpeg-9a/rdjpgcom.c
jpeg-9a/makejsln.v10
jpeg-9a/jccoefct.c
jpeg-9a/jcmainct.c
jpeg-9a/coderules.txt
jpeg-9a/example.c
jpeg-9a/jcapimin.c
jpeg-9a/ar-lib
jpeg-9a/jcapistd.c
jpeg-9a/jctrans.c
jpeg-9a/jconfig.dj
jpeg-9a/jconfig.st
jpeg-9a/jconfig.vc
jpeg-9a/maketmak.vc6
jpeg-9a/rdbmp.c
jpeg-9a/rdgif.c
jpeg-9a/transupp.c
jpeg-9a/transupp.h
jpeg-9a/jdatadst.c
jpeg-9a/rdppm.c
jpeg-9a/makejfil.v10
jpeg-9a/rdrle.c
jpeg-9a/jcdctmgr.c
jpeg-9a/rdtarga.c
jpeg-9a/jdatasrc.c
jpeg-9a/djpeg.1
jpeg-9a/djpeg.c
jpeg-9a/install.txt
jpeg-9a/aclocal.m4
jpeg-9a/usage.txt
jpeg-9a/jcmarker.c
jpeg-9a/jdcolor.c
jpeg-9a/maketfil.v10
jpeg-9a/makefile.bcc
jpeg-9a/makefile.mc6
jpeg-9a/makefile.mms
jpeg-9a/makefile.sas
jpeg-9a/makefile.wat
jpeg-9a/makefile.vms
jpeg-9a/makeddep.vc6
jpeg-9a/jcmaster.c
jpeg-9a/makecvcx.v10
jpeg-9a/jdhuff.c
jpeg-9a/ltmain.sh
jpeg-9a/filelist.txt
jpeg-9a/makewvcx.v10
jpeg-9a/configure
jpeg-9a/makervcx.v10
jpeg-9a/jcomapi.c
jpeg-9a/jerror.c
jpeg-9a/jerror.h
jpeg-9a/jcparam.c
jpeg-9a/jconfig.manx
jpeg-9a/jcarith.c
jpeg-9a/makcjpeg.st
jpeg-9a/configure.ac
jpeg-9a/jmorecfg.h
jpeg-9a/wrjpgcom.1
jpeg-9a/wrjpgcom.c
jpeg-9a/jdsample.c
jpeg-9a/jcprepct.c
jpeg-9a/makeddsp.vc6
jpeg-9a/libjpeg.map
jpeg-9a/libjpeg.txt
jpeg-9a/makejvcx.v10
jpeg-9a/compile
jpeg-9a/testimgp.jpg
jpeg-9a/config.guess
jpeg-9a/jinclude.h
jpeg-9a/wrtarga.c
jpeg-9a/makedmak.vc6
jpeg-9a/config.sub
jpeg-9a/cjpeg.c
jpeg-9a/structure.txt
jpeg-9a/maketvcx.v10
jpeg-9a/missing
jpeg-9a/jquant1.c
jpeg-9a/jquant2.c
jpeg-9a/jaricom.c
jpeg-9a/testprog.jpg
jpeg-9a/jdmerge.c
jpeg-9a/jmemdosa.asm
jpeg-9a/jidctflt.c
jpeg-9a/jidctfst.c
jpeg-9a/jidctint.c
jpeg-9a/makedfil.v10
jpeg-9a/Makefile.am
jpeg-9a/depcomp
jpeg-9a/cderror.h
jpeg-9a/jdct.h
jpeg-9a/maktjpeg.st
jpeg-9a/jccolor.c
jpeg-9a/makvms.opt
jpeg-9a/rdswitch.c
jpeg-9a/makeadsw.vc6
jpeg-9a/makecdep.vc6
jpeg-9a/jmemansi.c
jpeg-9a/makeproj.mac
jpeg-9a/jdcoefct.c
jpeg-9a/jdmainct.c
jpeg-9a/jpegint.h
jpeg-9a/jpeglib.h
jpeg-9a/makewdep.vc6
jpeg-9a/jutils.c
jpeg-9a/jdapimin.c
jpeg-9a/makerdep.vc6
jpeg-9a/jdapistd.c
jpeg-9a/makeasln.v10
jpeg-9a/jdtrans.c
jpeg-9a/jddctmgr.c
jpeg-9a/jdpostct.c
jpeg-9a/makljpeg.st
jpeg-9a/testorig.jpg
jpeg-9a/jdmarker.c
jpeg-9a/wizard.txt
jpeg-9a/jmemname.c
jpeg-9a/jdmaster.c
jpeg-9a/jmemnobs.c
jpeg-9a/makejdep.vc6
jpeg-9a/jversion.h
jpeg-9a/jconfig.bcc
jpeg-9a/jconfig.cfg
jpeg-9a/jconfig.mc6
jpeg-9a/jconfig.mac
jpeg-9a/jconfig.sas
jpeg-9a/jconfig.txt
jpeg-9a/jconfig.wat
jpeg-9a/jconfig.vms
jpeg-9a/makecdsp.vc6
jpeg-9a/jpegtran.1
jpeg-9a/jpegtran.c
jpeg-9a/rdcolmap.c
jpeg-9a/jcsample.c
jpeg-9a/makedvcx.v10
jpeg-9a/jmemdos.c
jpeg-9a/jfdctflt.c
jpeg-9a/jfdctfst.c
jpeg-9a/jmemmac.c
jpeg-9a/jmemmgr.c
jpeg-9a/jfdctint.c
jpeg-9a/makewdsp.vc6
jpeg-9a/jmemsys.h
jpeg-9a/change.log
jpeg-9a/makerdsp.vc6
jpeg-9a/makecmak.vc6
jpeg-9a/maketdep.vc6
jpeg-9a/makefile.dj
jpeg-9a/makefile.vc
jpeg-9a/cdjpeg.c
jpeg-9a/cdjpeg.h
jpeg-9a/makefile.ansi
jpeg-9a/makefile.manx
jpeg-9a/makefile.unix
jpeg-9a/jchuff.c
jpeg-9a/jcinit.c
jpeg-9a/makewmak.vc6
jpeg-9a/makermak.vc6
jpeg-9a/jdarith.c
jpeg-9a/makdjpeg.st
jpeg-9a/makecfil.v10
jpeg-9a/makejdsp.vc6
jpeg-9a/makejdsw.vc6
jpeg-9a/makewfil.v10
jpeg-9a/ckconfig.c
jpeg-9a/makerfil.v10
jpeg-9a/cjpeg.1
jpeg-9a/wrbmp.c
jpeg-9a/wrgif.c
jpeg-9a/README
jpeg-9a/makejmak.vc6
jpeg-9a/install-sh
jpeg-9a/Makefile.in
mv jpeg-9a jpegsrc.v9a
for dir in /usr/share/automake-1.15 /usr/share/automake-1.15 ; do if test -f "${dir}/config.sub" -a -f "${dir}/config.guess"; then cp "${dir}/config.sub" "${dir}/config.guess" jpegsrc.v9a; break; fi; done
mv jpegsrc.v9a jpeg && touch jpeg
cd jpeg && CC="HOST-TRIPLET-gcc" CXX="HOST-TRIPLET-g++" LD="HOST-TRIPLET-ld" AR="HOST-TRIPLET-ar" CCAS="HOST-TRIPLET-gcc -c" RANLIB="HOST-TRIPLET-ranlib" STRIP="HOST-TRIPLET-strip" PATH="/usr/andy/vlc/contrib/HOST-TRIPLET/bin:/usr/andy/vlc/extras/tools/build/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" CPPFLAGS=" -I/usr/andy/vlc/contrib/HOST-TRIPLET/include" CFLAGS=" -I/usr/andy/vlc/contrib/HOST-TRIPLET/include -g" CXXFLAGS=" -I/usr/andy/vlc/contrib/HOST-TRIPLET/include -g" LDFLAGS=" -L/usr/andy/vlc/contrib/HOST-TRIPLET/lib" ./configure --prefix="/usr/andy/vlc/contrib/HOST-TRIPLET" --datarootdir="/usr/andy/vlc/contrib/HOST-TRIPLET/share" --includedir="/usr/andy/vlc/contrib/HOST-TRIPLET/include" --libdir="/usr/andy/vlc/contrib/HOST-TRIPLET/lib" --build="x86_64-linux-gnu" --host="HOST-TRIPLET" --target="HOST-TRIPLET" --program-prefix="" --enable-static --disable-shared --disable-dependency-tracking --with-pic
checking build system type... x86_64-pc-linux-gnu
checking host system type... Invalid configuration `HOST-TRIPLET': machine `HOST' not recognized
configure: error: /bin/bash ./config.sub HOST-TRIPLET failed
../../contrib/src/jpeg/rules.mak:18: recipe for target '.jpeg' failed
make: *** [.jpeg] Error 1
root@andyzheng:/usr/andy/vlc/contrib/win32#
/bin/sh: 1: HOST-TRIPLET-gcc: not found
checking host system type... Invalid configuration `HOST-TRIPLET': machine `HOST' not recognized
configure: error: /bin/bash ./config.sub HOST-TRIPLET failed
../../contrib/src/jpeg/rules.mak:18: recipe for target '.jpeg' failed
make: *** [.jpeg] Error 1