vlfeat / matconvnet

MatConvNet: CNNs for MATLAB
Other
1.4k stars 752 forks source link

build with `ImreadJpeg` error #779

Open duchengyao opened 8 years ago

duchengyao commented 8 years ago
Ubuntu 16 
Matlab R2016a

When I compile Matconvnet using >> vl_compilenn , return

Error using mex
/home/s1nh/project/matconvnet/matlab/mex/.build/vl_imreadjpeg.o: In function `Batch::Item::Item(Batch const&)':
vl_imreadjpeg.cpp:(.text+0xbe3): undefined reference to `__warn_memset_zero_len'
collect2: error: ld returned 1 exit status

Error in vl_compilenn>mex_link (line 547)
mex(mopts{:}) ;

Error in vl_compilenn (line 498)
  mex_link(opts, objs, mex_dir, flags.mexlink) ;

when set opts.enableImreadJpeg = false; compile complete.

Thanks!

lenck commented 8 years ago

Hi, MatConvNet has one dependency in the libjpeg... You can easily install it with:

sudo apt-get install build-essential libjpeg-turbo8-dev
duchengyao commented 8 years ago

I have already installed build-essential and libjpeg-turbo8-dev

Thanks so much!

lenck commented 8 years ago

Hi, can you run it with vl_compilenn(...,'verbose',2) and post the output e.g. to pastebin? (It's going to be super long). Hopefully it would help more to find out where is the issue...

lenck commented 8 years ago

Hi, just tried to compile it on a fresh install of Ubuntu 16.04 MATLAB 2016a and GCC 5.4.0 and everything seems to compile without issues... So what I think is happening in your case is that you have some issues with the paths, e.g. that you are compiling against different library than you are linking to... Also, are you compiling it with 4.7? Maybe try the default GCC (and ignore the MATLAB warnings, eventually you can update the libstdc++ in the MALTAB path in case of issues).

duchengyao commented 8 years ago

Thanks! I tried to compile with gcc 5.4.0, and compile complete!

but when I using gcc 4.7, still ERROR. the full log with vl_compilenn(...,'verbose',2) is:

>> vl_compilenn('verbose',2)
vl_compilenn:   CUDA: MEX config file: '/home/s1nh/project/matconvnet/matlab/src/config/mex_CUDA_glnxa64.xml'
vl_compilenn: * Compiler and linker configurations *
vl_compilenn:   intermediate build products directory: /home/s1nh/project/matconvnet/matlab/mex/.build
vl_compilenn:   MEX files: /home/s1nh/project/matconvnet/matlab/mex/
vl_compilenn:   MEX options [CC CPU]: -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
vl_compilenn:   MEX options [LINK]: -v -DNDEBUG -DENABLE_DOUBLE -lmwblas -largeArrayDims LDFLAGS=$LDFLAGS  LINKLIBS=-lrt -ljpeg $LINKLIBS
vl_compilenn: * Reading images *
vl_compilenn:   vl_imreadjpeg enabled
vl_compilenn:   image library: libjpeg
vl_compilenn:   image library compile flags: 
vl_compilenn:   image library link flags: -ljpeg
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build/bits /home/s1nh/project/matconvnet/matlab/src/bits/data.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/data.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/bits/data.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/bits/data
    DEF : /tmp/mex_2790643252286_3658/data.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/
    EXENAME : data
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/data.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o
MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build/bits /home/s1nh/project/matconvnet/matlab/src/bits/datamex.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/datamex.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/bits/datamex.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/bits/datamex
    DEF : /tmp/mex_2791328473450_3658/datamex.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/
    EXENAME : datamex
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/datamex.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o
MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build/bits /home/s1nh/project/matconvnet/matlab/src/bits/nnconv.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/nnconv.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/bits/nnconv.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/bits/nnconv
    DEF : /tmp/mex_2791779211520_3658/nnconv.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/
    EXENAME : nnconv
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/nnconv.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o
MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build/bits /home/s1nh/project/matconvnet/matlab/src/bits/nnfullyconnected.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/nnfullyconnected.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/bits/nnfullyconnected.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/bits/nnfullyconnected
    DEF : /tmp/mex_2792494715494_3658/nnfullyconnected.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/
    EXENAME : nnfullyconnected
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/nnfullyconnected.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o
MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build/bits /home/s1nh/project/matconvnet/matlab/src/bits/nnsubsample.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/nnsubsample.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/bits/nnsubsample.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/bits/nnsubsample
    DEF : /tmp/mex_2793047861050_3658/nnsubsample.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/
    EXENAME : nnsubsample
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/nnsubsample.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o
MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build/bits /home/s1nh/project/matconvnet/matlab/src/bits/nnpooling.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/nnpooling.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/bits/nnpooling.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/bits/nnpooling
    DEF : /tmp/mex_2793559675538_3658/nnpooling.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/
    EXENAME : nnpooling
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/nnpooling.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o
MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build/bits /home/s1nh/project/matconvnet/matlab/src/bits/nnnormalize.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/nnnormalize.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/bits/nnnormalize.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/bits/nnnormalize
    DEF : /tmp/mex_2793979528772_3658/nnnormalize.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/
    EXENAME : nnnormalize
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/nnnormalize.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o
MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build/bits /home/s1nh/project/matconvnet/matlab/src/bits/nnbnorm.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/nnbnorm.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/bits/nnbnorm.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/bits/nnbnorm
    DEF : /tmp/mex_2794370560720_3658/nnbnorm.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/
    EXENAME : nnbnorm
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/nnbnorm.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o
MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build/bits /home/s1nh/project/matconvnet/matlab/src/bits/nnbias.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/nnbias.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/bits/nnbias.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/bits/nnbias
    DEF : /tmp/mex_2794774305300_3658/nnbias.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/
    EXENAME : nnbias
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/nnbias.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o
MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build/bits /home/s1nh/project/matconvnet/matlab/src/bits/nnbilinearsampler.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/nnbilinearsampler.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/bits/nnbilinearsampler.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/bits/nnbilinearsampler
    DEF : /tmp/mex_2795231058448_3658/nnbilinearsampler.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/
    EXENAME : nnbilinearsampler
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/nnbilinearsampler.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o
MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build/bits /home/s1nh/project/matconvnet/matlab/src/bits/nnroipooling.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/nnroipooling.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/bits/nnroipooling.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/bits/nnroipooling
    DEF : /tmp/mex_2795640556336_3658/nnroipooling.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/
    EXENAME : nnroipooling
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/nnroipooling.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o
MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl /home/s1nh/project/matconvnet/matlab/src/bits/impl/im2row_cpu.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/impl/im2row_cpu.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/bits/impl/im2row_cpu.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/bits/impl/im2row_cpu
    DEF : /tmp/mex_2796036460694_3658/im2row_cpu.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/
    EXENAME : im2row_cpu
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/impl/im2row_cpu.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o
MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl /home/s1nh/project/matconvnet/matlab/src/bits/impl/subsample_cpu.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/impl/subsample_cpu.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/bits/impl/subsample_cpu.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/bits/impl/subsample_cpu
    DEF : /tmp/mex_2796701574600_3658/subsample_cpu.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/
    EXENAME : subsample_cpu
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/impl/subsample_cpu.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o
MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl /home/s1nh/project/matconvnet/matlab/src/bits/impl/copy_cpu.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/impl/copy_cpu.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/bits/impl/copy_cpu.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/bits/impl/copy_cpu
    DEF : /tmp/mex_2797381462468_3658/copy_cpu.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/
    EXENAME : copy_cpu
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/impl/copy_cpu.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o
MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl /home/s1nh/project/matconvnet/matlab/src/bits/impl/pooling_cpu.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/impl/pooling_cpu.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/bits/impl/pooling_cpu.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/bits/impl/pooling_cpu
    DEF : /tmp/mex_2797788073646_3658/pooling_cpu.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/
    EXENAME : pooling_cpu
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/impl/pooling_cpu.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o
MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl /home/s1nh/project/matconvnet/matlab/src/bits/impl/normalize_cpu.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/impl/normalize_cpu.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/bits/impl/normalize_cpu.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/bits/impl/normalize_cpu
    DEF : /tmp/mex_2798809197574_3658/normalize_cpu.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/
    EXENAME : normalize_cpu
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/impl/normalize_cpu.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o
MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl /home/s1nh/project/matconvnet/matlab/src/bits/impl/bnorm_cpu.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/impl/bnorm_cpu.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/bits/impl/bnorm_cpu.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/bits/impl/bnorm_cpu
    DEF : /tmp/mex_2800230482250_3658/bnorm_cpu.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/
    EXENAME : bnorm_cpu
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/impl/bnorm_cpu.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o
MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl /home/s1nh/project/matconvnet/matlab/src/bits/impl/tinythread.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/impl/tinythread.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/bits/impl/tinythread.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/bits/impl/tinythread
    DEF : /tmp/mex_2801339460064_3658/tinythread.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/
    EXENAME : tinythread
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/impl/tinythread.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o
MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl /home/s1nh/project/matconvnet/matlab/src/bits/impl/bilinearsampler_cpu.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/impl/bilinearsampler_cpu.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/bits/impl/bilinearsampler_cpu.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/bits/impl/bilinearsampler_cpu
    DEF : /tmp/mex_2802024720440_3658/bilinearsampler_cpu.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/
    EXENAME : bilinearsampler_cpu
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/impl/bilinearsampler_cpu.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o
MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl /home/s1nh/project/matconvnet/matlab/src/bits/impl/roipooling_cpu.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/impl/roipooling_cpu.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/bits/impl/roipooling_cpu.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/bits/impl/roipooling_cpu
    DEF : /tmp/mex_2802874890000_3658/roipooling_cpu.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/
    EXENAME : roipooling_cpu
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/impl/roipooling_cpu.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o
MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build/bits /home/s1nh/project/matconvnet/matlab/src/bits/imread.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/imread.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/bits/imread.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/bits/imread
    DEF : /tmp/mex_2804121672514_3658/imread.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/
    EXENAME : imread
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/imread.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o
MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl /home/s1nh/project/matconvnet/matlab/src/bits/impl/imread_libjpeg.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/impl/imread_libjpeg.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/bits/impl/imread_libjpeg.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/bits/impl/imread_libjpeg
    DEF : /tmp/mex_2804510274084_3658/imread_libjpeg.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/
    EXENAME : imread_libjpeg
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/bits/impl/imread_libjpeg.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o
MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build /home/s1nh/project/matconvnet/matlab/src/vl_nnconv.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/vl_nnconv.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconv.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconv.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconv.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/vl_nnconv.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconv.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconv.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/vl_nnconv
    DEF : /tmp/mex_2805584877538_3658/vl_nnconv.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconv.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconv.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconv.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconv.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconv.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconv
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/
    EXENAME : vl_nnconv
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/vl_nnconv.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconv.o
MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build /home/s1nh/project/matconvnet/matlab/src/vl_nnconvt.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/vl_nnconvt.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconvt.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconvt.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconvt.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/vl_nnconvt.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconvt.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconvt.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/vl_nnconvt
    DEF : /tmp/mex_2806370284634_3658/vl_nnconvt.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconvt.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconvt.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconvt.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconvt.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconvt.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconvt
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/
    EXENAME : vl_nnconvt
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/vl_nnconvt.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconvt.o
MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build /home/s1nh/project/matconvnet/matlab/src/vl_nnpool.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/vl_nnpool.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnpool.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnpool.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnpool.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/vl_nnpool.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnpool.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnpool.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/vl_nnpool
    DEF : /tmp/mex_2807076289344_3658/vl_nnpool.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnpool.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnpool.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnpool.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnpool.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnpool.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnpool
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/
    EXENAME : vl_nnpool
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/vl_nnpool.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnpool.o
MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build /home/s1nh/project/matconvnet/matlab/src/vl_nnnormalize.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/vl_nnnormalize.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnnormalize.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnnormalize.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnnormalize.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/vl_nnnormalize.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnnormalize.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnnormalize.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/vl_nnnormalize
    DEF : /tmp/mex_2807649860746_3658/vl_nnnormalize.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnnormalize.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnnormalize.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnnormalize.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnnormalize.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnnormalize.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnnormalize
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/
    EXENAME : vl_nnnormalize
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/vl_nnnormalize.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnnormalize.o
MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build /home/s1nh/project/matconvnet/matlab/src/vl_nnbnorm.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/vl_nnbnorm.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbnorm.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbnorm.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbnorm.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/vl_nnbnorm.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbnorm.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbnorm.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/vl_nnbnorm
    DEF : /tmp/mex_2808174810360_3658/vl_nnbnorm.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbnorm.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbnorm.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbnorm.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbnorm.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbnorm.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbnorm
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/
    EXENAME : vl_nnbnorm
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/vl_nnbnorm.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbnorm.o
MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build /home/s1nh/project/matconvnet/matlab/src/vl_nnbilinearsampler.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/vl_nnbilinearsampler.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbilinearsampler.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbilinearsampler.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbilinearsampler.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/vl_nnbilinearsampler.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbilinearsampler.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbilinearsampler.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/vl_nnbilinearsampler
    DEF : /tmp/mex_2808775523944_3658/vl_nnbilinearsampler.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbilinearsampler.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbilinearsampler.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbilinearsampler.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbilinearsampler.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbilinearsampler.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbilinearsampler
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/
    EXENAME : vl_nnbilinearsampler
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/vl_nnbilinearsampler.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbilinearsampler.o
MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build /home/s1nh/project/matconvnet/matlab/src/vl_nnroipool.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/vl_nnroipool.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnroipool.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnroipool.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnroipool.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/vl_nnroipool.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnroipool.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnroipool.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/vl_nnroipool
    DEF : /tmp/mex_2809276701632_3658/vl_nnroipool.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnroipool.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnroipool.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnroipool.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnroipool.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnroipool.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnroipool
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/
    EXENAME : vl_nnroipool
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/vl_nnroipool.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnroipool.o
MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build /home/s1nh/project/matconvnet/matlab/src/vl_taccummex.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/vl_taccummex.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_taccummex.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/vl_taccummex.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_taccummex.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/vl_taccummex.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_taccummex.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_taccummex.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/vl_taccummex
    DEF : /tmp/mex_2810172374652_3658/vl_taccummex.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_taccummex.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_taccummex.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_taccummex.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_taccummex.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_taccummex.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_taccummex
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/
    EXENAME : vl_taccummex
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/vl_taccummex.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_taccummex.o
MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build /home/s1nh/project/matconvnet/matlab/src/vl_tmove.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/vl_tmove.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_tmove.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/vl_tmove.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_tmove.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/vl_tmove.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_tmove.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_tmove.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/vl_tmove
    DEF : /tmp/mex_2810821581492_3658/vl_tmove.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_tmove.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_tmove.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_tmove.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_tmove.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_tmove.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_tmove
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/
    EXENAME : vl_tmove
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/vl_tmove.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_tmove.o
In file included from /home/s1nh/project/matconvnet/matlab/src/vl_tmove.cpp:4:0:
/home/s1nh/project/matconvnet/matlab/src/vl_tmove.cu: In member function ‘vl::ErrorCode ProcessPool::Supervisor::loop()’:
/home/s1nh/project/matconvnet/matlab/src/vl_tmove.cu:2167:34: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
/home/s1nh/project/matconvnet/matlab/src/vl_tmove.cu: In member function ‘vl::ErrorCode ProcessPool::Supervisor::beginTransaction(int)’:
/home/s1nh/project/matconvnet/matlab/src/vl_tmove.cu:1341:33: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
/home/s1nh/project/matconvnet/matlab/src/vl_tmove.cu: In member function ‘vl::ErrorCode ProcessPool::Supervisor::shutdown()’:
/home/s1nh/project/matconvnet/matlab/src/vl_tmove.cu:1305:31: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]
/home/s1nh/project/matconvnet/matlab/src/vl_tmove.cu: In member function ‘void ProcessPool::Supervisor::finalize()’:
/home/s1nh/project/matconvnet/matlab/src/vl_tmove.cu:1288:37: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result]

MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build /home/s1nh/project/matconvnet/matlab/src/vl_imreadjpeg.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/vl_imreadjpeg.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_imreadjpeg.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/vl_imreadjpeg.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_imreadjpeg.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/vl_imreadjpeg.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_imreadjpeg.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_imreadjpeg.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/vl_imreadjpeg
    DEF : /tmp/mex_2813711621096_3658/vl_imreadjpeg.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_imreadjpeg.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_imreadjpeg.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_imreadjpeg.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_imreadjpeg.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_imreadjpeg.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_imreadjpeg
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/
    EXENAME : vl_imreadjpeg
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/vl_imreadjpeg.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_imreadjpeg.o
In file included from /usr/include/string.h:635:0,
                 from /home/s1nh/project/matconvnet/matlab/src/bits/mexutils.h:24,
                 from /home/s1nh/project/matconvnet/matlab/src/vl_imreadjpeg.cu:28,
                 from /home/s1nh/project/matconvnet/matlab/src/vl_imreadjpeg.cpp:4:
In function ‘void* memset(void*, int, size_t)’,
    inlined from ‘Batch::Item::Item(const Batch&)’ at /home/s1nh/project/matconvnet/matlab/src/vl_imreadjpeg.cu:267:47:
/usr/include/x86_64-linux-gnu/bits/string3.h:86:32: warning: call to ‘__warn_memset_zero_len’ declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default]

