Help with an RedHat 7.3 install of gcc-2.95.2

John Gibson jgibson@lexmark.com
Thu Jul 11 13:27:00 GMT 2002


Hello all,

I am running into this error and am not sure what is causing it. Has anyone
seen it before or can any one tell me how to fix it.

Here are the steps that I have taken from a clean distribution to get this
error. I have also attached the config.cache file.

1. configure --prefix=/i/btools/ix86-Linux-RH7.3/gcc-2.95.2
--enable-languages=c,c++
2. make bootstrap

Thanks in advance for any help I get.

<<<< The error >>>>
  /i/btools/ix86-Linux-RH7.3/src/gcc-2.95.2/gcc/xgcc -B/i/btools/ix86-Linux-RH7.3/src/gcc-2.95.2/gcc/ -B/i/btools/ix86-Linux-RH7.3/gcc-2.95.2/i686-pc-linux-gnu/bin/ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates -I. -I. -nostdinc++ -D_IO_MTSAFE_IO  fstream.cc -o pic/fstream.o
/i/btools/ix86-Linux-RH7.3/src/gcc-2.95.2/gcc/xgcc -B/i/btools/ix86-Linux-RH7.3/src/gcc-2.95.2/gcc/ -B/i/btools/ix86-Linux-RH7.3/gcc-2.95.2/i686-pc-linux-gnu/bin/ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates -I. -I. -nostdinc++ -D_IO_MTSAFE_IO fstream.cc
test x"no" != xyes || \
  /i/btools/ix86-Linux-RH7.3/src/gcc-2.95.2/gcc/xgcc -B/i/btools/ix86-Linux-RH7.3/src/gcc-2.95.2/gcc/ -B/i/btools/ix86-Linux-RH7.3/gcc-2.95.2/i686-pc-linux-gnu/bin/ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates -I. -I. -nostdinc++ -D_IO_MTSAFE_IO  indstream.cc -o pic/indstream.o
/i/btools/ix86-Linux-RH7.3/src/gcc-2.95.2/gcc/xgcc -B/i/btools/ix86-Linux-RH7.3/src/gcc-2.95.2/gcc/ -B/i/btools/ix86-Linux-RH7.3/gcc-2.95.2/i686-pc-linux-gnu/bin/ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates -I. -I. -nostdinc++ -D_IO_MTSAFE_IO indstream.cc
test x"no" != xyes || \
  /i/btools/ix86-Linux-RH7.3/src/gcc-2.95.2/gcc/xgcc -B/i/btools/ix86-Linux-RH7.3/src/gcc-2.95.2/gcc/ -B/i/btools/ix86-Linux-RH7.3/gcc-2.95.2/i686-pc-linux-gnu/bin/ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates -I. -I. -nostdinc++ -D_IO_MTSAFE_IO  ioassign.cc -o pic/ioassign.o
