After building octave-4.0.0-rc4 succesfully (with options: ./configure, make CFLAGS=-O3 CXXFLAGS=-O3 LDFLAGS=, make install), it fails in the compilation of the image package: image-2.4.0 with gnu g++ 5.1.
pkg: error running `make' for the image
package.
error: called from 'configure_make' in
file
octave-4.0.0-rc4/scripts/pkg/private/configure_make.m
near line 96, column 9