MEX completed successfully.
vl_compilenn: MEX CC: -outdir /home/s1nh/project/matconvnet/matlab/mex/.build /home/s1nh/project/matconvnet/matlab/src/vl_imreadjpeg_old.cpp -c -v -DNDEBUG -DENABLE_DOUBLE -largeArrayDims CXXFLAGS=$CXXFLAGS  CXXOPTIMFLAGS=$CXXOPTIMFLAGS -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops -cxx
Verbose mode is on.
... Looking for compiler 'g++' ...
... Executing command 'which g++' ...Yes ('/usr/bin/g++').
... Executing command 'g++ -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'g++'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/g++
    Options file: /home/s1nh/.matlab/R2016a/mex_C++_glnxa64.xml
    CMDLINE1 : /usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/vl_imreadjpeg_old.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_imreadjpeg_old.o
    CMDLINE2 : /usr/bin/g++ -pthread -Wl,--no-undefined  -shared -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/vl_imreadjpeg_old.o   -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_imreadjpeg_old.mexa64
    CXX : /usr/bin/g++
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CXXFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11 
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    CXXOPTIMFLAGS : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    CXXDEBUGFLAGS : -g
    LDXX : /usr/bin/g++
    LDFLAGS : -pthread -Wl,--no-undefined 
    LDTYPE : -shared
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    GCC : /usr/bin/g++
    CPPLIB_DIR : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : /home/s1nh/project/matconvnet/matlab/src/vl_imreadjpeg_old.cpp
    OBJ : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_imreadjpeg_old.o
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_imreadjpeg_old.o 
    SRCROOT : /home/s1nh/project/matconvnet/matlab/src/vl_imreadjpeg_old
    DEF : /tmp/mex_2816014488750_3658/vl_imreadjpeg_old.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_imreadjpeg_old.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_imreadjpeg_old.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_imreadjpeg_old.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_imreadjpeg_old.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_imreadjpeg_old.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_imreadjpeg_old
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/.build/
    EXENAME : vl_imreadjpeg_old
    OPTIM : -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'g++'.
