3.0.2 build failure on RHELv5.1

Jeff Blaine jblaine at mitre.org
Thu Sep 18 16:27:35 CDT 2008


Any help would be great.  Our users are antsy :)

==============================================================

Red Hat Enterprise Linux Server release 5.1 (Tikanga)

Linux beijing 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64 
x86_64 x86_64 GNU/Linux

gcc (GCC) 4.1.2 20070626 (Red Hat 4.1.2-14)

==============================================================

% ./configure --prefix=/afs/rcf/apps/octave/amd64_linux26/3.01
...
% make
...
g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc 
-DHAVE_CONFIG_H  -Wall -W -Wshadow -Wold-style-cast -g -O2 Cell.cc -o 
pic/Cell.o
g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc 
-DHAVE_CONFIG_H  -Wall -W -Wshadow -Wold-style-cast -g -O2 bitfcns.cc -o 
pic/bitfcns.o
../liboctave/oct-inttypes.h: In member function âoctave_int<T>& 
octave_int<T>::operator>>=(const T2&) [with T2 = int, T = unsigned char]â:
../liboctave/oct-inttypes.h:541:   instantiated from âoctave_int<T> 
operator>>(const octave_int<T>&, const T2&) [with T1 = unsigned char, T2 
= int]â
../liboctave/oct-inttypes.h:552:   instantiated from âoctave_int<T> 
bitshift(const octave_int<T>&, int, const octave_int<T>&) [with T = 
unsigned char]â
bitfcns.cc:461:   instantiated from here
../liboctave/oct-inttypes.h:319: warning: comparison is always false due 
to limited range of data type
../liboctave/oct-inttypes.h: In member function âoctave_int<T>& 
octave_int<T>::operator>>=(const T2&) [with T2 = int, T = short unsigned 
int]â:
../liboctave/oct-inttypes.h:541:   instantiated from âoctave_int<T> 
operator>>(const octave_int<T>&, const T2&) [with T1 = short unsigned 
int, T2 = int]â
../liboctave/oct-inttypes.h:552:   instantiated from âoctave_int<T> 
bitshift(const octave_int<T>&, int, const octave_int<T>&) [with T = 
short unsigned int]â
bitfcns.cc:463:   instantiated from here
../liboctave/oct-inttypes.h:319: warning: comparison is always false due 
to limited range of data type
../liboctave/oct-inttypes.h: In member function âoctave_int<T>& 
octave_int<T>::operator>>=(const T2&) [with T2 = int, T = unsigned int]â:
../liboctave/oct-inttypes.h:541:   instantiated from âoctave_int<T> 
operator>>(const octave_int<T>&, const T2&) [with T1 = unsigned int, T2 
= int]â
../liboctave/oct-inttypes.h:552:   instantiated from âoctave_int<T> 
bitshift(const octave_int<T>&, int, const octave_int<T>&) [with T = 
unsigned int]â
bitfcns.cc:465:   instantiated from here
../liboctave/oct-inttypes.h:319: warning: comparison of unsigned 
expression < 0 is always false
../liboctave/oct-inttypes.h: In member function âoctave_int<T>& 
octave_int<T>::operator>>=(const T2&) [with T2 = int, T = long unsigned 
int]â:
../liboctave/oct-inttypes.h:541:   instantiated from âoctave_int<T> 
operator>>(const octave_int<T>&, const T2&) [with T1 = long unsigned 
int, T2 = int]â
../liboctave/oct-inttypes.h:552:   instantiated from âoctave_int<T> 
bitshift(const octave_int<T>&, int, const octave_int<T>&) [with T = long 
unsigned int]â
bitfcns.cc:467:   instantiated from here
../liboctave/oct-inttypes.h:319: warning: comparison of unsigned 
expression < 0 is always false
g++ -c  -fPIC -I. -I.. -I../liboctave -I../src -I../libcruft/misc 
-DHAVE_CONFIG_H  -Wall -W -Wshadow -Wold-style-cast -g -O2 
c-file-ptr-stream.cc -o pic/c-file-ptr-stream.o
c-file-ptr-stream.h: In member function âvoid c_zfile_ptr_buf::clear()â:
c-file-ptr-stream.h:189: error: âgzclearerrâ was not declared in this scope
c-file-ptr-stream.cc: At global scope:
c-file-ptr-stream.cc:130: warning: unused parameter âoffsetâ
c-file-ptr-stream.cc:130: warning: unused parameter âdirâ
c-file-ptr-stream.cc:147: warning: unused parameter âoffsetâ
c-file-ptr-stream.cc: In member function âint 
c_zfile_ptr_buf::underflow_common(bool)â:
c-file-ptr-stream.cc:231: error: âgzungetcâ was not declared in this scope
c-file-ptr-stream.cc: In member function âvirtual int 
c_zfile_ptr_buf::pbackfail(int)â:
c-file-ptr-stream.cc:247: error: âgzungetcâ was not declared in this scope
c-file-ptr-stream.cc: In member function âvirtual std::streamsize 
c_zfile_ptr_buf::xsputn(const char*, std::streamsize)â:
c-file-ptr-stream.cc:258: error: invalid conversion from âconst void*â 
to âvoid*â
c-file-ptr-stream.cc:258: error:   initializing argument 2 of âint 
gzwrite(void*, void*, unsigned int)â
c-file-ptr-stream.cc: At global scope:
c-file-ptr-stream.cc:274: warning: unused parameter âoffsetâ
c-file-ptr-stream.cc:274: warning: unused parameter âdirâ
c-file-ptr-stream.cc:291: warning: unused parameter âoffsetâ
make[2]: *** [pic/c-file-ptr-stream.o] Error 1
make[2]: Leaving directory `/beijing/tmp/jblaine/octave-3.0.2/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory `/beijing/tmp/jblaine/octave-3.0.2'
make: *** [all] Error 2



More information about the Bug-octave mailing list