Closed MfNiu closed 9 years ago
[ 0%] Built target fastlz
[ 0%] [ 0%] [ 0%] Built target afdt
Built target double-conversion
[ 0%] [ 1%] Built target timelib
Built target hphp_parser
Built target neo
[ 2%] Built target vixl
[ 3%] Built target hphp_thrift
[ 4%] [ 6%] Built target hphp_zend
[ 10%] Built target zip_static
[ 13%] Generating systemlib.php
Built target folly
[ 17%] Built target hphp_util
[ 22%] Built target mbfl
[ 23%] Built target hphp_proxygen
[ 23%] [ 24%] Built target gen-class-map
Built target gen-infotabs
[ 24%] Built target gen-ext-hhvm
[ 25%] Built target hphp_system
[ 26%] Built target hphp_hhbbc
[ 33%] Built target hphp_analysis
[ 38%] Built target hphp_ext_zend_compat
[ 54%] Built target hphp_runtime_ext
[ 54%] Built target systemlib
[ 76%] Built target hphp_runtime_static
[ 76%] Built target hack
[100%] Built target ext_hhvm_static
Linking CXX executable hhvm
../runtime/ext/libhphp_runtime_ext.a(gd_jpeg.cpp.o): In function fatal_jpeg_error(jpeg_common_struct*)': gd_jpeg.cpp:(.text+0x97): undefined reference to
jpeg_destroy'
../runtime/ext/libhphp_runtime_ext.a(gd_jpeg.cpp.o): In function gdImageJpegCtx': gd_jpeg.cpp:(.text+0x488): undefined reference to
jpeg_std_error'
gd_jpeg.cpp:(.text+0x4f8): undefined reference to jpeg_CreateCompress' gd_jpeg.cpp:(.text+0x531): undefined reference to
jpeg_set_defaults'
gd_jpeg.cpp:(.text+0x54c): undefined reference to jpeg_set_quality' gd_jpeg.cpp:(.text+0x5e9): undefined reference to
jpeg_start_compress'
gd_jpeg.cpp:(.text+0x676): undefined reference to jpeg_write_marker' gd_jpeg.cpp:(.text+0x729): undefined reference to
jpeg_write_scanlines'
gd_jpeg.cpp:(.text+0x764): undefined reference to jpeg_finish_compress' gd_jpeg.cpp:(.text+0x770): undefined reference to
jpeg_destroy_compress'
gd_jpeg.cpp:(.text+0x802): undefined reference to jpeg_write_scanlines' gd_jpeg.cpp:(.text+0x844): undefined reference to
jpeg_simple_progression'
../runtime/ext/libhphp_runtime_ext.a(gd_jpeg.cpp.o): In function gdImageCreateFromJpegCtxEx': gd_jpeg.cpp:(.text+0x994): undefined reference to
jpeg_std_error'
gd_jpeg.cpp:(.text+0xa28): undefined reference to jpeg_CreateDecompress' gd_jpeg.cpp:(.text+0xa69): undefined reference to
jpeg_resync_to_restart'
gd_jpeg.cpp:(.text+0xa90): undefined reference to jpeg_save_markers' gd_jpeg.cpp:(.text+0xaa1): undefined reference to
jpeg_read_header'
gd_jpeg.cpp:(.text+0xb22): undefined reference to jpeg_start_decompress' gd_jpeg.cpp:(.text+0xba9): undefined reference to
jpeg_destroy_decompress'
gd_jpeg.cpp:(.text+0xc90): undefined reference to jpeg_read_scanlines' gd_jpeg.cpp:(.text+0xcf6): undefined reference to
jpeg_finish_decompress'
gd_jpeg.cpp:(.text+0xd32): undefined reference to jpeg_destroy_decompress' gd_jpeg.cpp:(.text+0xe50): undefined reference to
jpeg_read_scanlines'
../runtime/ext/libhphp_runtime_ext.a(gd_jpeg.cpp.o): In function jpeg_gdIOCtx_src(jpeg_decompress_struct*, gdIOCtx*)': gd_jpeg.cpp:(.text+0x10c8): undefined reference to
jpeg_resync_to_restart'
collect2: error: ld returned 1 exit status
make[2]: * [hphp/hhvm/hhvm] Error 1
make[1]: * [hphp/hhvm/CMakeFiles/hhvm.dir/all] Error 2
make: *\ [all] Error 2
yum install cpp gcc-c++ cmake git psmisc {binutils,boost,jemalloc}-devel {sqlite,tbb,bzip2,openldap,readline,elfutils-libelf,gmp,lz4,pcre}-devel lib{xslt,event,yaml,vpx,png,zip,icu,mcrypt,memcached,cap,dwarf}-devel {unixODBC,expat,mariadb}-devel lib{edit,curl,xml2,xslt}-devel glog-devel oniguruma-devel ocaml yum install gd-devel wget https://codeload.github.com/facebook/hhvm/tar.gz/HHVM-3.3.5 -O HHVM-3.3.5.tar.gz tar xvf HHVM-3.3.5.tar.gz cd hhvm-HHVM-3.3.5/ git clone https://github.com/hhvm/hhvm-third-party -b HHVM-3.3 third-party cd third-party/ git submodule update --init --recursive cd .. cmake . make -j$(($(nproc)+1))
The process goes well until 100%, then the compilation is terminated [ 0%] [ 0%] [ 0%] Built target timelib Built target afdt Built target fastlz [ 0%] [ 1%] Built target double-conversion Built target neo [ 2%] [ 2%] Built target hphp_thrift Built target hphp_parser [ 3%] Built target vixl [ 9%] Built target zip_static [ 9%] [ 10%] Built target hphp_zend [ 15%] Generating systemlib.php Built target mbfl [ 19%] [ 20%] Built target hphp_util [ 23%] Built target hphp_proxygen Built target folly [ 24%] [ 24%] Built target gen-infotabs Built target gen-class-map [ 24%] Built target gen-ext-hhvm [ 25%] Built target hphp_system [ 26%] Built target hphp_hhbbc [ 33%] Built target hphp_analysis [ 38%] Built target hphp_ext_zend_compat [ 54%] Built target hphp_runtime_ext [ 54%] Built target systemlib [ 76%] Built target hphp_runtime_static [ 76%] Built target hack [100%] Built target ext_hhvm_static Linking CXX executable hhvm ../runtime/ext/libhphp_runtime_ext.a(gd_jpeg.cpp.o):在函数‘fatal_jpeg_error(jpeg_commonstruct)’中: gd_jpeg.cpp:(.text+0x97):对‘jpeg_destroy’未定义的引用 ../runtime/ext/libhphp_runtime_ext.a(gd_jpeg.cpp.o):在函数‘gdImageJpegCtx’中: gd_jpeg.cpp:(.text+0x488):对‘jpeg_std_error’未定义的引用 gd_jpeg.cpp:(.text+0x4f8):对‘jpeg_CreateCompress’未定义的引用 gd_jpeg.cpp:(.text+0x531):对‘jpeg_set_defaults’未定义的引用 gd_jpeg.cpp:(.text+0x54c):对‘jpeg_set_quality’未定义的引用 gd_jpeg.cpp:(.text+0x5e9):对‘jpeg_start_compress’未定义的引用 gd_jpeg.cpp:(.text+0x676):对‘jpeg_write_marker’未定义的引用 gd_jpeg.cpp:(.text+0x729):对‘jpeg_write_scanlines’未定义的引用 gd_jpeg.cpp:(.text+0x764):对‘jpeg_finish_compress’未定义的引用 gd_jpeg.cpp:(.text+0x770):对‘jpeg_destroy_compress’未定义的引用 gd_jpeg.cpp:(.text+0x802):对‘jpeg_write_scanlines’未定义的引用 gd_jpeg.cpp:(.text+0x844):对‘jpeg_simple_progression’未定义的引用 ../runtime/ext/libhphp_runtime_ext.a(gd_jpeg.cpp.o):在函数‘gdImageCreateFromJpegCtxEx’中: gd_jpeg.cpp:(.text+0x994):对‘jpeg_std_error’未定义的引用 gd_jpeg.cpp:(.text+0xa28):对‘jpeg_CreateDecompress’未定义的引用 gd_jpeg.cpp:(.text+0xa69):对‘jpeg_resync_to_restart’未定义的引用 gd_jpeg.cpp:(.text+0xa90):对‘jpeg_save_markers’未定义的引用 gd_jpeg.cpp:(.text+0xaa1):对‘jpeg_read_header’未定义的引用 gd_jpeg.cpp:(.text+0xb22):对‘jpeg_start_decompress’未定义的引用 gd_jpeg.cpp:(.text+0xba9):对‘jpeg_destroy_decompress’未定义的引用 gd_jpeg.cpp:(.text+0xc90):对‘jpeg_read_scanlines’未定义的引用 gd_jpeg.cpp:(.text+0xcf6):对‘jpeg_finish_decompress’未定义的引用 gd_jpeg.cpp:(.text+0xd32):对‘jpeg_destroy_decompress’未定义的引用 gd_jpeg.cpp:(.text+0xe50):对‘jpeg_read_scanlines’未定义的引用 ../runtime/ext/libhphp_runtime_ext.a(gd_jpeg.cpp.o):在函数‘jpeg_gdIOCtx_src(jpeg_decompressstruct, gdIOCtx_)’中: gd_jpeg.cpp:(.text+0x10c8):对‘jpeg_resync_torestart’未定义的引用 collect2: 错误:ld 返回 1 make[2]: ** [hphp/hhvm/hhvm] 错误 1 make[1]: * [hphp/hhvm/CMakeFiles/hhvm.dir/all] 错误 2 make: * [all] 错误 2