/usr/bin/g++ -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -std=c++11  -O -DNDEBUG -mssse3 -ftree-vect-loop-version -ffast-math -funroll-all-loops /home/s1nh/project/matconvnet/matlab/src/vl_imreadjpeg_old.cpp -o /home/s1nh/project/matconvnet/matlab/mex/.build/vl_imreadjpeg_old.o
In file included from /usr/include/string.h:635:0,
                 from /home/s1nh/project/matconvnet/matlab/src/bits/mexutils.h:24,
                 from /home/s1nh/project/matconvnet/matlab/src/vl_imreadjpeg.cu:28,
                 from /home/s1nh/project/matconvnet/matlab/src/vl_imreadjpeg_old.cpp:4:
In function ‘void* memset(void*, int, size_t)’,
    inlined from ‘Batch::Item::Item(const Batch&)’ at /home/s1nh/project/matconvnet/matlab/src/vl_imreadjpeg.cu:267:47:
/usr/include/x86_64-linux-gnu/bits/string3.h:86:32: warning: call to ‘__warn_memset_zero_len’ declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default]

MEX completed successfully.
vl_compilenn: MEX LINK: -outdir /home/s1nh/project/matconvnet/matlab/mex -v -DNDEBUG -DENABLE_DOUBLE -lmwblas -largeArrayDims LDFLAGS=$LDFLAGS  LINKLIBS=-lrt -ljpeg $LINKLIBS /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o
Verbose mode is on.
... Looking for compiler 'gcc' ...
... Executing command 'which gcc' ...Yes ('/usr/bin/gcc').
... Executing command 'gcc -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'gcc'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/gcc
    Options file: /home/s1nh/.matlab/R2016a/mex_C_glnxa64.xml
    CMDLINE1 : /usr/bin/gcc -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -O -DNDEBUG  -o 
    CMDLINE2 : /usr/bin/gcc -pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64  -shared  -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o  -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/vl_nnconv.mexa64
    CC : /usr/bin/gcc
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    COPTIMFLAGS : -O -DNDEBUG
    CDEBUGFLAGS : -g
    LD : /usr/bin/gcc
    LDFLAGS : -pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 
    LDTYPE : -shared 
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    SETENV : CC="/usr/bin/gcc"
CXX="g++"
CFLAGS="-ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE "
CXXFLAGS="-ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE "
COPTIMFLAGS="-O -DNDEBUG"
CXXOPTIMFLAGS="-O -DNDEBUG"
CDEBUGFLAGS="-g"
CXXDEBUGFLAGS="-g"
LD="/usr/bin/gcc"
LDXX="g++"
LDFLAGS="-pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64  -shared  -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map""
LDDEBUGFLAGS="-g"
    GCC : /usr/bin/gcc
    CPPLIBS : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : 
    OBJ : 
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o
    SRCROOT : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconv
    DEF : /tmp/mex_2818351635844_3658/vl_nnconv.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/vl_nnconv.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/vl_nnconv.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/vl_nnconv.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/vl_nnconv.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/vl_nnconv.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/vl_nnconv
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/
    EXENAME : vl_nnconv
    OPTIM : -O -DNDEBUG
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'gcc'.
/usr/bin/gcc -pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64  -shared  -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o  -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/vl_nnconv.mexa64
MEX completed successfully.
vl_compilenn: MEX LINK: -outdir /home/s1nh/project/matconvnet/matlab/mex -v -DNDEBUG -DENABLE_DOUBLE -lmwblas -largeArrayDims LDFLAGS=$LDFLAGS  LINKLIBS=-lrt -ljpeg $LINKLIBS /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconvt.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o
Verbose mode is on.
... Looking for compiler 'gcc' ...
... Executing command 'which gcc' ...Yes ('/usr/bin/gcc').
... Executing command 'gcc -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'gcc'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/gcc
    Options file: /home/s1nh/.matlab/R2016a/mex_C_glnxa64.xml
    CMDLINE1 : /usr/bin/gcc -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -O -DNDEBUG  -o 
    CMDLINE2 : /usr/bin/gcc -pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64  -shared  -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconvt.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o  -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/vl_nnconvt.mexa64
    CC : /usr/bin/gcc
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    COPTIMFLAGS : -O -DNDEBUG
    CDEBUGFLAGS : -g
    LD : /usr/bin/gcc
    LDFLAGS : -pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 
    LDTYPE : -shared 
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    SETENV : CC="/usr/bin/gcc"
CXX="g++"
CFLAGS="-ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE "
CXXFLAGS="-ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE "
COPTIMFLAGS="-O -DNDEBUG"
CXXOPTIMFLAGS="-O -DNDEBUG"
CDEBUGFLAGS="-g"
CXXDEBUGFLAGS="-g"
LD="/usr/bin/gcc"
LDXX="g++"
LDFLAGS="-pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64  -shared  -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map""
LDDEBUGFLAGS="-g"
    GCC : /usr/bin/gcc
    CPPLIBS : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : 
    OBJ : 
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconvt.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o
    SRCROOT : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconvt
    DEF : /tmp/mex_2818606906540_3658/vl_nnconvt.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/vl_nnconvt.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/vl_nnconvt.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/vl_nnconvt.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/vl_nnconvt.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/vl_nnconvt.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/vl_nnconvt
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/
    EXENAME : vl_nnconvt
    OPTIM : -O -DNDEBUG
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'gcc'.
/usr/bin/gcc -pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64  -shared  -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnconvt.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o  -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/vl_nnconvt.mexa64
MEX completed successfully.
vl_compilenn: MEX LINK: -outdir /home/s1nh/project/matconvnet/matlab/mex -v -DNDEBUG -DENABLE_DOUBLE -lmwblas -largeArrayDims LDFLAGS=$LDFLAGS  LINKLIBS=-lrt -ljpeg $LINKLIBS /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnpool.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o
Verbose mode is on.
... Looking for compiler 'gcc' ...
... Executing command 'which gcc' ...Yes ('/usr/bin/gcc').
... Executing command 'gcc -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'gcc'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/gcc
    Options file: /home/s1nh/.matlab/R2016a/mex_C_glnxa64.xml
    CMDLINE1 : /usr/bin/gcc -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -O -DNDEBUG  -o 
    CMDLINE2 : /usr/bin/gcc -pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64  -shared  -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnpool.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o  -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/vl_nnpool.mexa64
    CC : /usr/bin/gcc
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    COPTIMFLAGS : -O -DNDEBUG
    CDEBUGFLAGS : -g
    LD : /usr/bin/gcc
    LDFLAGS : -pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 
    LDTYPE : -shared 
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    SETENV : CC="/usr/bin/gcc"
CXX="g++"
CFLAGS="-ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE "
CXXFLAGS="-ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE "
COPTIMFLAGS="-O -DNDEBUG"
CXXOPTIMFLAGS="-O -DNDEBUG"
CDEBUGFLAGS="-g"
CXXDEBUGFLAGS="-g"
LD="/usr/bin/gcc"
LDXX="g++"
LDFLAGS="-pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64  -shared  -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map""
LDDEBUGFLAGS="-g"
    GCC : /usr/bin/gcc
    CPPLIBS : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : 
    OBJ : 
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnpool.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o
    SRCROOT : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnpool
    DEF : /tmp/mex_2818849787376_3658/vl_nnpool.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/vl_nnpool.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/vl_nnpool.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/vl_nnpool.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/vl_nnpool.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/vl_nnpool.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/vl_nnpool
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/
    EXENAME : vl_nnpool
    OPTIM : -O -DNDEBUG
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'gcc'.
/usr/bin/gcc -pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64  -shared  -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnpool.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o  -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/vl_nnpool.mexa64
MEX completed successfully.
vl_compilenn: MEX LINK: -outdir /home/s1nh/project/matconvnet/matlab/mex -v -DNDEBUG -DENABLE_DOUBLE -lmwblas -largeArrayDims LDFLAGS=$LDFLAGS  LINKLIBS=-lrt -ljpeg $LINKLIBS /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o
Verbose mode is on.
... Looking for compiler 'gcc' ...
... Executing command 'which gcc' ...Yes ('/usr/bin/gcc').
... Executing command 'gcc -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'gcc'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/gcc
    Options file: /home/s1nh/.matlab/R2016a/mex_C_glnxa64.xml
    CMDLINE1 : /usr/bin/gcc -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -O -DNDEBUG  -o 
    CMDLINE2 : /usr/bin/gcc -pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64  -shared  -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o  -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/vl_nnnormalize.mexa64
    CC : /usr/bin/gcc
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    COPTIMFLAGS : -O -DNDEBUG
    CDEBUGFLAGS : -g
    LD : /usr/bin/gcc
    LDFLAGS : -pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 
    LDTYPE : -shared 
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    SETENV : CC="/usr/bin/gcc"
CXX="g++"
CFLAGS="-ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE "
CXXFLAGS="-ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE "
COPTIMFLAGS="-O -DNDEBUG"
CXXOPTIMFLAGS="-O -DNDEBUG"
CDEBUGFLAGS="-g"
CXXDEBUGFLAGS="-g"
LD="/usr/bin/gcc"
LDXX="g++"
LDFLAGS="-pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64  -shared  -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map""
LDDEBUGFLAGS="-g"
    GCC : /usr/bin/gcc
    CPPLIBS : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : 
    OBJ : 
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o
    SRCROOT : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnnormalize
    DEF : /tmp/mex_2819099160776_3658/vl_nnnormalize.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/vl_nnnormalize.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/vl_nnnormalize.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/vl_nnnormalize.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/vl_nnnormalize.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/vl_nnnormalize.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/vl_nnnormalize
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/
    EXENAME : vl_nnnormalize
    OPTIM : -O -DNDEBUG
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'gcc'.
/usr/bin/gcc -pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64  -shared  -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o  -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/vl_nnnormalize.mexa64
MEX completed successfully.
vl_compilenn: MEX LINK: -outdir /home/s1nh/project/matconvnet/matlab/mex -v -DNDEBUG -DENABLE_DOUBLE -lmwblas -largeArrayDims LDFLAGS=$LDFLAGS  LINKLIBS=-lrt -ljpeg $LINKLIBS /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o
Verbose mode is on.
... Looking for compiler 'gcc' ...
... Executing command 'which gcc' ...Yes ('/usr/bin/gcc').
... Executing command 'gcc -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'gcc'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/gcc
    Options file: /home/s1nh/.matlab/R2016a/mex_C_glnxa64.xml
    CMDLINE1 : /usr/bin/gcc -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -O -DNDEBUG  -o 
    CMDLINE2 : /usr/bin/gcc -pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64  -shared  -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o  -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/vl_nnbnorm.mexa64
    CC : /usr/bin/gcc
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    COPTIMFLAGS : -O -DNDEBUG
    CDEBUGFLAGS : -g
    LD : /usr/bin/gcc
    LDFLAGS : -pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 
    LDTYPE : -shared 
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    SETENV : CC="/usr/bin/gcc"
CXX="g++"
CFLAGS="-ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE "
CXXFLAGS="-ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE "
COPTIMFLAGS="-O -DNDEBUG"
CXXOPTIMFLAGS="-O -DNDEBUG"
CDEBUGFLAGS="-g"
CXXDEBUGFLAGS="-g"
LD="/usr/bin/gcc"
LDXX="g++"
LDFLAGS="-pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64  -shared  -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map""
LDDEBUGFLAGS="-g"
    GCC : /usr/bin/gcc
    CPPLIBS : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : 
    OBJ : 
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o
    SRCROOT : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbnorm
    DEF : /tmp/mex_2819347347406_3658/vl_nnbnorm.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/vl_nnbnorm.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/vl_nnbnorm.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/vl_nnbnorm.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/vl_nnbnorm.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/vl_nnbnorm.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/vl_nnbnorm
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/
    EXENAME : vl_nnbnorm
    OPTIM : -O -DNDEBUG
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'gcc'.
/usr/bin/gcc -pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64  -shared  -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o  -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/vl_nnbnorm.mexa64
MEX completed successfully.
vl_compilenn: MEX LINK: -outdir /home/s1nh/project/matconvnet/matlab/mex -v -DNDEBUG -DENABLE_DOUBLE -lmwblas -largeArrayDims LDFLAGS=$LDFLAGS  LINKLIBS=-lrt -ljpeg $LINKLIBS /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o
Verbose mode is on.
... Looking for compiler 'gcc' ...
... Executing command 'which gcc' ...Yes ('/usr/bin/gcc').
... Executing command 'gcc -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'gcc'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/gcc
    Options file: /home/s1nh/.matlab/R2016a/mex_C_glnxa64.xml
    CMDLINE1 : /usr/bin/gcc -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -O -DNDEBUG  -o 
    CMDLINE2 : /usr/bin/gcc -pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64  -shared  -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o  -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/vl_nnbilinearsampler.mexa64
    CC : /usr/bin/gcc
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    COPTIMFLAGS : -O -DNDEBUG
    CDEBUGFLAGS : -g
    LD : /usr/bin/gcc
    LDFLAGS : -pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 
    LDTYPE : -shared 
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    SETENV : CC="/usr/bin/gcc"
CXX="g++"
CFLAGS="-ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE "
CXXFLAGS="-ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE "
COPTIMFLAGS="-O -DNDEBUG"
CXXOPTIMFLAGS="-O -DNDEBUG"
CDEBUGFLAGS="-g"
CXXDEBUGFLAGS="-g"
LD="/usr/bin/gcc"
LDXX="g++"
LDFLAGS="-pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64  -shared  -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map""
LDDEBUGFLAGS="-g"
    GCC : /usr/bin/gcc
    CPPLIBS : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : 
    OBJ : 
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o
    SRCROOT : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbilinearsampler
    DEF : /tmp/mex_2819599556704_3658/vl_nnbilinearsampler.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/vl_nnbilinearsampler.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/vl_nnbilinearsampler.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/vl_nnbilinearsampler.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/vl_nnbilinearsampler.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/vl_nnbilinearsampler.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/vl_nnbilinearsampler
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/
    EXENAME : vl_nnbilinearsampler
    OPTIM : -O -DNDEBUG
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'gcc'.
/usr/bin/gcc -pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64  -shared  -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o  -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/vl_nnbilinearsampler.mexa64
MEX completed successfully.
vl_compilenn: MEX LINK: -outdir /home/s1nh/project/matconvnet/matlab/mex -v -DNDEBUG -DENABLE_DOUBLE -lmwblas -largeArrayDims LDFLAGS=$LDFLAGS  LINKLIBS=-lrt -ljpeg $LINKLIBS /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnroipool.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o
Verbose mode is on.
... Looking for compiler 'gcc' ...
... Executing command 'which gcc' ...Yes ('/usr/bin/gcc').
... Executing command 'gcc -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'gcc'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/gcc
    Options file: /home/s1nh/.matlab/R2016a/mex_C_glnxa64.xml
    CMDLINE1 : /usr/bin/gcc -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -O -DNDEBUG  -o 
    CMDLINE2 : /usr/bin/gcc -pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64  -shared  -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnroipool.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o  -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/vl_nnroipool.mexa64
    CC : /usr/bin/gcc
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    COPTIMFLAGS : -O -DNDEBUG
    CDEBUGFLAGS : -g
    LD : /usr/bin/gcc
    LDFLAGS : -pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 
    LDTYPE : -shared 
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    SETENV : CC="/usr/bin/gcc"
CXX="g++"
CFLAGS="-ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE "
CXXFLAGS="-ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE "
COPTIMFLAGS="-O -DNDEBUG"
CXXOPTIMFLAGS="-O -DNDEBUG"
CDEBUGFLAGS="-g"
CXXDEBUGFLAGS="-g"
LD="/usr/bin/gcc"
LDXX="g++"
LDFLAGS="-pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64  -shared  -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map""
LDDEBUGFLAGS="-g"
    GCC : /usr/bin/gcc
    CPPLIBS : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : 
    OBJ : 
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnroipool.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o
    SRCROOT : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnroipool
    DEF : /tmp/mex_2819848201428_3658/vl_nnroipool.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/vl_nnroipool.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/vl_nnroipool.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/vl_nnroipool.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/vl_nnroipool.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/vl_nnroipool.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/vl_nnroipool
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/
    EXENAME : vl_nnroipool
    OPTIM : -O -DNDEBUG
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'gcc'.
/usr/bin/gcc -pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64  -shared  -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/vl_nnroipool.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o  -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/vl_nnroipool.mexa64
MEX completed successfully.
vl_compilenn: MEX LINK: -outdir /home/s1nh/project/matconvnet/matlab/mex -v -DNDEBUG -DENABLE_DOUBLE -lmwblas -largeArrayDims LDFLAGS=$LDFLAGS  LINKLIBS=-lrt -ljpeg $LINKLIBS /home/s1nh/project/matconvnet/matlab/mex/.build/vl_taccummex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o
Verbose mode is on.
... Looking for compiler 'gcc' ...
... Executing command 'which gcc' ...Yes ('/usr/bin/gcc').
... Executing command 'gcc -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'gcc'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/gcc
    Options file: /home/s1nh/.matlab/R2016a/mex_C_glnxa64.xml
    CMDLINE1 : /usr/bin/gcc -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -O -DNDEBUG  -o 
    CMDLINE2 : /usr/bin/gcc -pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64  -shared  -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/vl_taccummex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o  -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/vl_taccummex.mexa64
    CC : /usr/bin/gcc
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    COPTIMFLAGS : -O -DNDEBUG
    CDEBUGFLAGS : -g
    LD : /usr/bin/gcc
    LDFLAGS : -pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 
    LDTYPE : -shared 
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    SETENV : CC="/usr/bin/gcc"
CXX="g++"
CFLAGS="-ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE "
CXXFLAGS="-ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE "
COPTIMFLAGS="-O -DNDEBUG"
CXXOPTIMFLAGS="-O -DNDEBUG"
CDEBUGFLAGS="-g"
CXXDEBUGFLAGS="-g"
LD="/usr/bin/gcc"
LDXX="g++"
LDFLAGS="-pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64  -shared  -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map""
LDDEBUGFLAGS="-g"
    GCC : /usr/bin/gcc
    CPPLIBS : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : 
    OBJ : 
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_taccummex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o
    SRCROOT : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_taccummex
    DEF : /tmp/mex_2820091876584_3658/vl_taccummex.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/vl_taccummex.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/vl_taccummex.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/vl_taccummex.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/vl_taccummex.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/vl_taccummex.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/vl_taccummex
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/
    EXENAME : vl_taccummex
    OPTIM : -O -DNDEBUG
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'gcc'.
/usr/bin/gcc -pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64  -shared  -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/vl_taccummex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o  -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/vl_taccummex.mexa64
MEX completed successfully.
vl_compilenn: MEX LINK: -outdir /home/s1nh/project/matconvnet/matlab/mex -v -DNDEBUG -DENABLE_DOUBLE -lmwblas -largeArrayDims LDFLAGS=$LDFLAGS  LINKLIBS=-lrt -ljpeg $LINKLIBS /home/s1nh/project/matconvnet/matlab/mex/.build/vl_tmove.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o
Verbose mode is on.
... Looking for compiler 'gcc' ...
... Executing command 'which gcc' ...Yes ('/usr/bin/gcc').
... Executing command 'gcc -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'gcc'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/gcc
    Options file: /home/s1nh/.matlab/R2016a/mex_C_glnxa64.xml
    CMDLINE1 : /usr/bin/gcc -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -O -DNDEBUG  -o 
    CMDLINE2 : /usr/bin/gcc -pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64  -shared  -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/vl_tmove.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o  -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/vl_tmove.mexa64
    CC : /usr/bin/gcc
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    COPTIMFLAGS : -O -DNDEBUG
    CDEBUGFLAGS : -g
    LD : /usr/bin/gcc
    LDFLAGS : -pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 
    LDTYPE : -shared 
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    SETENV : CC="/usr/bin/gcc"
CXX="g++"
CFLAGS="-ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE "
CXXFLAGS="-ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE "
COPTIMFLAGS="-O -DNDEBUG"
CXXOPTIMFLAGS="-O -DNDEBUG"
CDEBUGFLAGS="-g"
CXXDEBUGFLAGS="-g"
LD="/usr/bin/gcc"
LDXX="g++"
LDFLAGS="-pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64  -shared  -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map""
LDDEBUGFLAGS="-g"
    GCC : /usr/bin/gcc
    CPPLIBS : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : 
    OBJ : 
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_tmove.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o
    SRCROOT : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_tmove
    DEF : /tmp/mex_2820336871936_3658/vl_tmove.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/vl_tmove.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/vl_tmove.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/vl_tmove.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/vl_tmove.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/vl_tmove.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/vl_tmove
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/
    EXENAME : vl_tmove
    OPTIM : -O -DNDEBUG
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'gcc'.
/usr/bin/gcc -pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64  -shared  -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/vl_tmove.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o  -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/vl_tmove.mexa64
MEX completed successfully.
vl_compilenn: MEX LINK: -outdir /home/s1nh/project/matconvnet/matlab/mex -v -DNDEBUG -DENABLE_DOUBLE -lmwblas -largeArrayDims LDFLAGS=$LDFLAGS  LINKLIBS=-lrt -ljpeg $LINKLIBS /home/s1nh/project/matconvnet/matlab/mex/.build/vl_imreadjpeg.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o
Verbose mode is on.
... Looking for compiler 'gcc' ...
... Executing command 'which gcc' ...Yes ('/usr/bin/gcc').
... Executing command 'gcc -print-file-name=libstdc++.so' ...Yes ('/usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so').
Found installed compiler 'gcc'.
Options file details
-------------------------------------------------------------------
    Compiler location: /usr/bin/gcc
    Options file: /home/s1nh/.matlab/R2016a/mex_C_glnxa64.xml
    CMDLINE1 : /usr/bin/gcc -c -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE  -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include" -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -O -DNDEBUG  -o 
    CMDLINE2 : /usr/bin/gcc -pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64  -shared  -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/vl_imreadjpeg.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o  -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/vl_imreadjpeg.mexa64
    CC : /usr/bin/gcc
    DEFINES : -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE 
    MATLABMEX : -DMATLAB_MEX_FILE 
    CFLAGS : -ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread
    INCLUDE : -I"/usr/local/MATLAB/R2016a/extern/include" -I"/usr/local/MATLAB/R2016a/simulink/include"
    COPTIMFLAGS : -O -DNDEBUG
    CDEBUGFLAGS : -g
    LD : /usr/bin/gcc
    LDFLAGS : -pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64 
    LDTYPE : -shared 
    LINKEXPORT : -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map"
    LINKLIBS : -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++
    LDOPTIMFLAGS : -O
    LDDEBUGFLAGS : -g
    OBJEXT : .o
    LDEXT : .mexa64
    SETENV : CC="/usr/bin/gcc"
