尝试使用gcc 4.2.8编译Octave 4.0.3时出现以下错误
make[2]: Entering directory `/local/home/qa/joseph/app_porting/octave-porting/try_gcc_5.4.0/build_octave/src'
GEN mkoctfile.cc
CXX mkoctfile.o
CXXLD mkoctfile
CC octave-display-available.o
GEN main.cc
CXX octave-main.o
CXXLD octave
CXX main-cli.o
CXXLD octave-cli
../libinterp/.libs/liboctinterp.so: error: undefined reference to 'gzungetc'
../libinterp/.libs/liboctinterp.so: error: undefined reference to 'gzwrite'
../libinterp/.libs/liboctinterp.so: error: undefined reference to 'gzread'
../libinterp/.libs/liboctinterp.so: error: undefined reference to 'gzgetc'
../libinterp/.libs/liboctinterp.so: error: undefined reference to 'gzflush'
../libinterp/.libs/liboctinterp.so: error: undefined reference to 'gzputc'
../libinterp/.libs/liboctinterp.so: error: undefined reference to 'gzclose'
../libinterp/.libs/liboctinterp.so: error: undefined reference to 'gztell'
../libinterp/.libs/liboctinterp.so: error: undefined reference to 'gzseek'
../libinterp/.libs/liboctinterp.so: error: undefined reference to 'gzdopen'
../libinterp/.libs/liboctinterp.so: error: undefined reference to 'compress'
../libinterp/.libs/liboctinterp.so: error: undefined reference to 'uncompress'
../libinterp/.libs/liboctinterp.so: error: undefined reference to 'gzsetparams'
../libinterp/.libs/liboctinterp.so: error: undefined reference to 'gzopen'
collect2: error: ld returned 1 exit status
make[2]: *** [octave-cli] Error 1
make[2]: Leaving directory `/local/home/qa/joseph/app_porting/octave-porting/try_gcc_5.4.0/build_octave/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/local/home/qa/joseph/app_porting/octave-porting/try_gcc_5.4.0/build_octave'
make: *** [all] Error 2
我在这里错过任何依赖吗?我已经尝试安装以下依赖项libpng-dev,zlib1g-dev但错误仍然存在。