From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Jaeger To: Robert Schweikert Cc: gdb@sourceware.cygnus.com Subject: Re: Can't configure 5.0 Date: Thu, 06 Jul 2000 03:23:00 -0000 Message-id: References: <39645957.18539962@mindspring.com> X-SW-Source: 2000-07/msg00019.html >>>>> Robert Schweikert writes: > I am getting the following error when trying to configure gdb 5.0: > configure: error: Could not find a term library > Configure in /usr/local/gdb-5.0/gdb failed, exiting. > For referenc I include the whole configure output below. Have a look: checking for tgetent in -lncurses... (cached) no checking for tgetent in -lHcurses... no checking for tgetent in -ltermlib... no checking for tgetent in -ltermcap... (cached) no checking for tgetent in -lcurses... (cached) no checking for tgetent in -lterminfo... no None of these libraries exist on your system - or configure can't find them. Install ncurses and you're set. Otherwise check the config.log file yourself why those can't be found. This is a configuration problem of your machine. Andreas -- Andreas Jaeger SuSE Labs aj@suse.de private aj@arthur.inka.de >From robert.lopez@abq.sc.philips.com Thu Jul 06 09:17:00 2000 From: robert.lopez@abq.sc.philips.com To: gdb@sourceware.cygnus.com Subject: libiberty.h problems Date: Thu, 06 Jul 2000 09:17:00 -0000 Message-id: <200007061608.KAA04139@abqn07.sca.philips.com> X-SW-Source: 2000-07/msg00020.html Content-length: 35961 Trying to build gdb-5.0 gcc version 2.95.1 GNU CPP version 2.95.1 GNU Make version 3.77 Solaris 7 (SunOS 5.7 Generic sun4m sparc) some env vars: LANG=C LC_ALL=C ARCH=solaris CPPFLAGS=-I/usr/local1/include CFLAGS=-I/usr/local1/include LINGUAS=en USER=root SHELL=/bin/csh gnuroot_abqn07[12]% ./configure --prefix=/usr/local1 Configuring for a sparc-sun-solaris2.7 host. Created "Makefile" in /usr/local1/bin/build/gdb-5.0 using "mh-frag" Configuring intl... creating cache ../config.cache checking for a BSD compatible install... /usr/local1/bin/install -c checking how to run the C preprocessor... gcc -E checking whether make sets ${MAKE}... yes checking for gcc... gcc checking whether the C compiler (gcc -I/usr/local1/include ) works... yes checking whether the C compiler (gcc -I/usr/local1/include ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for ranlib... ranlib checking for POSIXized ISC... no checking for ANSI C header files... yes checking for working const... yes checking for inline... inline checking for off_t... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for unistd.h... yes checking for getpagesize... yes checking for working mmap... yes checking for argz.h... no checking for limits.h... yes checking for locale.h... yes checking for nl_types.h... yes checking for malloc.h... yes checking for string.h... yes checking for unistd.h... (cached) yes checking for values.h... yes checking for sys/param.h... yes checking for getcwd... yes checking for munmap... yes checking for putenv... yes checking for setenv... no checking for setlocale... yes checking for strchr... yes checking for strcasecmp... yes checking for __argz_count... no checking for __argz_stringify... no checking for __argz_next... no checking for stpcpy... no checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking for libintl.h... yes checking for gettext in libc... yes checking for msgfmt... /usr/local1/bin/msgfmt checking for dcgettext... yes checking for gmsgfmt... /usr/local1/bin/msgfmt checking for xgettext... /usr/local1/bin/xgettext updating cache ../config.cache creating ./config.status creating Makefile creating config.h Configuring mmalloc... loading cache ../config.cache checking for gcc... (cached) gcc checking whether the C compiler (gcc -I/usr/local1/include ) works... yes checking whether the C compiler (gcc -I/usr/local1/include ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for a BSD compatible install... (cached) /usr/local1/bin/install -c checking host system type... sparc-sun-solaris2.7 checking build system type... sparc-sun-solaris2.7 checking for ar... ar checking for ranlib... (cached) ranlib checking how to run the C preprocessor... (cached) gcc -E checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... (cached) yes checking for limits.h... (cached) yes checking for stddef.h... yes checking for unistd.h... (cached) yes checking whether sbrk must be declared... no checking whether getpagesize must be declared... no updating cache ../config.cache creating ./config.status creating Makefile Configuring libiberty... loading cache ../config.cache checking host system type... sparc-sun-solaris2.7 checking build system type... sparc-sun-solaris2.7 checking for ar... (cached) ar checking for ranlib... (cached) ranlib checking for gcc... (cached) gcc checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for POSIXized ISC... no checking for a BSD compatible install... (cached) /usr/local1/bin/install -c checking how to run the C preprocessor... (cached) gcc -E checking for sys/file.h... yes checking for sys/param.h... (cached) yes checking for stdlib.h... yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for strings.h... yes checking for sys/time.h... yes checking for sys/resource.h... yes checking for sys/stat.h... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking whether the C compiler (gcc -I/usr/local1/include ) works... yes checking whether the C compiler (gcc -I/usr/local1/include ) is a cross-compiler... no checking for asprintf... no checking for atexit... yes checking for basename... yes checking for bcmp... yes checking for bcopy... yes checking for bzero... yes checking for calloc... yes checking for clock... yes checking for getcwd... (cached) yes checking for getpagesize... (cached) yes checking for index... yes checking for insque... yes checking for memchr... yes checking for memcmp... yes checking for memcpy... yes checking for memmove... yes checking for memset... yes checking for mkstemps... no checking for putenv... (cached) yes checking for random... yes checking for rename... yes checking for rindex... yes checking for setenv... (cached) no checking for sigsetmask... no checking for strcasecmp... (cached) yes checking for strchr... (cached) yes checking for strdup... yes checking for strncasecmp... yes checking for strrchr... yes checking for strstr... yes checking for strtod... yes checking for strtol... yes checking for strtoul... yes checking for tmpnam... yes checking for vasprintf... no checking for vfprintf... yes checking for vprintf... yes checking for vsprintf... yes checking for waitpid... yes checking for working alloca.h... (cached) yes checking for alloca... (cached) yes checking for ANSI C header files... (cached) yes checking for pid_t... yes checking for vfork.h... no checking for working vfork... yes checking for sys_errlist... yes checking for sys_nerr... yes checking for sys_siglist... no checking for getrusage... yes checking for on_exit... no checking for psignal... yes checking for strerror... yes checking for strsignal... yes checking for sysconf... yes checking for times... yes checking for sbrk... yes checking for gettimeofday... yes updating cache ../config.cache creating ./config.status creating Makefile creating testsuite/Makefile creating config.h Configuring opcodes... loading cache ../config.cache checking host system type... sparc-sun-solaris2.7 checking target system type... sparc-sun-solaris2.7 checking build system type... sparc-sun-solaris2.7 checking for gcc... (cached) gcc checking whether the C compiler (gcc -I/usr/local1/include ) works... yes checking whether the C compiler (gcc -I/usr/local1/include ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for POSIXized ISC... no checking for a BSD compatible install... (cached) /usr/local1/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for ar... (cached) ar checking for ranlib... (cached) ranlib checking for ranlib... (cached) ranlib checking for ld used by GCC... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking for BSD-compatible nm... /usr/ccs/bin/nm -p checking whether ln -s works... yes updating cache ../config.cache loading cache ../config.cache within ltconfig checking for object suffix... o checking for executable suffix... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... yes checking if gcc static flag -static works... -static checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... yes checking command to parse /usr/ccs/bin/nm -p output... ok checking how to hardcode library paths into programs... immediate checking for /usr/ccs/bin/ld option to reload object files... -r checking dynamic linker characteristics... solaris2.7 ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking for objdir... .libs creating libtool updating cache ../config.cache loading cache ../config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking for Cygwin environment... no checking for mingw32 environment... no checking for executable suffix... (cached) no checking for gcc... (cached) gcc checking whether the C compiler (gcc -I/usr/local1/include ) works... yes checking whether the C compiler (gcc -I/usr/local1/include ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for ANSI C header files... (cached) yes checking for working const... (cached) yes checking for inline... (cached) inline checking for off_t... (cached) yes checking for size_t... (cached) yes checking for working alloca.h... (cached) yes checking for alloca... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... (cached) yes checking for argz.h... (cached) no checking for limits.h... (cached) yes checking for locale.h... (cached) yes checking for nl_types.h... (cached) yes checking for malloc.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for values.h... (cached) yes checking for sys/param.h... (cached) yes checking for getcwd... (cached) yes checking for munmap... (cached) yes checking for putenv... (cached) yes checking for setenv... (cached) no checking for setlocale... (cached) yes checking for strchr... (cached) yes checking for strcasecmp... (cached) yes checking for __argz_count... (cached) no checking for __argz_stringify... (cached) no checking for __argz_next... (cached) no checking for LC_MESSAGES... (cached) yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking for libintl.h... (cached) yes checking for gettext in libc... (cached) yes checking for msgfmt... (cached) /usr/local1/bin/msgfmt checking for dcgettext... (cached) yes checking for gmsgfmt... (cached) /usr/local1/bin/msgfmt checking for xgettext... (cached) /usr/local1/bin/xgettext checking for a BSD compatible install... /usr/local1/bin/install -c checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for stdlib.h... (cached) yes updating cache ../config.cache creating ./config.status creating Makefile creating po/Makefile.in creating config.h Configuring bfd... loading cache ../config.cache checking host system type... sparc-sun-solaris2.7 checking target system type... sparc-sun-solaris2.7 checking build system type... sparc-sun-solaris2.7 checking for gcc... (cached) gcc checking whether the C compiler (gcc -I/usr/local1/include ) works... yes checking whether the C compiler (gcc -I/usr/local1/include ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for POSIXized ISC... no checking for a BSD compatible install... (cached) /usr/local1/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for ar... (cached) ar checking for ranlib... (cached) ranlib checking for ranlib... (cached) ranlib checking for ld used by GCC... (cached) /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... (cached) no checking for BSD-compatible nm... (cached) /usr/ccs/bin/nm -p checking whether ln -s works... (cached) yes loading cache ../config.cache within ltconfig checking for object suffix... o checking for executable suffix... (cached) no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... yes checking if gcc static flag -static works... -static checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... yes checking command to parse /usr/ccs/bin/nm -p output... ok checking how to hardcode library paths into programs... immediate checking for /usr/ccs/bin/ld option to reload object files... -r checking dynamic linker characteristics... solaris2.7 ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking for objdir... .libs creating libtool loading cache ../config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking for Cygwin environment... (cached) no checking for mingw32 environment... (cached) no checking for executable suffix... (cached) no checking for gcc... (cached) gcc checking whether the C compiler (gcc -I/usr/local1/include ) works... yes checking whether the C compiler (gcc -I/usr/local1/include ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for ANSI C header files... (cached) yes checking for working const... (cached) yes checking for inline... (cached) inline checking for off_t... (cached) yes checking for size_t... (cached) yes checking for working alloca.h... (cached) yes checking for alloca... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... (cached) yes checking for argz.h... (cached) no checking for limits.h... (cached) yes checking for locale.h... (cached) yes checking for nl_types.h... (cached) yes checking for malloc.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for values.h... (cached) yes checking for sys/param.h... (cached) yes checking for getcwd... (cached) yes checking for munmap... (cached) yes checking for putenv... (cached) yes checking for setenv... (cached) no checking for setlocale... (cached) yes checking for strchr... (cached) yes checking for strcasecmp... (cached) yes checking for __argz_count... (cached) no checking for __argz_stringify... (cached) no checking for __argz_next... (cached) no checking for LC_MESSAGES... (cached) yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking for libintl.h... (cached) yes checking for gettext in libc... (cached) yes checking for msgfmt... (cached) /usr/local1/bin/msgfmt checking for dcgettext... (cached) yes checking for gmsgfmt... (cached) /usr/local1/bin/msgfmt checking for xgettext... (cached) /usr/local1/bin/xgettext checking for a BSD compatible install... /usr/local1/bin/install -c checking for stddef.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for stdlib.h... (cached) yes checking for time.h... yes checking for unistd.h... (cached) yes checking for fcntl.h... yes checking for sys/file.h... (cached) yes checking for sys/time.h... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for fcntl... yes checking for getpagesize... (cached) yes checking for setitimer... yes checking for sysconf... (cached) yes checking for fdopen... yes checking for getuid... yes checking for getgid... yes checking whether strstr must be declared... no checking whether malloc must be declared... no checking whether realloc must be declared... no checking whether free must be declared... no checking whether getenv must be declared... no checking for sys/procfs.h... yes checking for prstatus_t in sys/procfs.h... yes checking for prstatus_t.pr_who in sys/procfs.h... yes checking for pstatus_t in sys/procfs.h... no checking for prpsinfo_t in sys/procfs.h... yes checking for psinfo_t in sys/procfs.h... no checking for lwpstatus_t in sys/procfs.h... no checking for lwpstatus_t.pr_context in sys/procfs.h... no checking for lwpstatus_t.pr_reg in sys/procfs.h... no checking for win32_pstatus_t in sys/procfs.h... no checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... (cached) yes checking for madvise... yes checking for mprotect... yes updating cache ../config.cache creating ./config.status creating Makefile creating doc/Makefile creating bfd-in3.h creating po/Makefile.in creating config.h Configuring readline... loading cache ../config.cache checking host system type... sparc-sun-solaris2.7 checking for gcc... (cached) gcc checking whether the C compiler (gcc -I/usr/local1/include ) works... yes checking whether the C compiler (gcc -I/usr/local1/include ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for minix/config.h... no checking whether gcc needs -traditional... no checking for a BSD compatible install... (cached) /usr/local1/bin/install -c checking for ar... (cached) ar checking for ranlib... (cached) ranlib checking return type of signal handlers... void checking whether stat file-mode macros are broken... no checking for dirent.h that defines DIR... (cached) yes checking for opendir in -ldir... (cached) no checking for strcasecmp... (cached) yes checking for select... yes checking for setenv... (cached) no checking for putenv... (cached) yes checking for tcgetattr... yes checking for setlocale... (cached) yes checking for lstat... yes checking for working strcoll... yes checking for unistd.h... (cached) yes checking for stdlib.h... (cached) yes checking for varargs.h... yes checking for stdarg.h... yes checking for string.h... (cached) yes checking for sys/ptem.h... yes checking for sys/pte.h... no checking for sys/stream.h... yes checking for sys/select.h... yes checking for termcap.h... yes checking for termios.h... yes checking for termio.h... yes checking for sys/file.h... (cached) yes checking for locale.h... (cached) yes checking for type of signal functions... posix checking if signal handlers must be reinstalled when invoked... no checking for presence of POSIX-style sigsetjmp/siglongjmp... present checking for lstat... yes checking whether programs are able to redeclare getpw functions... yes checking whether or not strcoll and strcmp differ... no checking whether signal handlers are of type void... yes checking for TIOCGWINSZ in sys/ioctl.h... no checking for TIOCSTAT in sys/ioctl.h... no checking for FIONREAD in sys/ioctl.h... no checking for speed_t in sys/types.h... no checking for struct winsize in sys/ioctl.h and termios.h... termios.h checking if struct dirent has a d_ino member... yes checking if struct dirent has a d_fileno member... no checking for tgetent in -ltermcap... yes checking which library has the termcap functions... using libtermcap checking configuration for building shared libraries... supported updating cache ../config.cache creating ./config.status creating Makefile creating doc/Makefile creating examples/Makefile creating shlib/Makefile creating config.h Configuring sim... loading cache ../config.cache checking for gcc... (cached) gcc checking whether the C compiler (gcc -I/usr/local1/include ) works... yes checking whether the C compiler (gcc -I/usr/local1/include ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for a BSD compatible install... (cached) /usr/local1/bin/install -c checking host system type... sparc-sun-solaris2.7 checking build system type... sparc-sun-solaris2.7 checking for ar... (cached) ar checking for ranlib... (cached) ranlib checking host system type... sparc-sun-solaris2.7 checking target system type... sparc-sun-solaris2.7 checking build system type... sparc-sun-solaris2.7 checking for gcc... (cached) gcc checking whether the C compiler (gcc -I/usr/local1/include ) works... yes checking whether the C compiler (gcc -I/usr/local1/include ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for ranlib... (cached) ranlib creating ./config.status creating Makefile Configuring gdb... loading cache ../config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... (cached) gcc checking whether the C compiler (gcc -I/usr/local1/include ) works... yes checking whether the C compiler (gcc -I/usr/local1/include ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for AIX... no checking for POSIXized ISC... no checking for gcc option to accept ANSI C... none needed checking host system type... sparc-sun-solaris2.7 checking target system type... sparc-sun-solaris2.7 checking build system type... sparc-sun-solaris2.7 checking whether make sets ${MAKE}... (cached) yes checking for ranlib... (cached) ranlib checking for ANSI C header files... (cached) yes checking for working const... (cached) yes checking for inline... (cached) inline checking for off_t... (cached) yes checking for size_t... (cached) yes checking for working alloca.h... (cached) yes checking for alloca... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... (cached) yes checking for argz.h... (cached) no checking for limits.h... (cached) yes checking for locale.h... (cached) yes checking for nl_types.h... (cached) yes checking for malloc.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for values.h... (cached) yes checking for sys/param.h... (cached) yes checking for getcwd... (cached) yes checking for munmap... (cached) yes checking for putenv... (cached) yes checking for setenv... (cached) no checking for setlocale... (cached) yes checking for strchr... (cached) yes checking for strcasecmp... (cached) yes checking for __argz_count... (cached) no checking for __argz_stringify... (cached) no checking for __argz_next... (cached) no checking for LC_MESSAGES... (cached) yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking for libintl.h... (cached) yes checking for gettext in libc... (cached) yes checking for msgfmt... (cached) /usr/local1/bin/msgfmt checking for dcgettext... (cached) yes checking for gmsgfmt... (cached) /usr/local1/bin/msgfmt checking for xgettext... (cached) /usr/local1/bin/xgettext checking for mawk... no checking for gawk... gawk checking for a BSD compatible install... (cached) /usr/local1/bin/install -c checking for ar... (cached) ar checking for ranlib... (cached) ranlib checking for bison... bison -y checking for mig... mig checking return type of signal handlers... (cached) void checking for ANSI C header files... (cached) yes checking for ctype.h... yes checking for curses.h... yes checking for endian.h... no checking for link.h... yes checking for thread_db.h... yes checking for proc_service.h... yes checking for memory.h... yes checking for objlist.h... no checking for ptrace.h... no checking for sgtty.h... yes checking for stddef.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/procfs.h... (cached) yes checking for sys/ptrace.h... yes checking for sys/reg.h... yes checking for stdint.h... no checking for term.h... yes checking for termio.h... (cached) yes checking for termios.h... (cached) yes checking for unistd.h... (cached) yes checking for wait.h... yes checking for sys/wait.h... (cached) yes checking for wchar.h... yes checking for wctype.h... yes checking for asm/debugreg.h... no checking for sys/debugreg.h... no checking for sys/select.h... (cached) yes checking for time.h... (cached) yes checking for sys/ioctl.h... yes checking for sys/user.h... yes checking whether stat file-mode macros are broken... (cached) no checking for working const... (cached) yes checking for setpgid... yes checking for sbrk... (cached) yes checking for sigaction... yes checking for isascii... yes checking for bzero... (cached) yes checking for bcopy... (cached) yes checking for btowc... yes checking for poll... yes checking for sigprocmask... yes checking for working alloca.h... (cached) yes checking for alloca... (cached) yes checking for PTRACE_GETREGS... yes checking for PTRACE_GETXFPREGS... no checking for socketpair in -lsocket... yes checking for socketpair... yes checking whether malloc must be declared... (cached) no checking whether realloc must be declared... (cached) no checking whether free must be declared... (cached) no checking whether strerror must be declared... no checking whether strdup must be declared... no checking whether strstr must be declared... (cached) no checking for HPUX save_state structure... no checking for pstatus_t in sys/procfs.h... (cached) no checking for prrun_t in sys/procfs.h... yes checking for gregset_t in sys/procfs.h... yes checking for fpregset_t in sys/procfs.h... yes checking for prgregset_t in sys/procfs.h... yes checking for prfpregset_t in sys/procfs.h... yes checking for lwpid_t in sys/procfs.h... no checking for psaddr_t in sys/procfs.h... no checking whether prfpregset_t type is broken... no checking for PIOCSET ioctl entry in sys/procfs.h... yes checking for main in -lm... yes checking for wctype in -lc... yes checking for long long support in compiler... yes checking for long long support in printf... yes checking for long double support in compiler... yes checking for long double support in printf... yes checking for long double support in scanf... yes checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... (cached) yes checking for Solaris thread debugging library... yes checking for dlopen in -ldl... yes checking for the ld -export-dynamic flag... no checking if is old... no checking for cygwin... no checking for tgetent in -lncurses... yes checking for X... libraries /usr/openwin/lib, headers /usr/openwin/include checking whether ln -s works... (cached) yes checking for Cygwin environment... (cached) no checking for mingw32 environment... (cached) no checking for executable suffix... (cached) no updating cache ../config.cache creating ./config.status creating Makefile creating tui/Makefile creating .gdbinit creating config.h linking ./config/sparc/xm-sun4sol2.h to xm.h linking ./config/sparc/tm-sun4sol2.h to tm.h linking ./config/sparc/nm-sun4sol2.h to nm.h configuring in doc running /bin/sh ./configure --host=sparc-sun-solaris2.7 --target=sparc-sun-solaris2.7 --prefix=/usr/local1 --cache-file=../../config.cache --srcdir=. loading cache ../../config.cache checking for a BSD compatible install... (cached) /usr/local1/bin/install -c checking whether ln -s works... (cached) yes creating ./config.status creating Makefile configuring in testsuite running /bin/sh ./configure --host=sparc-sun-solaris2.7 --target=sparc-sun-solaris2.7 --prefix=/usr/local1 --cache-file=../../config.cache --srcdir=. loading cache ../../config.cache checking host system type... sparc-sun-solaris2.7 checking target system type... sparc-sun-solaris2.7 checking build system type... sparc-sun-solaris2.7 creating ./config.status creating Makefile configuring in gdb.asm running /bin/sh ./configure --host=sparc-sun-solaris2.7 --target=sparc-sun-solaris2.7 --prefix=/usr/local1 --cache-file=../../../config.cache --srcdir=. loading cache ../../../config.cache checking host system type... sparc-sun-solaris2.7 checking target system type... sparc-sun-solaris2.7 checking build system type... sparc-sun-solaris2.7 creating ./config.status creating Makefile linking ./common.inc to arch.inc configuring in gdb.base running /bin/sh ./configure --host=sparc-sun-solaris2.7 --target=sparc-sun-solaris2.7 --prefix=/usr/local1 --cache-file=../../../config.cache --srcdir=. loading cache ../../../config.cache checking host system type... sparc-sun-solaris2.7 checking target system type... sparc-sun-solaris2.7 checking build system type... sparc-sun-solaris2.7 creating ./config.status creating Makefile configuring in gdb.c++ running /bin/sh ./configure --host=sparc-sun-solaris2.7 --target=sparc-sun-solaris2.7 --prefix=/usr/local1 --cache-file=../../../config.cache --srcdir=. loading cache ../../../config.cache checking host system type... sparc-sun-solaris2.7 checking target system type... sparc-sun-solaris2.7 checking build system type... sparc-sun-solaris2.7 creating ./config.status creating Makefile configuring in gdb.disasm running /bin/sh ./configure --host=sparc-sun-solaris2.7 --target=sparc-sun-solaris2.7 --prefix=/usr/local1 --cache-file=../../../config.cache --srcdir=. loading cache ../../../config.cache checking host system type... sparc-sun-solaris2.7 checking target system type... sparc-sun-solaris2.7 checking build system type... sparc-sun-solaris2.7 creating ./config.status creating Makefile configuring in gdb.chill running /bin/sh ./configure --host=sparc-sun-solaris2.7 --target=sparc-sun-solaris2.7 --prefix=/usr/local1 --cache-file=../../../config.cache --srcdir=. loading cache ../../../config.cache checking host system type... sparc-sun-solaris2.7 checking target system type... sparc-sun-solaris2.7 checking build system type... sparc-sun-solaris2.7 creating ./config.status creating Makefile configuring in gdb.mi running /bin/sh ./configure --host=sparc-sun-solaris2.7 --target=sparc-sun-solaris2.7 --prefix=/usr/local1 --cache-file=../../../config.cache --srcdir=. loading cache ../../../config.cache checking host system type... sparc-sun-solaris2.7 checking target system type... sparc-sun-solaris2.7 checking build system type... sparc-sun-solaris2.7 creating ./config.status creating Makefile configuring in gdb.threads running /bin/sh ./configure --host=sparc-sun-solaris2.7 --target=sparc-sun-solaris2.7 --prefix=/usr/local1 --cache-file=../../../config.cache --srcdir=. loading cache ../../../config.cache checking host system type... sparc-sun-solaris2.7 checking target system type... sparc-sun-solaris2.7 checking build system type... sparc-sun-solaris2.7 checking how to run the C preprocessor... (cached) gcc -E checking for pthread.h... yes updating cache ../../../config.cache creating ./config.status creating Makefile creating config.h configuring in gdb.trace running /bin/sh ./configure --host=sparc-sun-solaris2.7 --target=sparc-sun-solaris2.7 --prefix=/usr/local1 --cache-file=../../../config.cache --srcdir=. loading cache ../../../config.cache checking host system type... sparc-sun-solaris2.7 checking target system type... sparc-sun-solaris2.7 checking build system type... sparc-sun-solaris2.7 creating ./config.status creating Makefile configuring in gdb.stabs running /bin/sh ./configure --host=sparc-sun-solaris2.7 --target=sparc-sun-solaris2.7 --prefix=/usr/local1 --cache-file=../../../config.cache --srcdir=. loading cache ../../../config.cache checking host system type... sparc-sun-solaris2.7 checking target system type... sparc-sun-solaris2.7 checking build system type... sparc-sun-solaris2.7 creating ./config.status creating Makefile Configuring etc... loading cache ../config.cache checking for a BSD compatible install... (cached) /usr/local1/bin/install -c creating ./config.status creating Makefile Configuring utils... Created "Makefile" in /usr/local1/bin/build/gdb-5.0/utils Configuring spu... Created "Makefile" in /usr/local1/bin/build/gdb-5.0/utils/spu gnuroot_abqn07[13]% make make[1]: Entering directory `/usr/local1/bin/build/gdb-5.0/libiberty' if [ x"no" = xyes ] && [ ! -d pic ]; then \ mkdir pic; \ else true; fi touch stamp-picdir test x"no" != xyes || \ gcc -c -DHAVE_CONFIG_H -I/usr/local1/include -I. -I./../include -W -Wall -Wtraditional argv.c -o pic/argv.o gcc -c -DHAVE_CONFIG_H -I/usr/local1/include -I. -I./../include -W -Wall -Wtraditional argv.c In file included from argv.c:26: ../include/libiberty.h:22: parse error before `ATTRIBUTE_MALLOC' ../include/libiberty.h:22: warning: type defaults to `int' in declaration of `ATTRIBUTE_MALLOC' ../include/libiberty.h:22: warning: data definition has no type or storage class ../include/libiberty.h:31: parse error before `ATTRIBUTE_MALLOC' ../include/libiberty.h:31: warning: type defaults to `int' in declaration of `ATTRIBUTE_MALLOC' ../include/libiberty.h:31: warning: data definition has no type or storage class ../include/libiberty.h:48: parse error before `ATTRIBUTE_MALLOC' ../include/libiberty.h:48: warning: type defaults to `int' in declaration of `ATTRIBUTE_MALLOC' ../include/libiberty.h:48: warning: data definition has no type or storage class ../include/libiberty.h:65: parse error before `ATTRIBUTE_MALLOC' ../include/libiberty.h:65: warning: type defaults to `int' in declaration of `ATTRIBUTE_MALLOC' ../include/libiberty.h:65: warning: data definition has no type or storage class ../include/libiberty.h:69: parse error before `ATTRIBUTE_MALLOC' ../include/libiberty.h:69: warning: type defaults to `int' in declaration of `ATTRIBUTE_MALLOC' ../include/libiberty.h:69: warning: data definition has no type or storage class ../include/libiberty.h:120: parse error before `ATTRIBUTE_NORETURN' ../include/libiberty.h:120: warning: type defaults to `int' in declaration of `ATTRIBUTE_NORETURN' ../include/libiberty.h:120: warning: data definition has no type or storage class In file included from argv.c:26: ../include/libiberty.h:136: parse error before `ATTRIBUTE_MALLOC' ../include/libiberty.h:136: warning: type defaults to `int' in declaration of `ATTRIBUTE_MALLOC' ../include/libiberty.h:136: warning: data definition has no type or storage class ../include/libiberty.h:147: parse error before `ATTRIBUTE_MALLOC' ../include/libiberty.h:147: warning: type defaults to `int' in declaration of `ATTRIBUTE_MALLOC' ../include/libiberty.h:147: warning: data definition has no type or storage class ../include/libiberty.h:151: parse error before `ATTRIBUTE_MALLOC' ../include/libiberty.h:151: warning: type defaults to `int' in declaration of `ATTRIBUTE_MALLOC' ../include/libiberty.h:151: warning: data definition has no type or storage class ../include/libiberty.h:155: parse error before `ATTRIBUTE_MALLOC' ../include/libiberty.h:155: warning: type defaults to `int' in declaration of `ATTRIBUTE_MALLOC' ../include/libiberty.h:155: warning: data definition has no type or storage class ../include/libiberty.h:188: parse error before `ATTRIBUTE_PRINTF_2' ../include/libiberty.h:188: warning: type defaults to `int' in declaration of `ATTRIBUTE_PRINTF_2' ../include/libiberty.h:188: warning: data definition has no type or storage class ../include/libiberty.h:194: parse error before `ATTRIBUTE_PRINTF' ../include/libiberty.h:194: warning: type defaults to `int' in declaration of `ATTRIBUTE_PRINTF' ../include/libiberty.h:194: warning: data definition has no type or storage class make[1]: *** [argv.o] Error 1 make[1]: Leaving directory `/usr/local1/bin/build/gdb-5.0/libiberty' make: *** [all-libiberty] Error 2 gnuroot_abqn07[14]% >From pbreed@yahoo.com Thu Jul 06 18:04:00 2000 From: Paul Breed To: gdb@sourceware.cygnus.com Subject: Fixed Re: Step into and Step over.... Date: Thu, 06 Jul 2000 18:04:00 -0000 Message-id: <20000707010327.4386.qmail@web3501.mail.yahoo.com> X-SW-Source: 2000-07/msg00021.html Content-length: 456 Thanks to all who helped. The problem was in the remote serial stub on the target. It now works well on windows 98, Win2K and Linux. Thanks to all who have contributed for creating such a great debugger. Should I contribute my coldfire remote serial stub? If so how do I go about doing that? Paul __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/ >From rjschwei@mindspring.com Thu Jul 06 19:48:00 2000 From: Robert Schweikert To: Andreas Jaeger Cc: gdb@sourceware.cygnus.com Subject: Re: Can't configure 5.0 Date: Thu, 06 Jul 2000 19:48:00 -0000 Message-id: <3965459D.FE027310@mindspring.com> References: <39645957.18539962@mindspring.com> X-SW-Source: 2000-07/msg00022.html Content-length: 1434 Andreas, Thanks, however I guess I'll need some more help. When I look in the configure script I can't find any reference to "ncurses". From the output of "configure I can see that it is looking for it but where? "ncurses" is installed but I have no clue why it can't be found. rpm -qa | grep ncurses ncurses3-1.9.9e-11 ncurses-5.0-11 Any ideas? Thanks, Robert Andreas Jaeger wrote: > >>>>> Robert Schweikert writes: > > > I am getting the following error when trying to configure gdb 5.0: > > configure: error: Could not find a term library > > Configure in /usr/local/gdb-5.0/gdb failed, exiting. > > > For referenc I include the whole configure output below. > > Have a look: > checking for tgetent in -lncurses... (cached) no > checking for tgetent in -lHcurses... no > checking for tgetent in -ltermlib... no > checking for tgetent in -ltermcap... (cached) no > checking for tgetent in -lcurses... (cached) no > checking for tgetent in -lterminfo... no > > None of these libraries exist on your system - or configure can't find > them. > > Install ncurses and you're set. Otherwise check the config.log file > yourself why those can't be found. > > This is a configuration problem of your machine. > > Andreas > -- > Andreas Jaeger > SuSE Labs aj@suse.de > private aj@arthur.inka.de -- Robert Schweikert MAY THE SOURCE BE WITH YOU rjschwei@mindspring.com LINUX