CXX="g++"
CFLAGS="-ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE "
CXXFLAGS="-ansi -fexceptions -fPIC -fno-omit-frame-pointer -pthread -DNDEBUG  -DENABLE_DOUBLE   -D_GNU_SOURCE -DMATLAB_MEX_FILE "
COPTIMFLAGS="-O -DNDEBUG"
CXXOPTIMFLAGS="-O -DNDEBUG"
CDEBUGFLAGS="-g"
CXXDEBUGFLAGS="-g"
LD="/usr/bin/gcc"
LDXX="g++"
LDFLAGS="-pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64  -shared  -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map""
LDDEBUGFLAGS="-g"
    GCC : /usr/bin/gcc
    CPPLIBS : /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so
    MATLABROOT : /usr/local/MATLAB/R2016a
    ARCH : glnxa64
    SRC : 
    OBJ : 
    OBJS : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_imreadjpeg.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o
    SRCROOT : /home/s1nh/project/matconvnet/matlab/mex/.build/vl_imreadjpeg
    DEF : /tmp/mex_2820582738284_3658/vl_imreadjpeg.def
    EXP : /home/s1nh/project/matconvnet/matlab/mex/vl_imreadjpeg.exp
    LIB : /home/s1nh/project/matconvnet/matlab/mex/vl_imreadjpeg.lib
    EXE : /home/s1nh/project/matconvnet/matlab/mex/vl_imreadjpeg.mexa64
    ILK : /home/s1nh/project/matconvnet/matlab/mex/vl_imreadjpeg.ilk
    MANIFEST : /home/s1nh/project/matconvnet/matlab/mex/vl_imreadjpeg.mexa64.manifest
    TEMPNAME : /home/s1nh/project/matconvnet/matlab/mex/vl_imreadjpeg
    EXEDIR : /home/s1nh/project/matconvnet/matlab/mex/
    EXENAME : vl_imreadjpeg
    OPTIM : -O -DNDEBUG
    LINKOPTIM : -O