/i/btools/ix86-Linux-RH7.3/src/gcc-2.95.2/gcc/xgcc -B/i/btools/ix86-Linux-RH7.3/src/gcc-2.95.2/gcc/ -B/i/btools/ix86-Linux-RH7.3/gcc-2.95.2/i686-pc-linux-gnu/bin/ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates -I. -I. -nostdinc++ -D_IO_MTSAFE_IO ioassign.cc
indstream.cc: In method `struct streampos indirectbuf::seekoff(long long int, ios::seek_dir, int = 3)':
indstream.cc:82: `struct streampos' used where a `int' was expected
indstream.cc:85: `struct streampos' used where a `int' was expected
indstream.cc:87: `struct streampos' used where a `int' was expected
indstream.cc:89: conversion from `int' to non-scalar type `streampos' requested
indstream.cc: In method `struct streampos indirectbuf::seekpos(_G_fpos64_t, int = 3)':
indstream.cc:99: `struct streampos' used where a `int' was expected
indstream.cc:102: `struct streampos' used where a `int' was expected
indstream.cc:104: `struct streampos' used where a `int' was expected
indstream.cc:106: conversion from `int' to non-scalar type `streampos' requested
make[2]: *** [indstream.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/i/btools/ix86-Linux-RH7.3/src/gcc-2.95.2/i686-pc-linux-gnu/libio'
make[1]: *** [all-target-libio] Error 2
make[1]: Leaving directory `/i/btools/ix86-Linux-RH7.3/src/gcc-2.95.2'
make: *** [bootstrap] Error 2

-- 
John Gibson jgibson@lexmark.com
Pinky, are you pondering what I am pondering?
I think so Brain, but if we had a snowmobile, wouldn't it melt before summer?

-------------- next part --------------
# This file is a shell script that caches the results of configure
# tests run on this system so they can be shared between configure
# scripts and configure runs.  It is not useful on other systems.
# If it contains results you don't want to keep, you may remove or edit it.
#
# By default, configure uses ./config.cache as the cache file,
# creating it if it does not exist already.  You can give configure
# the --cache-file=FILE option to use a different cache file; that is
# what configure does when it calls configure scripts in
# subdirectories, so they share the cache.
# Giving --cache-file=/dev/null disables caching, for debugging configure.
# config.status only pays attention to the cache file if you give it the
# --recheck option to rerun configure.
#
ac_cv_c_const=${ac_cv_c_const=yes}
ac_cv_c_inline=${ac_cv_c_inline=inline}
ac_cv_decl_sys_siglist=${ac_cv_decl_sys_siglist=yes}
ac_cv_func___argz_count=${ac_cv_func___argz_count=yes}
ac_cv_func___argz_next=${ac_cv_func___argz_next=yes}
ac_cv_func___argz_stringify=${ac_cv_func___argz_stringify=yes}
ac_cv_func_alloca_works=${ac_cv_func_alloca_works=yes}
ac_cv_func_asprintf=${ac_cv_func_asprintf=yes}
ac_cv_func_atexit=${ac_cv_func_atexit=yes}
ac_cv_func_atoll=${ac_cv_func_atoll=yes}
ac_cv_func_atoq=${ac_cv_func_atoq=no}
ac_cv_func_basename=${ac_cv_func_basename=yes}
ac_cv_func_bcmp=${ac_cv_func_bcmp=yes}
ac_cv_func_bcopy=${ac_cv_func_bcopy=yes}
ac_cv_func_bsearch=${ac_cv_func_bsearch=yes}
ac_cv_func_bzero=${ac_cv_func_bzero=yes}
ac_cv_func_calloc=${ac_cv_func_calloc=yes}
ac_cv_func_clock=${ac_cv_func_clock=yes}
ac_cv_func_dcgettext=${ac_cv_func_dcgettext=yes}
ac_cv_func_fputc_unlocked=${ac_cv_func_fputc_unlocked=yes}
ac_cv_func_fputs_unlocked=${ac_cv_func_fputs_unlocked=yes}
ac_cv_func_getcwd=${ac_cv_func_getcwd=yes}
ac_cv_func_getpagesize=${ac_cv_func_getpagesize=yes}
ac_cv_func_getrlimit=${ac_cv_func_getrlimit=yes}
ac_cv_func_getrusage=${ac_cv_func_getrusage=yes}
ac_cv_func_gettimeofday=${ac_cv_func_gettimeofday=yes}
ac_cv_func_index=${ac_cv_func_index=yes}
ac_cv_func_insque=${ac_cv_func_insque=yes}
ac_cv_func_isascii=${ac_cv_func_isascii=yes}
ac_cv_func_kill=${ac_cv_func_kill=yes}
ac_cv_func_memchr=${ac_cv_func_memchr=yes}
ac_cv_func_memcmp=${ac_cv_func_memcmp=yes}
ac_cv_func_memcpy=${ac_cv_func_memcpy=yes}
ac_cv_func_memmove=${ac_cv_func_memmove=yes}
ac_cv_func_memset=${ac_cv_func_memset=yes}
ac_cv_func_mkstemps=${ac_cv_func_mkstemps=no}
ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes}
ac_cv_func_munmap=${ac_cv_func_munmap=yes}
ac_cv_func_on_exit=${ac_cv_func_on_exit=yes}
ac_cv_func_popen=${ac_cv_func_popen=yes}
ac_cv_func_psignal=${ac_cv_func_psignal=yes}
ac_cv_func_putc_unlocked=${ac_cv_func_putc_unlocked=yes}
ac_cv_func_putenv=${ac_cv_func_putenv=yes}
ac_cv_func_random=${ac_cv_func_random=yes}
ac_cv_func_rename=${ac_cv_func_rename=yes}
ac_cv_func_rindex=${ac_cv_func_rindex=yes}
ac_cv_func_sbrk=${ac_cv_func_sbrk=yes}
ac_cv_func_setenv=${ac_cv_func_setenv=yes}
ac_cv_func_setlocale=${ac_cv_func_setlocale=yes}
ac_cv_func_setrlimit=${ac_cv_func_setrlimit=yes}
ac_cv_func_setvbuf=${ac_cv_func_setvbuf=yes}
ac_cv_func_sigblock=${ac_cv_func_sigblock=yes}
ac_cv_func_sigprocmask=${ac_cv_func_sigprocmask=yes}
ac_cv_func_sigsetmask=${ac_cv_func_sigsetmask=yes}
ac_cv_func_stpcpy=${ac_cv_func_stpcpy=yes}
ac_cv_func_strcasecmp=${ac_cv_func_strcasecmp=yes}
ac_cv_func_strchr=${ac_cv_func_strchr=yes}
ac_cv_func_strdup=${ac_cv_func_strdup=yes}
ac_cv_func_strerror=${ac_cv_func_strerror=yes}
ac_cv_func_strncasecmp=${ac_cv_func_strncasecmp=yes}
ac_cv_func_strrchr=${ac_cv_func_strrchr=yes}
ac_cv_func_strsignal=${ac_cv_func_strsignal=yes}
ac_cv_func_strstr=${ac_cv_func_strstr=yes}
ac_cv_func_strtod=${ac_cv_func_strtod=yes}
ac_cv_func_strtol=${ac_cv_func_strtol=yes}
ac_cv_func_strtoul=${ac_cv_func_strtoul=yes}
ac_cv_func_sysconf=${ac_cv_func_sysconf=yes}
ac_cv_func_times=${ac_cv_func_times=yes}
ac_cv_func_tmpnam=${ac_cv_func_tmpnam=yes}
ac_cv_func_vasprintf=${ac_cv_func_vasprintf=yes}
ac_cv_func_vfork_works=${ac_cv_func_vfork_works=yes}
ac_cv_func_vfprintf=${ac_cv_func_vfprintf=yes}
ac_cv_func_vprintf=${ac_cv_func_vprintf=yes}
ac_cv_func_vsprintf=${ac_cv_func_vsprintf=yes}
ac_cv_func_waitpid=${ac_cv_func_waitpid=yes}
ac_cv_header_alloca_h=${ac_cv_header_alloca_h=yes}
ac_cv_header_argz_h=${ac_cv_header_argz_h=yes}
ac_cv_header_direct_h=${ac_cv_header_direct_h=no}
ac_cv_header_fcntl_h=${ac_cv_header_fcntl_h=yes}
ac_cv_header_libintl_h=${ac_cv_header_libintl_h=yes}
ac_cv_header_limits_h=${ac_cv_header_limits_h=yes}
ac_cv_header_locale_h=${ac_cv_header_locale_h=yes}
ac_cv_header_malloc_h=${ac_cv_header_malloc_h=yes}
ac_cv_header_minix_config_h=${ac_cv_header_minix_config_h=no}
ac_cv_header_ncurses_termcap_h=${ac_cv_header_ncurses_termcap_h=yes}
ac_cv_header_nl_types_h=${ac_cv_header_nl_types_h=yes}
ac_cv_header_pthread_h=${ac_cv_header_pthread_h=yes}
ac_cv_header_pwd_h=${ac_cv_header_pwd_h=yes}
ac_cv_header_stab_h=${ac_cv_header_stab_h=yes}
ac_cv_header_stdc=${ac_cv_header_stdc=yes}
ac_cv_header_stddef_h=${ac_cv_header_stddef_h=yes}
ac_cv_header_stdlib_h=${ac_cv_header_stdlib_h=yes}
ac_cv_header_string_h=${ac_cv_header_string_h=yes}
ac_cv_header_strings_h=${ac_cv_header_strings_h=yes}
ac_cv_header_sys_fcntl_h=${ac_cv_header_sys_fcntl_h=yes}
ac_cv_header_sys_file_h=${ac_cv_header_sys_file_h=yes}
ac_cv_header_sys_param_h=${ac_cv_header_sys_param_h=yes}
ac_cv_header_sys_ptem_h=${ac_cv_header_sys_ptem_h=no}
ac_cv_header_sys_resource_h=${ac_cv_header_sys_resource_h=yes}
ac_cv_header_sys_stat_h=${ac_cv_header_sys_stat_h=yes}
ac_cv_header_sys_time_h=${ac_cv_header_sys_time_h=yes}
ac_cv_header_sys_times_h=${ac_cv_header_sys_times_h=yes}
ac_cv_header_sys_ttold_h=${ac_cv_header_sys_ttold_h=no}
ac_cv_header_sys_wait_h=${ac_cv_header_sys_wait_h=yes}
ac_cv_header_termcap_h=${ac_cv_header_termcap_h=yes}
ac_cv_header_termio_h=${ac_cv_header_termio_h=yes}
ac_cv_header_termios_h=${ac_cv_header_termios_h=yes}
ac_cv_header_thread_h=${ac_cv_header_thread_h=no}
ac_cv_header_time=${ac_cv_header_time=yes}
ac_cv_header_time_h=${ac_cv_header_time_h=yes}
ac_cv_header_unistd_h=${ac_cv_header_unistd_h=yes}
ac_cv_header_values_h=${ac_cv_header_values_h=yes}
ac_cv_header_vfork_h=${ac_cv_header_vfork_h=no}
ac_cv_lib_cposix_strerror=${ac_cv_lib_cposix_strerror=no}
ac_cv_lib_fl_yywrap=${ac_cv_lib_fl_yywrap=yes}
ac_cv_lib_ncurses_tputs=${ac_cv_lib_ncurses_tputs=yes}
ac_cv_path_GMSGFMT=${ac_cv_path_GMSGFMT=/usr/bin/msgfmt}
ac_cv_path_MSGFMT=${ac_cv_path_MSGFMT=/usr/bin/msgfmt}
ac_cv_path_XGETTEXT=${ac_cv_path_XGETTEXT=/usr/bin/xgettext}
ac_cv_path_install=${ac_cv_path_install='/usr/bin/install -c'}
ac_cv_prog_AR=${ac_cv_prog_AR=ar}
ac_cv_prog_AWK=${ac_cv_prog_AWK=gawk}
ac_cv_prog_CC=${ac_cv_prog_CC=gcc}
ac_cv_prog_CPP=${ac_cv_prog_CPP='gcc -E'}
ac_cv_prog_LEX=${ac_cv_prog_LEX=flex}
ac_cv_prog_RANLIB=${ac_cv_prog_RANLIB=ranlib}
ac_cv_prog_TEXCONFIG=${ac_cv_prog_TEXCONFIG=true}
ac_cv_prog_YACC=${ac_cv_prog_YACC='bison -y'}
ac_cv_prog_cc_cross=${ac_cv_prog_cc_cross=no}
ac_cv_prog_cc_g=${ac_cv_prog_cc_g=yes}
ac_cv_prog_cc_works=${ac_cv_prog_cc_works=yes}
ac_cv_prog_gcc=${ac_cv_prog_gcc=yes}
ac_cv_prog_gcc_traditional=${ac_cv_prog_gcc_traditional=no}
ac_cv_prog_gnat=${ac_cv_prog_gnat=no}
ac_cv_prog_make_make_set=${ac_cv_prog_make_make_set=yes}
ac_cv_struct_tm=${ac_cv_struct_tm=time.h}
ac_cv_type_off_t=${ac_cv_type_off_t=yes}
ac_cv_type_pid_t=${ac_cv_type_pid_t=yes}
ac_cv_type_signal=${ac_cv_type_signal=void}
ac_cv_type_size_t=${ac_cv_type_size_t=yes}
am_cv_cygwin32=${am_cv_cygwin32=no}
am_cv_exeext=${am_cv_exeext=no}
am_cv_mingw32=${am_cv_mingw32=no}
am_cv_val_LC_MESSAGES=${am_cv_val_LC_MESSAGES=yes}
gcc_cv_as=${gcc_cv_as=/usr/bin/as}
gcc_cv_as_alignment_features=${gcc_cv_as_alignment_features='.p2align including maximum skip'}
gcc_cv_as_gas_srcdir=${gcc_cv_as_gas_srcdir=./gas}
gcc_cv_as_instructions=${gcc_cv_as_instructions='filds fists '}
gcc_cv_as_subsections=${gcc_cv_as_subsections='working .subsection -1'}
gcc_cv_c_have_stringify=${gcc_cv_c_have_stringify=yes}
gcc_cv_c_volatile=${gcc_cv_c_volatile=yes}
gcc_cv_decl_needed_abort=${gcc_cv_decl_needed_abort=no}
gcc_cv_decl_needed_atof=${gcc_cv_decl_needed_atof=no}
gcc_cv_decl_needed_atol=${gcc_cv_decl_needed_atol=no}
gcc_cv_decl_needed_bcmp=${gcc_cv_decl_needed_bcmp=no}
gcc_cv_decl_needed_bcopy=${gcc_cv_decl_needed_bcopy=no}
gcc_cv_decl_needed_bzero=${gcc_cv_decl_needed_bzero=no}
gcc_cv_decl_needed_calloc=${gcc_cv_decl_needed_calloc=no}
gcc_cv_decl_needed_fputs_unlocked=${gcc_cv_decl_needed_fputs_unlocked=yes}
gcc_cv_decl_needed_free=${gcc_cv_decl_needed_free=no}
gcc_cv_decl_needed_getcwd=${gcc_cv_decl_needed_getcwd=no}
gcc_cv_decl_needed_getenv=${gcc_cv_decl_needed_getenv=no}
gcc_cv_decl_needed_getrlimit=${gcc_cv_decl_needed_getrlimit=no}
gcc_cv_decl_needed_getwd=${gcc_cv_decl_needed_getwd=no}
gcc_cv_decl_needed_index=${gcc_cv_decl_needed_index=no}
gcc_cv_decl_needed_malloc=${gcc_cv_decl_needed_malloc=no}
gcc_cv_decl_needed_putc_unlocked=${gcc_cv_decl_needed_putc_unlocked=no}
gcc_cv_decl_needed_realloc=${gcc_cv_decl_needed_realloc=no}
gcc_cv_decl_needed_rindex=${gcc_cv_decl_needed_rindex=no}
gcc_cv_decl_needed_sbrk=${gcc_cv_decl_needed_sbrk=no}
gcc_cv_decl_needed_setrlimit=${gcc_cv_decl_needed_setrlimit=no}
gcc_cv_decl_needed_strerror=${gcc_cv_decl_needed_strerror=no}
gcc_cv_decl_needed_strsignal=${gcc_cv_decl_needed_strsignal=yes}
gcc_cv_decl_needed_strstr=${gcc_cv_decl_needed_strstr=no}
gcc_cv_func_printf_ptr=${gcc_cv_func_printf_ptr=yes}
gcc_cv_header_inttypes_h=${gcc_cv_header_inttypes_h=yes}
gcc_cv_header_string=${gcc_cv_header_string=yes}
gcc_cv_mkdir_takes_one_arg=${gcc_cv_mkdir_takes_one_arg=no}
gcc_cv_nm=${gcc_cv_nm=nm}
gcc_cv_prog_LN=${gcc_cv_prog_LN=ln}
gcc_cv_prog_LN_S=${gcc_cv_prog_LN_S='ln -s'}
gt_cv_func_gettext_libc=${gt_cv_func_gettext_libc=yes}
libiberty_cv_var_sys_errlist=${libiberty_cv_var_sys_errlist=yes}
libiberty_cv_var_sys_nerr=${libiberty_cv_var_sys_nerr=yes}
libiberty_cv_var_sys_siglist=${libiberty_cv_var_sys_siglist=yes}
nls_cv_force_use_gnu_gettext=${nls_cv_force_use_gnu_gettext=no}
nls_cv_header_intl=${nls_cv_header_intl=intl/libintl.h}
nls_cv_header_libgt=${nls_cv_header_libgt=intl/libgettext.h}
nls_cv_use_gnu_gettext=${nls_cv_use_gnu_gettext=no}


More information about the Gcc-help mailing list