-------------------------------------------------------------------
Building with 'gcc'.
/usr/bin/gcc -pthread -Wl,--no-undefined -Wl,-rpath-link,/usr/local/MATLAB/R2016a/bin/glnxa64  -shared  -O -Wl,--version-script,"/usr/local/MATLAB/R2016a/extern/lib/glnxa64/mexFunction.map" /home/s1nh/project/matconvnet/matlab/mex/.build/vl_imreadjpeg.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/data.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/datamex.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnconv.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnfullyconnected.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnsubsample.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnpooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnnormalize.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbnorm.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbias.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnbilinearsampler.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/nnroipooling.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/im2row_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/subsample_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/copy_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/pooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/normalize_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bnorm_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/tinythread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/bilinearsampler_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/roipooling_cpu.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/imread.o /home/s1nh/project/matconvnet/matlab/mex/.build/bits/impl/imread_libjpeg.o  -lrt -ljpeg -lmwblas   -L"/usr/local/MATLAB/R2016a/bin/glnxa64" -lmx -lmex -lmat -lm -lstdc++ -o /home/s1nh/project/matconvnet/matlab/mex/vl_imreadjpeg.mexa64
Error using mex
/home/s1nh/project/matconvnet/matlab/mex/.build/vl_imreadjpeg.o: In function `Batch::Item::Item(Batch const&)':
vl_imreadjpeg.cpp:(.text+0xbe3): undefined reference to `__warn_memset_zero_len'
collect2: error: ld returned 1 exit status

Error in vl_compilenn>mex_link (line 547)
mex(mopts{:}) ;

Error in vl_compilenn (line 498)
  mex_link(opts, objs, mex_dir, flags.mexlink) ;
ChenLongquan commented 8 years ago

I have the same error,when I use gcc5.4 to compile,it goes well(except the matlab warnings),when i use 4.7,it still wrong.And run vl_testnn also has errors.

lenck commented 8 years ago

It looks more like an issue of the gcc-4.7 package environment variables settings than MatConvNet... Do you have some particular reason why not to use the gcc 5.4?

ChenLongquan commented 8 years ago

Even if i compile it successfully be using gcc-5.4,some errors still occured when i run vl_testnn

`Error occurred in nnconvt[dataType=single,device=cpu]/upsample_crop(upx=value2,upy=value1,padx1=value2,pady1=value1,padx2=value1,pady2=value1) and it did not run to completion.

--------------
Error Details:
--------------
Invalid MEX-file '/home/spring/Downloads/matconvnet-master/matlab/mex/vl_nnconvt.mexa64': /home/spring/MATLAB/R2015b/bin/glnxa64/../../sys/os/glnxa64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /home/spring/Downloads/matconvnet-master/matlab/mex/vl_nnconvt.mexa64)

Error in nnconvt/upsample_crop (line 40)
      y = vl_nnconvt(x,f,b,opts{:}) ;

================================================================================ Tearing down nnconvt[dataType=single,device=cpu] Done tearing down nnconvt[dataType=single,device=cpu] in 0 seconds ` so,I think maybe ubuntu-16 cause this problem. I test it in ubuntu-14,everything goes well,so I decide to use ubuntu-14. Thank you very much

kalfasyan commented 7 years ago

I also had the same problem, but then I compiled with vl_compilenn('enableGpu', true) and it worked fine.

alonsoJASL commented 7 years ago

Hello, I'm sorry to bring this one up again. But maybe my input would be good for some people having this issue on Ubuntu (16.10)

Originally I was running gcc6X (newest one, I think it was 6.9). I was getting a lot of mistakes trying to compile it, not only the Matlab warnings. From within Matlab it would not finish the compilation and compiling through the terminal would finish, but with a lot of weird messages; the vl_testnn script would fail and the normal functions (vl_simplenn) would not work at all. I downloaded gcc4.9 and tricked my computer into going to gcc4.9 by default. I went back to Matlab, and compilation in there seemed to be going well, but after some time I found the same mistake people are referring to here.

Preparing for writing this post, trying to reproduce the error with as much control as possible, I did a fresh clone of my forked version of MatConvNet and compiled it from the terminal, I sent the output to a file called output-matconvnet.txt, which I'm attaching:

make ARCH=glnxa64 MATLABROOT=/usr/local/MATLAB/R2017a/ VERB=yes DEBUG=yes >> ~/Desktop/output-matconvnet.txt 

The file seems to be without compilation errors, and when running the vl_testnn script in Matlab, everything passed. Both quick start examples have worked fine.

Hopefully this helps, I'm not sure why it worked, I'm assuming the internal links or variables used within Matlab were not appropriate to the change of gcc compiler; but I don't know exactly what happened. Maybe this would give the authors an idea of what happened fo people sitcking to older versions of gcc.

idofr commented 7 years ago

I can confirm that the problem does not seem to appear when compiling directly from the make file. thanks @alonsoJASL :)

ghost commented 7 years ago

I had the same issue, compiling from command line helped. Conclusion 'command line is more powerfull indeed.'

JD-ETH commented 6 years ago

I am still getting building error sadly with command line build directly.

Ubuntu14.04 Matlab 2017b with gcc-4.9 Last error outputs

matlab/mex/.build/vl_imreadjpeg.o: In function Batch::Item::Item(Batch const&)': vl_imreadjpeg.cpp:(.text+0x6ef): undefined reference to__warn_memset_zero_len' collect2: error: ld returned 1 exit status

Makefile:292: recipe for target 'matlab/mex/vl_imreadjpeg.mexa64' failed make: *** [matlab/mex/vl_imreadjpeg.mexa64] Error 255

varunagrawal commented 6 years ago

It seems this error is caused by this line in vl_imreadjpeg.cu.

I'm actually quite confused as to why the size parameter is being set to 0 in memset. It seems that gcc is unhappy with this for newer linux kernels. See this answer on Stackoverflow for more info.

When I swap the 2nd and 3rd arguments to memset (which seems like it should be the right thing to do), compilation proceeds without any issues, though I did have to delete older compiled object files since Make would not override them. All tests in vl_testnn pass as well (except for nnmnist failing sometime, but that doesn't seem to be an issue with vl_imread.

I also tested vl_imreadjpeg after this fix and it seems to work fine. @lenck can you please confirm if this is the issue?

shi-yan commented 5 years ago

I hit this too and the above fixed it. Thanks!

This issue is easy enough to fix quickly, why is it still there!

sen-mao commented 5 years ago

I had ImreadJpeg error problem, and set opts.enableImreadJpeg = false; compile complete. Thanks!!!