public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Re: GDB-insight build errors
@ 2007-08-01  3:47 ariga masahiro
  0 siblings, 0 replies; 15+ messages in thread
From: ariga masahiro @ 2007-08-01  3:47 UTC (permalink / raw)
  To: Maciej W. Rozycki; +Cc: Keith Seitz, insight

[-- Attachment #1: Type: text/plain, Size: 4386 bytes --]

Hi,

Thank you,Maciej,for your reply.

Maciej wrote,
> Install ncurses to resolve this dependency -- GDB should use their native
> interface; they provide a termcap compatibility layer as well.

 I installed ncurses like next.
 $ tar zxvf ncurses-5.6.tar.gz
 $ cd ncurses-5.6
 $ ./configure --with-shared --without-ada
 $ make
 $ make install
The reason of "--without-ada" is that there happened Ada sample compile 
error.

After that I tried first job,that is install insight6.6.
I usesd the same-first-time commands.
 $ cd build-insight
 $ /home/username/insight-6.6/configure --target=sh-elf
 $ make all install 2>&1 | tee insight-make.log

 Wow,there passed first errors !
And I hopefully watched long time,then at last part(I hope),appared
 different errors.
Looks no relation to first error,so I suppose there's another cause.

I extract last part of insight-make.log.
-------
gcc -c -DHAVE_CONFIG_H     -DPROFILE=1 -DWITH_PROFILE=-1          -DDEFAULT_INLINE=0 
              -I. -I/home/username/insight-6.6/sim/sh -I../common -I/home/username/insight-6.6/sim/sh/../common 
 -I../../include -I/home/username/insight-6.6/sim/sh/../../include -I../../bfd 
 -I/home/username/insight-6.6/sim/sh/../../bfd -I../../opcodes -I/home/username/insight-6.6/sim/sh/../../opcodes 
  -g -O2 /home/username/insight-6.6/sim/sh/interp.c
gcc -c -DHAVE_CONFIG_H     -DPROFILE=1 -DWITH_PROFILE=-1          -DDEFAULT_INLINE=0 
              -I. -I/home/username/insight-6.6/sim/sh -I../common -I/home/username/insight-6.6/sim/sh/../common 
 -I../../include -I/home/username/insight-6.6/sim/sh/../../include -I../../bfd 
 -I/home/username/insight-6.6/sim/sh/../../bfd -I../../opcodes -I/home/username/insight-6.6/sim/sh/../../opcodes 
  -g -O2 table.c
gcc -c 
/home/username/insight-6.6/sim/sh/../common/sim-load.c -DHAVE_CONFIG_H     -DPROFILE=1 
 -DWITH_PROFILE=-1          -DDEFAULT_INLINE=0              -I. -I/home/username/insight-6.6/sim/sh 
 -I../common -I/home/username/insight-6.6/sim/sh/../common -I../../include -I/home/username/insight-6.6/sim/sh/../../include 
 -I../../bfd -I/home/username/insight-6.6/sim/sh/../../bfd -I../../opcodes -I/home/username/insight-6.6/sim/sh/../../opcodes 
  -g -O2
rm -f libsim.a
ar rc libsim.a callback.o syscall.o targ-map.o interp.o table.o sim-load.o
ranlib libsim.a
gcc -c 
e/username/insight-6.6/sim/sh/../common/run.c -DHAVE_CONFIG_H     -DPROFILE=1 
 -DWITH_PROFILE=-1          -DDEFAULT_INLINE=0              -I. -I/home/username/insight-6.6/sim/sh 
 -I../common -I/home/username/insight-6.6/sim/sh/../common -I../../include -I/home/username/insight-6.6/sim/sh/../../include 
 -I../../bfd -I/home/username/insight-6.6/sim/sh/../../bfd -I../../opcodes -I/home/username/insight-6.6/sim/sh/../../opcodes 
  -g -O2
gcc -DHAVE_CONFIG_H     -DPROFILE=1 -DWITH_PROFILE=-1          -DDEFAULT_INLINE=0 
              -I. -I/home/username/insight-6.6/sim/sh -I../common -I/home/username/insight-6.6/sim/sh/../common 
 -I../../include -I/home/username/insight-6.6/sim/sh/../../include -I../../bfd 
 -I/home/username/insight-6.6/sim/sh/../../bfd -I../../opcodes -I/home/username/insight-6.6/sim/sh/../../opcodes 
  -g -O2 -o run.exe \
   run.o libsim.a ../../bfd/libbfd.a ../../opcodes/libopcodes.a -lintl 
../../libiberty/libiberty.a  -lm
../../bfd/libbfd.a(archures.o): In function `bfd_scan_arch':
/home/username/insight-6.6/bfd/archures.c:603: undefined reference to 
`_bfd_sh_arch'
../../bfd/libbfd.a(elf32-sh.o): In function `sh_find_elf_flags':
/home/username/insight-6.6/bfd/elf32-sh.c:5363: undefined reference to 
`_sh_get_bfd_mach_from_arch_set'
../../bfd/libbfd.a(elf32-sh.o): In function `sh_elf_merge_private_data':
/home/username/insight-6.6/bfd/elf32-sh.c:5388: undefined reference to 
`_sh_merge_bfd_arch'
collect2: ld returned 1 exit status
make[3]: *** [run.exe] Error 1
make[3]: Leaving directory `/home/username/build-insight/sim/sh'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/home/username/build-insight/sim'
make[1]: *** [all-sim] Error 2
make[1]: Leaving directory `/home/username/build-insight'
make: *** [all] Error 2
---------

I tried the commands Keith taught me.
$ /home/username/insight-6.6/configure --target=sh-elf --prefix=$HOME/local 
2>&1|tee make.out
$ make all-gdb 2>&1|tee -a make.out

I post make.out.

Would you be kind enough to resolve this error?
I suppose this is last (hopefully).

 Masahiro Ariga 

[-- Attachment #2: make.out --]
[-- Type: application/octet-stream, Size: 41479 bytes --]

loading cache ./config.cache
checking host system type... i686-pc-cygwin
checking target system type... sh-unknown-elf
checking build system type... i686-pc-cygwin
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether ln works... (cached) yes
checking whether ln -s works... (cached) yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gnatbind... (cached) gnatbind
checking whether compiler driver understands Ada... (cached) yes
checking how to compare bootstrapped objects... (cached) cmp --ignore-initial=16 $$f1 $$f2
checking for correct version of gmp.h... yes
checking for correct version of mpfr.h... yes
*** removing intl/Makefile to force reconfigure
*** removing libiberty/Makefile to force reconfigure
*** removing opcodes/Makefile to force reconfigure
*** removing bfd/Makefile to force reconfigure
*** removing readline/Makefile to force reconfigure
*** removing tcl/Makefile to force reconfigure
*** removing tk/Makefile to force reconfigure
*** removing itcl/Makefile to force reconfigure
*** removing libgui/Makefile to force reconfigure
*** removing sim/Makefile to force reconfigure
*** removing gdb/Makefile to force reconfigure
*** removing etc/Makefile to force reconfigure
checking for bison... (cached) bison -y
checking for bison... (cached) bison
checking for gm4... (cached) m4
checking for flex... (cached) flex
checking for flex... (cached) flex
checking for makeinfo... (cached) makeinfo
checking for expect... (cached) expect
checking for runtest... (cached) runtest
checking for i686-pc-cygwin-ar... (cached) ar
checking for i686-pc-cygwin-as... (cached) as
checking for i686-pc-cygwin-dlltool... (cached) dlltool
checking for i686-pc-cygwin-ld... (cached) /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld.exe
checking for i686-pc-cygwin-lipo... no
checking for lipo... no
checking for i686-pc-cygwin-nm... (cached) nm
checking for i686-pc-cygwin-ranlib... (cached) ranlib
checking for i686-pc-cygwin-strip... (cached) strip
checking for i686-pc-cygwin-windres... (cached) windres
checking for i686-pc-cygwin-objcopy... (cached) objcopy
checking for i686-pc-cygwin-objdump... (cached) objdump
checking for sh-elf-gcj... no
checking for sh-elf-gfortran... no
checking for ar... no
checking for as... no
checking for dlltool... no
checking for sh-elf-dlltool... no
checking for ld... no
checking for lipo... no
checking for sh-elf-lipo... no
checking for nm... no
checking for objdump... no
checking for ranlib... no
checking for strip... no
checking for windres... no
checking for sh-elf-windres... no
checking where to find the target ar... pre-installed
checking where to find the target as... pre-installed
checking where to find the target cc... pre-installed
checking where to find the target c++... pre-installed
checking where to find the target c++ for libstdc++... pre-installed
checking where to find the target dlltool... pre-installed
checking where to find the target gcc... pre-installed
checking where to find the target gcj... pre-installed
checking where to find the target gfortran... pre-installed
checking where to find the target ld... pre-installed
checking where to find the target lipo... pre-installed
checking where to find the target nm... pre-installed
checking where to find the target objdump... pre-installed
checking where to find the target ranlib... pre-installed
checking where to find the target strip... pre-installed
checking where to find the target windres... pre-installed
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether -fkeep-inline-functions is supported... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
Configuring in ./intl
configure: loading cache ./config.cache
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking whether NLS is requested... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for msgmerge... (cached) /usr/bin/msgmerge
checking for i686-pc-cygwin-gcc... (cached) gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking build system type... (cached) i686-pc-cygwin
checking host system type... (cached) i686-pc-cygwin
checking for i686-pc-cygwin-ranlib... (cached) ranlib
checking for library containing strerror... (cached) none required
checking how to run the C preprocessor... (cached) gcc -E
checking for egrep... (cached) grep -E
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... (cached) yes
checking for inline... (cached) inline
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
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 stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) no
checking whether we are using the GNU C Library 2.1 or newer... (cached) no
checking whether integer division by zero raises SIGFPE... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unsigned long long... (cached) yes
checking for inttypes.h... (cached) yes
checking whether the inttypes.h PRIxNN macros are broken... (cached) no
checking for ld used by GCC... (cached) /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld.exe
checking if the linker (/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld.exe) is GNU ld... (cached) yes
checking for shared library run path origin... (cached) done
checking for argz.h... (cached) yes
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 stddef.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for feof_unlocked... (cached) no
checking for fgets_unlocked... (cached) no
checking for getc_unlocked... (cached) yes
checking for getcwd... (cached) yes
checking for getegid... (cached) yes
checking for geteuid... (cached) yes
checking for getgid... (cached) yes
checking for getuid... (cached) yes
checking for mempcpy... (cached) yes
checking for munmap... (cached) yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking for setlocale... (cached) yes
checking for stpcpy... (cached) no
checking for strcasecmp... (cached) yes
checking for strdup... (cached) yes
checking for strtoul... (cached) yes
checking for tsearch... (cached) yes
checking for __argz_count... (cached) yes
checking for __argz_stringify... (cached) yes
checking for __argz_next... (cached) yes
checking for __fsetlocking... (cached) no
checking for iconv... (cached) yes
checking how to link with libiconv... -liconv
checking for iconv declaration... (cached) 
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... (cached) yes
checking for LC_MESSAGES... (cached) yes
checking for bison... (cached) bison
checking version of bison... 2.3, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... (cached) no
checking for GNU gettext in libintl... (cached) yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... -lintl
checking for aclocal... (cached) aclocal
checking for autoconf... (cached) autoconf
checking for autoheader... (cached) autoheader
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.intl
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
Configuring in ./sim
configure: loading cache ./config.cache
checking for i686-pc-cygwin-gcc... (cached) gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking for i686-pc-cygwin-ar... (cached) ar
checking for i686-pc-cygwin-ranlib... (cached) ranlib
checking build system type... (cached) i686-pc-cygwin
checking host system type... (cached) i686-pc-cygwin
checking target system type... (cached) sh-unknown-elf
checking for i686-pc-cygwin-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for i686-pc-cygwin-ranlib... (cached) ranlib
configure: creating ./config.status
config.status: creating Makefile
configure: configuring in sh
configure: running /bin/sh '/home/username/insight-6.6/sim/sh/configure' --prefix=/home/LINK/local\r  '--cache-file=./config.cache' '--build=i686-pc-cygwin' '--host=i686-pc-cygwin' '--target=sh-elf' '--prefix=/home/LINK/local\r' '--program-transform-name=s,^,sh-elf-,; ' '--srcdir=/home/username/insight-6.6/sim' 'CC=gcc' 'CFLAGS=-g -O2' 'LDFLAGS=' 'build_alias=i686-pc-cygwin' 'host_alias=i686-pc-cygwin' 'target_alias=sh-elf' --cache-file=.././config.cache --srcdir=/home/username/insight-6.6/sim/sh
configure: loading cache .././config.cache
checking build system type... (cached) i686-pc-cygwin
checking host system type... (cached) i686-pc-cygwin
checking target system type... (cached) sh-unknown-elf
checking for i686-pc-cygwin-gcc... (cached) gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking for i686-pc-cygwin-ranlib... (cached) ranlib
checking whether NLS is requested... yes
checking for catalogs to be installed... 
checking how to run the C preprocessor... (cached) gcc -E
checking for egrep... (cached) grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking for time.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for fpu_control.h... (cached) no
checking for dlfcn.h... (cached) yes
checking for errno.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for getrusage... (cached) yes
checking for time... (cached) yes
checking for sigaction... (cached) yes
checking for __setfpucw... (cached) no
checking for bind in -lsocket... (cached) no
checking for gethostbyname in -lnsl... (cached) no
checking return type of signal handlers... (cached) void
checking for unistd.h... (cached) yes
configure: creating ./config.status
config.status: creating Makefile.sim
config.status: creating Make-common.sim
config.status: creating .gdbinit
config.status: creating config.h
config.status: config.h is unchanged
config.status: linking /home/username/insight-6.6/sim/sh/tconfig.in to tconfig.h
config.status: linking /home/username/insight-6.6/sim/sh/../common/nltvals.def to targ-vals.def
config.status: executing Makefile commands
Merging Makefile.sim+Make-common.sim into Makefile ...
config.status: executing stamp-h commands
configure: configuring in testsuite
configure: running /bin/sh '/home/username/insight-6.6/sim/testsuite/configure' --prefix=/home/LINK/local\r  '--cache-file=./config.cache' '--build=i686-pc-cygwin' '--host=i686-pc-cygwin' '--target=sh-elf' '--prefix=/home/LINK/local\r' '--program-transform-name=s,^,sh-elf-,; ' '--srcdir=/home/username/insight-6.6/sim' 'CC=gcc' 'CFLAGS=-g -O2' 'LDFLAGS=' 'build_alias=i686-pc-cygwin' 'host_alias=i686-pc-cygwin' 'target_alias=sh-elf' --cache-file=.././config.cache --srcdir=/home/username/insight-6.6/sim/testsuite
configure: loading cache .././config.cache
checking build system type... (cached) i686-pc-cygwin
checking host system type... (cached) i686-pc-cygwin
checking target system type... (cached) sh-unknown-elf
configure: creating ./config.status
config.status: creating Makefile
configure: configuring in common
configure: running /bin/sh '/home/username/insight-6.6/sim/common/configure' --prefix=/home/LINK/local\r  '--cache-file=./config.cache' '--build=i686-pc-cygwin' '--host=i686-pc-cygwin' '--target=sh-elf' '--prefix=/home/LINK/local\r' '--program-transform-name=s,^,sh-elf-,; ' '--srcdir=/home/username/insight-6.6/sim' 'CC=gcc' 'CFLAGS=-g -O2' 'LDFLAGS=' 'build_alias=i686-pc-cygwin' 'host_alias=i686-pc-cygwin' 'target_alias=sh-elf' --cache-file=.././config.cache --srcdir=/home/username/insight-6.6/sim/common
configure: loading cache .././config.cache
checking build system type... (cached) i686-pc-cygwin
checking host system type... (cached) i686-pc-cygwin
checking target system type... (cached) sh-unknown-elf
checking for i686-pc-cygwin-gcc... (cached) gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking for i686-pc-cygwin-ranlib... (cached) ranlib
checking whether NLS is requested... yes
checking for catalogs to be installed... 
checking how to run the C preprocessor... (cached) gcc -E
checking for egrep... (cached) grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking for time.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for fpu_control.h... (cached) no
checking for dlfcn.h... (cached) yes
checking for errno.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for getrusage... (cached) yes
checking for time... (cached) yes
checking for sigaction... (cached) yes
checking for __setfpucw... (cached) no
checking for bind in -lsocket... (cached) no
checking for gethostbyname in -lnsl... (cached) no
checking return type of signal handlers... (cached) void
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for time.h... (cached) yes
checking for sys/times.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/mman.h... (cached) yes
checking for mmap... (cached) yes
checking for munmap... (cached) yes
checking for lstat... (cached) yes
checking for truncate... (cached) yes
checking for ftruncate... (cached) yes
checking for struct stat.st_dev... yes
checking for struct stat.st_ino... yes
checking for struct stat.st_mode... yes
checking for struct stat.st_nlink... yes
checking for struct stat.st_uid... yes
checking for struct stat.st_gid... yes
checking for struct stat.st_rdev... yes
checking for struct stat.st_size... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_atime... yes
checking for struct stat.st_mtime... yes
checking for struct stat.st_ctime... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating cconfig.h
config.status: cconfig.h is unchanged
config.status: executing default commands
Configuring in ./tcl
configure: loading cache ./config.cache
checking build system type... (cached) i686-pc-cygwin
checking host system type... (cached) i686-pc-cygwin
checking whether make sets $(MAKE)... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
configure: configuring in win
configure: running /bin/sh '/home/username/insight-6.6/tcl/win/configure' --prefix=/home/LINK/local\r  '--cache-file=./config.cache' '--build=i686-pc-cygwin' '--host=i686-pc-cygwin' '--target=sh-elf' '--prefix=/home/LINK/local\r' '--program-transform-name=s,^,sh-elf-,; ' '--srcdir=/home/username/insight-6.6/tcl' 'build_alias=i686-pc-cygwin' 'host_alias=i686-pc-cygwin' 'target_alias=sh-elf' --cache-file=.././config.cache --srcdir=/home/username/insight-6.6/tcl/win
configure: loading cache .././config.cache
checking for i686-pc-cygwin-gcc... (cached) gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking for windres... (cached) windres
checking whether make sets $(MAKE)... (cached) yes
checking build system type... (cached) i686-pc-cygwin
checking host system type... (cached) i686-pc-cygwin
checking for SEH support in compiler... (cached) no
checking for EXCEPTION_DISPOSITION support in include files... (cached) no
checking for building with threads... no (default)
checking how to build libraries... shared
checking if 64bit support is requested... no
checking for cygpath... (cached) cygpath -w
checking for Windows native path bug in windres... yes
checking compiler flags... using shared flags
checking for build with symbols... no
checking how to run the C preprocessor... (cached) gcc -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for errno.h... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  /home/username/insight-6.6/tcl/win/Makefile.in seems to ignore the --datarootdir setting
config.status: creating tclConfig.sh
config.status: creating tcl.hpj
configure: configuring in cygwin
configure: running /bin/sh '/home/username/insight-6.6/tcl/cygwin/configure' --prefix=/home/LINK/local\r  '--cache-file=./config.cache' '--build=i686-pc-cygwin' '--host=i686-pc-cygwin' '--target=sh-elf' '--prefix=/home/LINK/local\r' '--program-transform-name=s,^,sh-elf-,; ' '--srcdir=/home/username/insight-6.6/tcl' 'build_alias=i686-pc-cygwin' 'host_alias=i686-pc-cygwin' 'target_alias=sh-elf' --cache-file=.././config.cache --srcdir=/home/username/insight-6.6/tcl/cygwin
configure: loading cache .././config.cache
checking build system type... (cached) i686-pc-cygwin
checking host system type... (cached) i686-pc-cygwin
checking target system type... (cached) sh-unknown-elf
checking for a BSD-compatible install... (cached) /usr/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 whether to enable maintainer-specific portions of Makefiles... no
checking for i686-pc-cygwin-gcc... (cached) gcc
checking for i686-pc-cygwin-gcc... (cached) gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for i686-pc-cygwin-ar... (cached) ar
checking for i686-pc-cygwin-ranlib... (cached) ranlib
checking for a BSD-compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  /home/username/insight-6.6/tcl/cygwin/Makefile.in seems to ignore the --datarootdir setting
config.status: creating tclConfig.sh
Configuring in ./tk
configure: loading cache ./config.cache
checking build system type... (cached) i686-pc-cygwin
checking host system type... (cached) i686-pc-cygwin
checking whether make sets $(MAKE)... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
configure: configuring in win
configure: running /bin/sh '/home/username/insight-6.6/tk/win/configure' --prefix=/home/LINK/local\r  '--cache-file=./config.cache' '--build=i686-pc-cygwin' '--host=i686-pc-cygwin' '--target=sh-elf' '--prefix=/home/LINK/local\r' '--program-transform-name=s,^,sh-elf-,; ' '--srcdir=/home/username/insight-6.6/tk' 'build_alias=i686-pc-cygwin' 'host_alias=i686-pc-cygwin' 'target_alias=sh-elf' --cache-file=.././config.cache --srcdir=/home/username/insight-6.6/tk/win
configure: loading cache .././config.cache
checking for i686-pc-cygwin-gcc... (cached) gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking for windres... (cached) windres
checking whether make sets $(MAKE)... (cached) yes
checking build system type... (cached) i686-pc-cygwin
checking host system type... (cached) i686-pc-cygwin
checking for building with threads... no (default)
checking how to build libraries... shared
checking if 64bit support is requested... no
checking for cygpath... (cached) cygpath -w
checking for Windows native path bug in windres... yes
checking compiler flags... using shared flags
checking how to run the C preprocessor... (cached) gcc -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for errno.h... (cached) yes
checking for build with symbols... no
checking the location of tclConfig.sh... /home/username/build-insight/tcl/win/tclConfig.sh
checking for existence of /home/username/build-insight/tcl/win/tclConfig.sh... loading
checking for tclsh... (cached) /usr/bin/tclsh84.exe
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  /home/username/insight-6.6/tk/win/Makefile.in seems to ignore the --datarootdir setting
config.status: creating tkConfig.sh
Configuring in ./itcl
configure: loading cache ./config.cache
checking build system type... (cached) i686-pc-cygwin
checking host system type... (cached) i686-pc-cygwin
checking whether make sets $(MAKE)... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: executing default commands
configure: configuring in itcl
configure: running /bin/sh '/home/username/insight-6.6/itcl/itcl/configure' --prefix=/home/LINK/local\r  '--cache-file=./config.cache' '--build=i686-pc-cygwin' '--host=i686-pc-cygwin' '--target=sh-elf' '--prefix=/home/LINK/local\r' '--program-transform-name=s,^,sh-elf-,; ' '--srcdir=/home/username/insight-6.6/itcl' 'build_alias=i686-pc-cygwin' 'host_alias=i686-pc-cygwin' 'target_alias=sh-elf' --cache-file=.././config.cache --srcdir=/home/username/insight-6.6/itcl/itcl
configure: loading cache .././config.cache
checking for i686-pc-cygwin-gcc... (cached) gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for i686-pc-cygwin-ranlib... (cached) ranlib
checking build system type... (cached) i686-pc-cygwin
checking host system type... (cached) i686-pc-cygwin
checking for Tcl configuration... (cached) found /home/username/build-insight/tcl/win/tclConfig.sh
checking for existence of /home/username/build-insight/tcl/win/tclConfig.sh... loading
checking for Tcl private include files... Using srcdir found in tclConfig.sh: /home/username/insight-6.6/tcl
checking for building with threads... no (default)
checking how to build libraries... static
checking for build with symbols... no
(cached) configure: creating ./config.status
config.status: creating Makefile
config.status: creating itclConfig.sh
config.status: creating pkgIndex.tcl
configure: configuring in itk
configure: running /bin/sh '/home/username/insight-6.6/itcl/itk/configure' --prefix=/home/LINK/local\r  '--cache-file=./config.cache' '--build=i686-pc-cygwin' '--host=i686-pc-cygwin' '--target=sh-elf' '--prefix=/home/LINK/local\r' '--program-transform-name=s,^,sh-elf-,; ' '--srcdir=/home/username/insight-6.6/itcl' 'build_alias=i686-pc-cygwin' 'host_alias=i686-pc-cygwin' 'target_alias=sh-elf' --cache-file=.././config.cache --srcdir=/home/username/insight-6.6/itcl/itk
configure: loading cache .././config.cache
checking for i686-pc-cygwin-gcc... (cached) gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for i686-pc-cygwin-ranlib... (cached) ranlib
checking build system type... (cached) i686-pc-cygwin
checking host system type... (cached) i686-pc-cygwin
checking for Tcl configuration... (cached) found /home/username/build-insight/tcl/win/tclConfig.sh
checking for existence of /home/username/build-insight/tcl/win/tclConfig.sh... loading
checking for Tk configuration... (cached) found /home/username/build-insight/tk/win/tkConfig.sh
checking for existence of /home/username/build-insight/tk/win/tkConfig.sh... loading
checking for Itcl configuration... (cached) found /home/username/build-insight/itcl/itcl/itclConfig.sh
checking for Tcl private include files... Using srcdir found in tclConfig.sh: /home/username/insight-6.6/tcl
checking for Tk private include files... Using srcdir found in tkConfig.sh
checking for building with threads... no (default)
checking how to build libraries... static
checking for build with symbols... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating itkConfig.sh
config.status: creating pkgIndex.tcl
configure: configuring in iwidgets
configure: running /bin/sh '/home/username/insight-6.6/itcl/iwidgets/configure' --prefix=/home/LINK/local\r  '--cache-file=./config.cache' '--build=i686-pc-cygwin' '--host=i686-pc-cygwin' '--target=sh-elf' '--prefix=/home/LINK/local\r' '--program-transform-name=s,^,sh-elf-,; ' '--srcdir=/home/username/insight-6.6/itcl' 'build_alias=i686-pc-cygwin' 'host_alias=i686-pc-cygwin' 'target_alias=sh-elf' --cache-file=.././config.cache --srcdir=/home/username/insight-6.6/itcl/iwidgets
configure: loading cache .././config.cache
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking for Tcl configuration... (cached) found /home/username/build-insight/tcl/win/tclConfig.sh
checking for existence of /home/username/build-insight/tcl/win/tclConfig.sh... loading
checking for Tk configuration... (cached) found /home/username/build-insight/tk/win/tkConfig.sh
checking for existence of /home/username/build-insight/tk/win/tkConfig.sh... loading
configure: creating ./config.status
config.status: creating Makefile
config.status: creating iwidgets.tcl
config.status: creating pkgIndex.tcl
Configuring in ./libgui
configure: loading cache ./config.cache
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... (cached) yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... (cached) i686-pc-cygwin
checking host system type... (cached) i686-pc-cygwin
checking for i686-pc-cygwin-gcc... (cached) gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for i686-pc-cygwin-ranlib... (cached) ranlib
checking for i686-pc-cygwin-ar... (cached) ar
checking for itcl_sh... (cached) $$here/$(top_builddir)/../itcl/itcl/unix/itcl_sh$(EXEEXT)
checking how to run the C preprocessor... (cached) gcc -E
checking for egrep... (cached) grep -E
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stddef.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for getopt.h... (cached) yes
checking for unistd.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for sys/file.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for raise... (cached) yes
checking for random... (cached) yes
checking for cygwin32... (cached) yes
checking for init.tcl... (cached) /home/username/insight-6.6/tcl/library
checking for Tcl configuration script... (cached) /home/username/build-insight/tcl/win/tclConfig.sh
checking for Tk configuration script... (cached) /home/username/build-insight/tk/win/tkConfig.sh
checking for Tcl headers in the source tree... (cached) /home/username/insight-6.6/tcl/generic
checking for Tk headers in the source tree... (cached) found in /home/username/insight-6.6/tk/generic
configure: creating ./config.status
config.status: creating Makefile
config.status: creating library/Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
Configuring in ./gdb
configure: loading cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i686-pc-cygwin-gcc... (cached) gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking how to run the C preprocessor... (cached) gcc -E
checking for egrep... (cached) grep -E
checking for AIX... no
checking for library containing strerror... (cached) none required
checking for gcc option to accept ANSI C... (cached) none needed
checking build system type... (cached) i686-pc-cygwin
checking host system type... (cached) i686-pc-cygwin
checking target system type... (cached) sh-unknown-elf
checking whether NLS is requested... yes
checking for catalogs to be installed... 
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for libunwind.h... (cached) no
checking for libunwind-ia64.h... (cached) no
checking for monstartup... (cached) no
checking for _mcleanup... (cached) no
checking for _etext... (cached) no
checking for gawk... (cached) gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for i686-pc-cygwin-ranlib... (cached) ranlib
checking for bison... (cached) bison -y
checking for i686-pc-cygwin-ar... (cached) ar
checking for i686-pc-cygwin-dlltool... (cached) dlltool
checking for i686-pc-cygwin-windres... (cached) windres
checking for i686-pc-cygwin-mig... no
checking for mig... no
checking for main in -lm... (cached) yes
checking for wctype... (cached) yes
checking for library containing gethostbyname... (cached) none required
checking for library containing socketpair... (cached) none required
checking for library containing waddstr... (cached) -lncurses
checking for library containing tgetent... (cached) none required
checking for ld used by GCC... (cached) /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld.exe
checking if the linker (/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld.exe) is GNU ld... (cached) yes
checking for shared library run path origin... (cached) done
checking for libexpat... (cached) yes
checking how to link with libexpat... -lexpat
checking for dirent.h that defines DIR... (cached) yes
checking for library containing opendir... (cached) none required
checking whether stat file-mode macros are broken... (cached) no
checking for ANSI C header files... (cached) yes
checking for nlist.h... (cached) no
checking for link.h... (cached) no
checking for machine/reg.h... (cached) no
checking for poll.h... (cached) yes
checking for sys/poll.h... (cached) yes
checking for proc_service.h... (cached) no
checking for thread_db.h... (cached) no
checking for gnu/libc-version.h... (cached) no
checking for stddef.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/fault.h... (cached) no
checking for sys/file.h... (cached) yes
checking for sys/filio.h... (cached) no
checking for sys/ioctl.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/proc.h... (cached) no
checking for sys/procfs.h... (cached) yes
checking for sys/ptrace.h... (cached) no
checking for ptrace.h... (cached) no
checking for sys/reg.h... (cached) no
checking for sys/debugreg.h... (cached) no
checking for sys/select.h... (cached) yes
checking for sys/syscall.h... (cached) no
checking for sys/types.h... (cached) yes
checking for sys/user.h... (cached) no
checking for sys/wait.h... (cached) yes
checking for wait.h... (cached) no
checking for termios.h... (cached) yes
checking for termio.h... (cached) yes
checking for sgtty.h... (cached) no
checking for unistd.h... (cached) yes
checking for curses.h... (cached) yes
checking for cursesX.h... (cached) no
checking for ncurses.h... (cached) yes
checking for ncurses/ncurses.h... (cached) yes
checking for ncurses/term.h... (cached) yes
checking for term.h... (cached) yes
checking for ctype.h... (cached) yes
checking for time.h... (cached) yes
looking for a compliant stdint.h in stdint.h, checking for uintmax_t... no
looking for a compliant stdint.h in inttypes.h, checking for uintmax_t... no
looking for a compliant stdint.h in sys/inttypes.h, checking for uintmax_t... no
looking for an incomplete stdint.h in stdint.h, checking for uint32_t... no
looking for an incomplete stdint.h in inttypes.h, checking for uint32_t... no
looking for an incomplete stdint.h in sys/inttypes.h, checking for uint32_t... no
looking for u_intXX_t types in sys/types.h, checking for u_int32_t... no
looking for u_intXX_t types in inttypes.h, checking for u_int32_t... no
looking for u_intXX_t types in sys/inttypes.h, checking for u_int32_t... no
checking what to include in gdb_stdint.h... stddef.h (using manual detection)
checking for void *... no
checking size of void *... 0
checking for long... no
checking size of long... 0
checking for int... no
checking size of int... 0
checking for short... no
checking size of short... 0
checking for char... no
checking size of char... 0
checking for type equivalent to int8_t... configure: error: no 8-bit type
/home/username/insight-6.6/gdb/configure: line 13740: exit: please: numeric argument required
/home/username/insight-6.6/gdb/configure: line 13740: exit: please: numeric argument required
make: *** [configure-gdb] Error 1

^ permalink raw reply	[flat|nested] 15+ messages in thread

* RE: GDB-insight build errors
  2007-08-03  1:15                   ` ariga masahiro
@ 2007-08-03 15:00                     ` Dave Korn
  0 siblings, 0 replies; 15+ messages in thread
From: Dave Korn @ 2007-08-03 15:00 UTC (permalink / raw)
  To: 'ariga masahiro', 'Maciej W. Rozycki'
  Cc: 'Keith Seitz', insight

On 03 August 2007 02:15, ariga masahiro wrote:

> Hi,
> 
> Concerning of the problem that cannot install insight6.6 properly.
> I think I discovered the most likely cause.
> Correct me if I wrong.
> 
> When I installed cygwin on Windows XP PC,
> I selected DOS format(CR-LF) files.
> Now don't you think that is the cause of entire problem?
> The reason is that my colleague tried to install insight6.6
> on his cygwin and succeeded and he installed cygwin in Unix format(LF)!

  Ah, yes, I'm sure that is the problem!

> Now let me explain why I installed in DOS format.
> I also at first installed in Unix format,but I encountered
> problems that shell can't read ecos batch files(ecosenv.sh etc.)
> like these,
> bash: $'\r': command not found
> ': not a valid identifierITORY
> bash: $'\r': command not found
> ': not a valid identifier
> bash: $'\r': command not found
> ': not a valid identifier
> I discovered files related to ecos configtool are all DOS formated.
> I don't know why.

  I think it was just because the ecos team decided to use windows-style line
ends for the convenience, since on windows, editors like notead and wordpad
use that format.  In the past, it did not matter, since older versions of
cygwin bash had compatibility enabled by default, and/or since ecos could just
specify that you must use text mode.  But nowadays this is a problem, since
bash no longer accepts incorrect line endings by default.  Your choices are:

- convert all ecos shell scripts using 'd2u'.
- set the igncr option in BASH_ENV, or by putting "set -o igncr" in your
.bashrc or similar, as described at
http://cygwin.com/ml/cygwin-announce/2007-05/msg00003.html

> Believe me I experienced terrible slough troubling by file format
> differences.
> So I determined to install cygwin and all in DOS format from the beginning.
> 
> Now it is the ultimate question if use DOS format or Unix format,
> as far as running under Windows.
> 
> I agree I should use Unix format on condition ecos configtool correctly
> output Unix format files.
> 
> I am all in ears what is your opinion.

  It is best to make use of the Unix format.  If the *only* thing you wanted
to use cygwin with was the ecos scripts, then you could use text mode and not
have to worry, but since you are going to wish to do non-ecos activities such
as building downloaded gnu tarballs, your life is much simpler if you run in
Unix mode.

  By the way, it is also *very important* that you use cygwin's command-line
tar utility to extract the files.  Do not use winzip, 7zip or any other GUI
tool, as they will not do the right thing about unix permissions, symlinks,
and other POSIX features that are supported by cygwin but not by native
windows apps.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: GDB-insight build errors
  2007-08-01 12:28                 ` Maciej W. Rozycki
@ 2007-08-03  1:15                   ` ariga masahiro
  2007-08-03 15:00                     ` Dave Korn
  0 siblings, 1 reply; 15+ messages in thread
From: ariga masahiro @ 2007-08-03  1:15 UTC (permalink / raw)
  To: Maciej W. Rozycki; +Cc: Keith Seitz, insight

Hi,

Concerning of the problem that cannot install insight6.6 properly.
I think I discovered the most likely cause.
Correct me if I wrong.

When I installed cygwin on Windows XP PC,
I selected DOS format(CR-LF) files.
Now don't you think that is the cause of entire problem?
The reason is that my colleague tried to install insight6.6
on his cygwin and succeeded and he installed cygwin in Unix format(LF)!

Now let me explain why I installed in DOS format.
I also at first installed in Unix format,but I encountered
problems that shell can't read ecos batch files(ecosenv.sh etc.)
like these,
bash: $'\r': command not found
': not a valid identifierITORY
bash: $'\r': command not found
': not a valid identifier
bash: $'\r': command not found
': not a valid identifier
I discovered files related to ecos configtool are all DOS formated.
I don't know why.
Believe me I experienced terrible slough troubling by file format 
differences.
So I determined to install cygwin and all in DOS format from the beginning.

Now it is the ultimate question if use DOS format or Unix format,
as far as running under Windows.

I agree I should use Unix format on condition ecos configtool correctly 
output
Unix format files.

I am all in ears what is your opinion.

Masahiro Ariga

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: GDB-insight build errors
       [not found]               ` <002801c7d3e5$62a88010$1c0110ac@ariga>
@ 2007-08-01 12:28                 ` Maciej W. Rozycki
  2007-08-03  1:15                   ` ariga masahiro
  0 siblings, 1 reply; 15+ messages in thread
From: Maciej W. Rozycki @ 2007-08-01 12:28 UTC (permalink / raw)
  To: ariga masahiro; +Cc: Keith Seitz, insight

On Wed, 1 Aug 2007, ariga masahiro wrote:

> I installed ncurses like next.
> $ tar zxvf ncurses-5.6.tar.gz
> $ cd ncurses-5.6
> $ ./configure --with-shared --without-ada
> $ make
> $ make install
> The reason of "--without-ada" is that there happened Ada sample compile error.

 FYI, you could have installed the relevant Cygwin package instead.

> After that I tried first job,that is install insight6.6.
> I usesd the same-first-time commands.
> $ cd build-insight
> $ /home/username/insight-6.6/configure --target=sh-elf
> $ make all install 2>&1 | tee insight-make.log

 It looks like some SH-specific BFD configuration problem -- I cannot help 
you with that, but as this happens with sim, you may try asking at the gdb 
mailing list (cc-ing binutils as this is the canonical source of the BFD 
library).

  Maciej

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: GDB-insight build errors
  2007-07-31  1:46           ` ariga masahiro
@ 2007-07-31  9:58             ` Maciej W. Rozycki
       [not found]               ` <002801c7d3e5$62a88010$1c0110ac@ariga>
  0 siblings, 1 reply; 15+ messages in thread
From: Maciej W. Rozycki @ 2007-07-31  9:58 UTC (permalink / raw)
  To: ariga masahiro; +Cc: Keith Seitz, insight

On Tue, 31 Jul 2007, ariga masahiro wrote:

> So I did as I was told and post result file.
> Sorry others for attach-file mail.
> 
> Looks one error happened.
> configure: error: no termcap library found
> make: *** [configure-gdb] 

 Install ncurses to resolve this dependency -- GDB should use their native 
interface; they provide a termcap compatibility layer as well.

> Warning! Unmet Dependencies Found.
>  The following package are required but have not been selected.
>  Package:libecpg5
>                Required by:postgresgl
>  Package:libpgtypes2
>                Required by:postgresgl

 Well, it is irrelevant here indeed, but if you wanted to use PostgreSQL, 
you better checked it.

  Maciej

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: GDB-insight build errors
  2007-07-30 17:39         ` Keith Seitz
@ 2007-07-31  1:46           ` ariga masahiro
  2007-07-31  9:58             ` Maciej W. Rozycki
  0 siblings, 1 reply; 15+ messages in thread
From: ariga masahiro @ 2007-07-31  1:46 UTC (permalink / raw)
  To: Keith Seitz; +Cc: insight

[-- Attachment #1: Type: text/plain, Size: 1102 bytes --]

Hi,

Thank you Keith for hopeful reply.

Keith kindly wrote,
> Okay, the best thing to do now is to:
> 
> $ PATH/TO/src/configure --target=sh-elf --prefix=... 2>&1 | tee make.out
> $ make all-gdb 2>&1 | tee -a make.out
> 
> and post the resulting file. There must be something amiss on your box, 
> because I don't see any of these errors on cygwin. Perhaps even try CVS 
> HEAD or a snapshot from the web site?

So I did as I was told and post result file.
Sorry others for attach-file mail.

Looks one error happened.
configure: error: no termcap library found
make: *** [configure-gdb] 

> --- There must be something amiss on your box, 

In retrospect,when I downloaded packages I encountered next warning.
Although I think 40% below it's not related to current problem,
I inform you,just in case.

Warning! Unmet Dependencies Found.
  The following package are required but have not been selected.
  Package:libecpg5
                Required by:postgresgl
  Package:libpgtypes2
                Required by:postgresgl

I am looking forward your kindly reply.

I heartly appreciate.

Masahiro Ariga

[-- Attachment #2: make.out --]
[-- Type: application/octet-stream, Size: 37374 bytes --]

loading cache ./config.cache
checking host system type... i686-pc-cygwin
checking target system type... sh-unknown-elf
checking build system type... i686-pc-cygwin
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether ln works... (cached) yes
checking whether ln -s works... (cached) yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gnatbind... (cached) gnatbind
checking whether compiler driver understands Ada... (cached) yes
checking how to compare bootstrapped objects... (cached) cmp --ignore-initial=16 $$f1 $$f2
checking for correct version of gmp.h... yes
checking for correct version of mpfr.h... yes
checking for bison... (cached) bison -y
checking for bison... (cached) bison
checking for gm4... (cached) m4
checking for flex... (cached) flex
checking for flex... (cached) flex
checking for makeinfo... (cached) makeinfo
checking for expect... (cached) expect
checking for runtest... (cached) runtest
checking for i686-pc-cygwin-ar... (cached) ar
checking for i686-pc-cygwin-as... (cached) as
checking for i686-pc-cygwin-dlltool... (cached) dlltool
checking for i686-pc-cygwin-ld... (cached) /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld.exe
checking for i686-pc-cygwin-lipo... no
checking for lipo... no
checking for i686-pc-cygwin-nm... (cached) nm
checking for i686-pc-cygwin-ranlib... (cached) ranlib
checking for i686-pc-cygwin-strip... (cached) strip
checking for i686-pc-cygwin-windres... (cached) windres
checking for i686-pc-cygwin-objcopy... (cached) objcopy
checking for i686-pc-cygwin-objdump... (cached) objdump
checking for sh-elf-gcj... no
checking for sh-elf-gfortran... no
checking for ar... no
checking for as... no
checking for dlltool... no
checking for sh-elf-dlltool... no
checking for ld... no
checking for lipo... no
checking for sh-elf-lipo... no
checking for nm... no
checking for objdump... no
checking for ranlib... no
checking for strip... no
checking for windres... no
checking for sh-elf-windres... no
checking where to find the target ar... pre-installed
checking where to find the target as... pre-installed
checking where to find the target cc... pre-installed
checking where to find the target c++... pre-installed
checking where to find the target c++ for libstdc++... pre-installed
checking where to find the target dlltool... pre-installed
checking where to find the target gcc... pre-installed
checking where to find the target gcj... pre-installed
checking where to find the target gfortran... pre-installed
checking where to find the target ld... pre-installed
checking where to find the target lipo... pre-installed
checking where to find the target nm... pre-installed
checking where to find the target objdump... pre-installed
checking where to find the target ranlib... pre-installed
checking where to find the target strip... pre-installed
checking where to find the target windres... pre-installed
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether -fkeep-inline-functions is supported... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
Configuring in ./intl
configure: loading cache ./config.cache
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether NLS is requested... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for msgmerge... (cached) /usr/bin/msgmerge
checking for i686-pc-cygwin-gcc... (cached) gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking build system type... (cached) i686-pc-cygwin
checking host system type... (cached) i686-pc-cygwin
checking for i686-pc-cygwin-ranlib... (cached) ranlib
checking for library containing strerror... (cached) none required
checking how to run the C preprocessor... (cached) gcc -E
checking for egrep... (cached) grep -E
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... (cached) yes
checking for inline... (cached) inline
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
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 stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... (cached) no
checking whether we are using the GNU C Library 2.1 or newer... (cached) no
checking whether integer division by zero raises SIGFPE... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unsigned long long... (cached) yes
checking for inttypes.h... (cached) yes
checking whether the inttypes.h PRIxNN macros are broken... (cached) no
checking for ld used by GCC... (cached) /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld.exe
checking if the linker (/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld.exe) is GNU ld... (cached) yes
checking for shared library run path origin... (cached) done
checking for argz.h... (cached) yes
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 stddef.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for feof_unlocked... (cached) no
checking for fgets_unlocked... (cached) no
checking for getc_unlocked... (cached) yes
checking for getcwd... (cached) yes
checking for getegid... (cached) yes
checking for geteuid... (cached) yes
checking for getgid... (cached) yes
checking for getuid... (cached) yes
checking for mempcpy... (cached) yes
checking for munmap... (cached) yes
checking for putenv... (cached) yes
checking for setenv... (cached) yes
checking for setlocale... (cached) yes
checking for stpcpy... (cached) no
checking for strcasecmp... (cached) yes
checking for strdup... (cached) yes
checking for strtoul... (cached) yes
checking for tsearch... (cached) yes
checking for __argz_count... (cached) yes
checking for __argz_stringify... (cached) yes
checking for __argz_next... (cached) yes
checking for __fsetlocking... (cached) no
checking for iconv... (cached) yes
checking how to link with libiconv... -liconv
checking for iconv declaration... (cached) 
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... (cached) yes
checking for LC_MESSAGES... (cached) yes
checking for bison... (cached) bison
checking version of bison... 2.3, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... (cached) no
checking for GNU gettext in libintl... (cached) yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... -lintl
checking for aclocal... (cached) aclocal
checking for autoconf... (cached) autoconf
checking for autoheader... (cached) autoheader
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.intl
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
mkdir -p -- ./sim
Configuring in ./sim
configure: creating cache ./config.cache
checking for i686-pc-cygwin-gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for i686-pc-cygwin-ar... ar
checking for i686-pc-cygwin-ranlib... ranlib
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking target system type... sh-unknown-elf
checking for i686-pc-cygwin-gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for i686-pc-cygwin-ranlib... (cached) ranlib
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
configure: configuring in sh
configure: running /bin/sh '/home/username/insight-6.6/sim/sh/configure' --prefix=/home/LINK/local/\r  '--cache-file=./config.cache' '--build=i686-pc-cygwin' '--host=i686-pc-cygwin' '--target=sh-elf' '--prefix=/home/LINK/local/\r' '--program-transform-name=s,^,sh-elf-,; ' '--srcdir=/home/username/insight-6.6/sim' 'CC=gcc' 'CFLAGS=-g -O2' 'LDFLAGS=' 'build_alias=i686-pc-cygwin' 'host_alias=i686-pc-cygwin' 'target_alias=sh-elf' --cache-file=.././config.cache --srcdir=/home/username/insight-6.6/sim/sh
configure: loading cache .././config.cache
checking build system type... (cached) i686-pc-cygwin
checking host system type... (cached) i686-pc-cygwin
checking target system type... (cached) sh-unknown-elf
checking for i686-pc-cygwin-gcc... (cached) gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking for i686-pc-cygwin-ranlib... (cached) ranlib
checking whether NLS is requested... yes
checking for catalogs to be installed... 
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking fpu_control.h usability... no
checking fpu_control.h presence... no
checking for fpu_control.h... no
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for sys/stat.h... (cached) yes
checking for getrusage... yes
checking for time... yes
checking for sigaction... yes
checking for __setfpucw... no
checking for bind in -lsocket... no
checking for gethostbyname in -lnsl... no
checking return type of signal handlers... void
checking for unistd.h... (cached) yes
updating cache .././config.cache
configure: creating ./config.status
config.status: creating Makefile.sim
config.status: creating Make-common.sim
config.status: creating .gdbinit
config.status: creating config.h
config.status: linking /home/username/insight-6.6/sim/sh/tconfig.in to tconfig.h
config.status: linking /home/username/insight-6.6/sim/sh/../common/nltvals.def to targ-vals.def
config.status: executing Makefile commands
Merging Makefile.sim+Make-common.sim into Makefile ...
config.status: executing stamp-h commands
configure: configuring in testsuite
configure: running /bin/sh '/home/username/insight-6.6/sim/testsuite/configure' --prefix=/home/LINK/local/\r  '--cache-file=./config.cache' '--build=i686-pc-cygwin' '--host=i686-pc-cygwin' '--target=sh-elf' '--prefix=/home/LINK/local/\r' '--program-transform-name=s,^,sh-elf-,; ' '--srcdir=/home/username/insight-6.6/sim' 'CC=gcc' 'CFLAGS=-g -O2' 'LDFLAGS=' 'build_alias=i686-pc-cygwin' 'host_alias=i686-pc-cygwin' 'target_alias=sh-elf' --cache-file=.././config.cache --srcdir=/home/username/insight-6.6/sim/testsuite
configure: loading cache .././config.cache
checking build system type... (cached) i686-pc-cygwin
checking host system type... (cached) i686-pc-cygwin
checking target system type... (cached) sh-unknown-elf
configure: creating ./config.status
config.status: creating Makefile
configure: configuring in common
configure: running /bin/sh '/home/username/insight-6.6/sim/common/configure' --prefix=/home/LINK/local/\r  '--cache-file=./config.cache' '--build=i686-pc-cygwin' '--host=i686-pc-cygwin' '--target=sh-elf' '--prefix=/home/LINK/local/\r' '--program-transform-name=s,^,sh-elf-,; ' '--srcdir=/home/username/insight-6.6/sim' 'CC=gcc' 'CFLAGS=-g -O2' 'LDFLAGS=' 'build_alias=i686-pc-cygwin' 'host_alias=i686-pc-cygwin' 'target_alias=sh-elf' --cache-file=.././config.cache --srcdir=/home/username/insight-6.6/sim/common
configure: loading cache .././config.cache
checking build system type... (cached) i686-pc-cygwin
checking host system type... (cached) i686-pc-cygwin
checking target system type... (cached) sh-unknown-elf
checking for i686-pc-cygwin-gcc... (cached) gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking for i686-pc-cygwin-ranlib... (cached) ranlib
checking whether NLS is requested... yes
checking for catalogs to be installed... 
checking how to run the C preprocessor... (cached) gcc -E
checking for egrep... (cached) grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking for time.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for fpu_control.h... (cached) no
checking for dlfcn.h... (cached) yes
checking for errno.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for getrusage... (cached) yes
checking for time... (cached) yes
checking for sigaction... (cached) yes
checking for __setfpucw... (cached) no
checking for bind in -lsocket... (cached) no
checking for gethostbyname in -lnsl... (cached) no
checking return type of signal handlers... (cached) void
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for time.h... (cached) yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/stat.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for mmap... yes
checking for munmap... yes
checking for lstat... yes
checking for truncate... yes
checking for ftruncate... yes
checking for struct stat.st_dev... yes
checking for struct stat.st_ino... yes
checking for struct stat.st_mode... yes
checking for struct stat.st_nlink... yes
checking for struct stat.st_uid... yes
checking for struct stat.st_gid... yes
checking for struct stat.st_rdev... yes
checking for struct stat.st_size... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_atime... yes
checking for struct stat.st_mtime... yes
checking for struct stat.st_ctime... yes
updating cache .././config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating cconfig.h
config.status: executing default commands
mkdir -p -- ./tcl
Configuring in ./tcl
configure: creating cache ./config.cache
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking whether make sets $(MAKE)... yes
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
configure: configuring in win
configure: running /bin/sh '/home/username/insight-6.6/tcl/win/configure' --prefix=/home/LINK/local/\r  '--cache-file=./config.cache' '--build=i686-pc-cygwin' '--host=i686-pc-cygwin' '--target=sh-elf' '--prefix=/home/LINK/local/\r' '--program-transform-name=s,^,sh-elf-,; ' '--srcdir=/home/username/insight-6.6/tcl' 'build_alias=i686-pc-cygwin' 'host_alias=i686-pc-cygwin' 'target_alias=sh-elf' --cache-file=.././config.cache --srcdir=/home/username/insight-6.6/tcl/win
configure: loading cache .././config.cache
checking for i686-pc-cygwin-gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for ar... ar
checking for ranlib... ranlib
checking for windres... windres
checking whether make sets $(MAKE)... (cached) yes
checking build system type... (cached) i686-pc-cygwin
checking host system type... (cached) i686-pc-cygwin
checking for SEH support in compiler... no
checking for EXCEPTION_DISPOSITION support in include files... no
checking for building with threads... no (default)
checking how to build libraries... shared
checking if 64bit support is requested... no
checking for cygpath... cygpath -w
checking for Windows native path bug in windres... yes
checking compiler flags... using shared flags
checking for build with symbols... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
configure: updating cache .././config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  /home/username/insight-6.6/tcl/win/Makefile.in seems to ignore the --datarootdir setting
config.status: creating tclConfig.sh
config.status: creating tcl.hpj
configure: configuring in cygwin
configure: running /bin/sh '/home/username/insight-6.6/tcl/cygwin/configure' --prefix=/home/LINK/local/\r  '--cache-file=./config.cache' '--build=i686-pc-cygwin' '--host=i686-pc-cygwin' '--target=sh-elf' '--prefix=/home/LINK/local/\r' '--program-transform-name=s,^,sh-elf-,; ' '--srcdir=/home/username/insight-6.6/tcl' 'build_alias=i686-pc-cygwin' 'host_alias=i686-pc-cygwin' 'target_alias=sh-elf' --cache-file=.././config.cache --srcdir=/home/username/insight-6.6/tcl/cygwin
configure: loading cache .././config.cache
checking build system type... (cached) i686-pc-cygwin
checking host system type... (cached) i686-pc-cygwin
checking target system type... sh-unknown-elf
checking for a BSD-compatible install... /usr/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 whether to enable maintainer-specific portions of Makefiles... no
checking for i686-pc-cygwin-gcc... (cached) gcc
checking for i686-pc-cygwin-gcc... (cached) gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for i686-pc-cygwin-ar... (cached) ar
checking for i686-pc-cygwin-ranlib... (cached) ranlib
checking for a BSD-compatible install... /usr/bin/install -c
configure: updating cache .././config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  /home/username/insight-6.6/tcl/cygwin/Makefile.in seems to ignore the --datarootdir setting
config.status: creating tclConfig.sh
mkdir -p -- ./tk
Configuring in ./tk
configure: creating cache ./config.cache
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking whether make sets $(MAKE)... yes
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
configure: configuring in win
configure: running /bin/sh '/home/username/insight-6.6/tk/win/configure' --prefix=/home/LINK/local/\r  '--cache-file=./config.cache' '--build=i686-pc-cygwin' '--host=i686-pc-cygwin' '--target=sh-elf' '--prefix=/home/LINK/local/\r' '--program-transform-name=s,^,sh-elf-,; ' '--srcdir=/home/username/insight-6.6/tk' 'build_alias=i686-pc-cygwin' 'host_alias=i686-pc-cygwin' 'target_alias=sh-elf' --cache-file=.././config.cache --srcdir=/home/username/insight-6.6/tk/win
configure: loading cache .././config.cache
checking for i686-pc-cygwin-gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for ar... ar
checking for ranlib... ranlib
checking for windres... windres
checking whether make sets $(MAKE)... (cached) yes
checking build system type... (cached) i686-pc-cygwin
checking host system type... (cached) i686-pc-cygwin
checking for building with threads... no (default)
checking how to build libraries... shared
checking if 64bit support is requested... no
checking for cygpath... cygpath -w
checking for Windows native path bug in windres... yes
checking compiler flags... using shared flags
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for build with symbols... no
checking the location of tclConfig.sh... /home/username/build-insight/tcl/win/tclConfig.sh
checking for existence of /home/username/build-insight/tcl/win/tclConfig.sh... loading
checking for tclsh... /usr/bin/tclsh84.exe
configure: updating cache .././config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  /home/username/insight-6.6/tk/win/Makefile.in seems to ignore the --datarootdir setting
config.status: creating tkConfig.sh
mkdir -p -- ./itcl
Configuring in ./itcl
configure: creating cache ./config.cache
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking whether make sets $(MAKE)... yes
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: executing default commands
configure: configuring in itcl
configure: running /bin/sh '/home/username/insight-6.6/itcl/itcl/configure' --prefix=/home/LINK/local/\r  '--cache-file=./config.cache' '--build=i686-pc-cygwin' '--host=i686-pc-cygwin' '--target=sh-elf' '--prefix=/home/LINK/local/\r' '--program-transform-name=s,^,sh-elf-,; ' '--srcdir=/home/username/insight-6.6/itcl' 'build_alias=i686-pc-cygwin' 'host_alias=i686-pc-cygwin' 'target_alias=sh-elf' --cache-file=.././config.cache --srcdir=/home/username/insight-6.6/itcl/itcl
configure: loading cache .././config.cache
checking for i686-pc-cygwin-gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for i686-pc-cygwin-ranlib... ranlib
checking build system type... (cached) i686-pc-cygwin
checking host system type... (cached) i686-pc-cygwin
checking for Tcl configuration... found /home/username/build-insight/tcl/win/tclConfig.sh
checking for existence of /home/username/build-insight/tcl/win/tclConfig.sh... loading
checking for Tcl private include files... Using srcdir found in tclConfig.sh: /home/username/insight-6.6/tcl
checking for building with threads... no (default)
checking how to build libraries... static
checking for build with symbols... no
updating cache .././config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating itclConfig.sh
config.status: creating pkgIndex.tcl
configure: configuring in itk
configure: running /bin/sh '/home/username/insight-6.6/itcl/itk/configure' --prefix=/home/LINK/local/\r  '--cache-file=./config.cache' '--build=i686-pc-cygwin' '--host=i686-pc-cygwin' '--target=sh-elf' '--prefix=/home/LINK/local/\r' '--program-transform-name=s,^,sh-elf-,; ' '--srcdir=/home/username/insight-6.6/itcl' 'build_alias=i686-pc-cygwin' 'host_alias=i686-pc-cygwin' 'target_alias=sh-elf' --cache-file=.././config.cache --srcdir=/home/username/insight-6.6/itcl/itk
configure: loading cache .././config.cache
checking for i686-pc-cygwin-gcc... (cached) gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for i686-pc-cygwin-ranlib... (cached) ranlib
checking build system type... (cached) i686-pc-cygwin
checking host system type... (cached) i686-pc-cygwin
checking for Tcl configuration... (cached) found /home/username/build-insight/tcl/win/tclConfig.sh
checking for existence of /home/username/build-insight/tcl/win/tclConfig.sh... loading
checking for Tk configuration... found /home/username/build-insight/tk/win/tkConfig.sh
checking for existence of /home/username/build-insight/tk/win/tkConfig.sh... loading
checking for Itcl configuration... found /home/username/build-insight/itcl/itcl/itclConfig.sh
checking for Tcl private include files... Using srcdir found in tclConfig.sh: /home/username/insight-6.6/tcl
checking for Tk private include files... Using srcdir found in tkConfig.sh
checking for building with threads... no (default)
checking how to build libraries... static
checking for build with symbols... no
updating cache .././config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating itkConfig.sh
config.status: creating pkgIndex.tcl
configure: configuring in iwidgets
configure: running /bin/sh '/home/username/insight-6.6/itcl/iwidgets/configure' --prefix=/home/LINK/local/\r  '--cache-file=./config.cache' '--build=i686-pc-cygwin' '--host=i686-pc-cygwin' '--target=sh-elf' '--prefix=/home/LINK/local/\r' '--program-transform-name=s,^,sh-elf-,; ' '--srcdir=/home/username/insight-6.6/itcl' 'build_alias=i686-pc-cygwin' 'host_alias=i686-pc-cygwin' 'target_alias=sh-elf' --cache-file=.././config.cache --srcdir=/home/username/insight-6.6/itcl/iwidgets
configure: loading cache .././config.cache
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking for Tcl configuration... (cached) found /home/username/build-insight/tcl/win/tclConfig.sh
checking for existence of /home/username/build-insight/tcl/win/tclConfig.sh... loading
checking for Tk configuration... (cached) found /home/username/build-insight/tk/win/tkConfig.sh
checking for existence of /home/username/build-insight/tk/win/tkConfig.sh... loading
configure: creating ./config.status
config.status: creating Makefile
config.status: creating iwidgets.tcl
config.status: creating pkgIndex.tcl
mkdir -p -- ./libgui
Configuring in ./libgui
configure: creating cache ./config.cache
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking for i686-pc-cygwin-gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for i686-pc-cygwin-ranlib... ranlib
checking for i686-pc-cygwin-ar... ar
checking for itcl_sh... $$here/$(top_builddir)/../itcl/itcl/unix/itcl_sh$(EXEEXT)
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for working alloca.h... yes
checking for alloca... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for unistd.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for raise... yes
checking for random... yes
checking for cygwin32... yes
checking for init.tcl... /home/username/insight-6.6/tcl/library
checking for Tcl configuration script... /home/username/build-insight/tcl/win/tclConfig.sh
checking for Tk configuration script... /home/username/build-insight/tk/win/tkConfig.sh
checking for Tcl headers in the source tree... /home/username/insight-6.6/tcl/generic
/home/username/insight-6.6/tcl/generic
checking for Tk headers in the source tree... /home/username/insight-6.6/tk/generic
found in /home/username/insight-6.6/tk/generic
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating library/Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing default-1 commands
mkdir -p -- ./gdb
Configuring in ./gdb
configure: creating cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i686-pc-cygwin-gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for AIX... no
checking for library containing strerror... none required
checking for gcc option to accept ANSI C... none needed
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking target system type... sh-unknown-elf
checking whether NLS is requested... yes
checking for catalogs to be installed... 
checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking libunwind.h usability... no
checking libunwind.h presence... no
checking for libunwind.h... no
checking libunwind-ia64.h usability... no
checking libunwind-ia64.h presence... no
checking for libunwind-ia64.h... no
checking for monstartup... no
checking for _mcleanup... no
checking for _etext... no
checking for gawk... gawk
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for i686-pc-cygwin-ranlib... ranlib
checking for bison... bison -y
checking for i686-pc-cygwin-ar... ar
checking for i686-pc-cygwin-dlltool... dlltool
checking for i686-pc-cygwin-windres... windres
checking for i686-pc-cygwin-mig... no
checking for mig... no
checking for main in -lm... no
checking for wctype... no
checking for wctype in -lw... no
checking for library containing gethostbyname... no
checking for library containing socketpair... no
checking for library containing waddstr... no
checking for library containing tgetent... no
configure: error: no termcap library found
make: *** [configure-gdb] Error 1

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: GDB-insight build errors
  2007-07-30  7:19       ` ariga masahiro
@ 2007-07-30 17:39         ` Keith Seitz
  2007-07-31  1:46           ` ariga masahiro
  0 siblings, 1 reply; 15+ messages in thread
From: Keith Seitz @ 2007-07-30 17:39 UTC (permalink / raw)
  To: ariga masahiro; +Cc: insight

ariga masahiro wrote:
> 
> So I must install "insight-6.6" and I again beseech you to help me.

Okay, the best thing to do now is to:

$ PATH/TO/src/configure --target=sh-elf --prefix=... 2>&1 | tee make.out
$ make all-gdb 2>&1 | tee -a make.out

and post the resulting file. There must be something amiss on your box, 
because I don't see any of these errors on cygwin. Perhaps even try CVS 
HEAD or a snapshot from the web site?

Keith

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: GDB-insight build errors
  2007-07-26  9:59     ` Dave Korn
  2007-07-27  0:02       ` ariga masahiro
@ 2007-07-30  7:19       ` ariga masahiro
  2007-07-30 17:39         ` Keith Seitz
  1 sibling, 1 reply; 15+ messages in thread
From: ariga masahiro @ 2007-07-30  7:19 UTC (permalink / raw)
  To: Dave Korn, 'Eric Weddington'; +Cc: insight

Hi,

Since I posted I couldn't build "insight-6.6"
in my cygwin environment,I found "insight-5.3" binary image
and installed it.

But I found it disappeares without any notice while running.

So I must install "insight-6.6" and I again beseech you to help me.

Dave Korn wrote,
>  This is the underlying cause of the problem: configure couldn't determine 
> a
> 64-bit integer type for the code to use.  How was your configure command 
> line?
> Are there any clues in the config.log files?  Does the sh-elf compiler
> actually support 64-bit long long types or not?

Since then,I checked sh-elf-gcc version.

$ sh-elf-gcc -v
Reading specs from
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.2.1/spe
cs
Configured with:
/local/demonweb/tools/ecos-gnutools-v1.4/r2/sh-elf/cygwin/tar_b
z2/source/gcc-3.2.1/configure --target=sh-elf --prefix=/local/demonweb/tools/eco
s-gnutools-v1.4/r2/sh-elf/cygwin/tar_bz2/opt/ecos/gnutools/sh-elf --enable-langu
ages=c,c++ --with-gnu-as --with-gnu-ld --with-newlib --with-gxx-include-dir=/loc
al/demonweb/tools/ecos-gnutools-v1.4/r2/sh-elf/cygwin/tar_bz2/opt/ecos/gnutools/
sh-elf/sh-elf/include
Thread model: single
gcc version 3.2.1

And I posted configure.log
-----------------------------------------------------------------------------
$ /home/username/insight-6.6/configure --target=sh-elf
creating cache ./config.cache
checking host system type... i686-pc-cygwin
checking target system type... sh-unknown-elf
checking build system type... i686-pc-cygwin
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gnatbind... gnatbind
checking whether compiler driver understands Ada... yes
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1
$$f
2
checking for correct version of gmp.h... yes
checking for correct version of mpfr.h... yes
checking for bison... bison -y
checking for bison... bison
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... flex
checking for flex... flex
checking for makeinfo... makeinfo
checking for expect... expect
checking for runtest... runtest
checking for i686-pc-cygwin-ar... no
checking for ar... ar
checking for i686-pc-cygwin-as... no
checking for as... as
checking for i686-pc-cygwin-dlltool... no
checking for dlltool... dlltool
checking for i686-pc-cygwin-ld...
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../
i686-pc-cygwin/bin/ld.exe
checking for i686-pc-cygwin-lipo... no
checking for lipo... no
checking for i686-pc-cygwin-nm... no
checking for nm... nm
checking for i686-pc-cygwin-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-cygwin-strip... no
checking for strip... strip
checking for i686-pc-cygwin-windres... no
checking for windres... windres
checking for i686-pc-cygwin-objcopy... no
checking for objcopy... objcopy
checking for i686-pc-cygwin-objdump... no
checking for objdump... objdump
checking for sh-elf-cc... no
checking for sh-elf-gcc... sh-elf-gcc
checking for sh-elf-c++... sh-elf-c++
checking for sh-elf-gcc... sh-elf-gcc
checking for sh-elf-gcj... no
checking for sh-elf-gfortran... no
checking for ar... no
checking for sh-elf-ar... sh-elf-ar
checking for as... no
checking for sh-elf-as... sh-elf-as
checking for dlltool... no
checking for sh-elf-dlltool... no
checking for ld... no
checking for sh-elf-ld... sh-elf-ld
checking for lipo... no
checking for sh-elf-lipo... no
checking for nm... no
checking for sh-elf-nm... sh-elf-nm
checking for objdump... no
checking for sh-elf-objdump... sh-elf-objdump
checking for ranlib... no
checking for sh-elf-ranlib... sh-elf-ranlib
checking for strip... no
checking for sh-elf-strip... sh-elf-strip
checking for windres... no
checking for sh-elf-windres... no
checking where to find the target ar... pre-installed
checking where to find the target as... pre-installed
checking where to find the target cc... pre-installed
checking where to find the target c++... pre-installed
checking where to find the target c++ for libstdc++... pre-installed
checking where to find the target dlltool... pre-installed
checking where to find the target gcc... pre-installed
checking where to find the target gcj... pre-installed
checking where to find the target gfortran... pre-installed
checking where to find the target ld... pre-installed
checking where to find the target lipo... pre-installed
checking where to find the target nm... pre-installed
checking where to find the target objdump... pre-installed
checking where to find the target ranlib... pre-installed
checking where to find the target strip... pre-installed
checking where to find the target windres... pre-installed
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether -fkeep-inline-functions is supported... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
-----------------------------------------------------------------------------

I couldn't discover any suspicious point.
I am ready to accept any help.

Masahiro Ariga

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: GDB-insight build errors
@ 2007-07-27  0:30 ariga masahiro
  0 siblings, 0 replies; 15+ messages in thread
From: ariga masahiro @ 2007-07-27  0:30 UTC (permalink / raw)
  To: Dave Korn, 'Eric Weddington'; +Cc: insight

Hi,

I made a terrible mistake in next sentence.

mistaken,
> I am sorry I am on a level to resolve myself.
correctly,
I am sorry I am NOT on a level to resolve myself.

I  am ashamed to feel making a fool of me.

-- below  are previous log
> I checked sh-elf-gcc version.
>
> $ sh-elf-gcc -v
> Reading specs from 
> /opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.2.1/spe
> cs
> Configured with: 
> /local/demonweb/tools/ecos-gnutools-v1.4/r2/sh-elf/cygwin/tar_b
> z2/source/gcc-3.2.1/configure --target=sh-elf --prefix=/local/demonweb/tools/eco
> s-gnutools-v1.4/r2/sh-elf/cygwin/tar_bz2/opt/ecos/gnutools/sh-elf --enable-langu
> ages=c,c++ --with-gnu-as --with-gnu-ld --with-newlib --with-gxx-include-dir=/loc
> al/demonweb/tools/ecos-gnutools-v1.4/r2/sh-elf/cygwin/tar_bz2/opt/ecos/gnutools/
> sh-elf/sh-elf/include
> Thread model: single
> gcc version 3.2.1
>
> I am sorry I am on a level to resolve myself.
>
>
>> Hi,
>>
>> Thank you Dave for your landmark reply.
>>
>> I post config.log below.
>>
>> Although, I could't fathom any suspicious point.
>>
>> Please enlighten more?
>>
>> this is config.log
>> -----------------------------------------------------------------------------
>> $ /home/username/insight-6.6/configure --target=sh-elf
>> creating cache ./config.cache
>> checking host system type... i686-pc-cygwin
>> checking target system type... sh-unknown-elf
>> checking build system type... i686-pc-cygwin
>> checking for a BSD compatible install... /usr/bin/install -c
>> checking whether ln works... yes
>> checking whether ln -s works... yes
>> checking for gcc... gcc
>> checking whether the C compiler (gcc  ) works... yes
>> checking whether the C compiler (gcc  ) is a cross-compiler... no
>> checking whether we are using GNU C... yes
>> checking whether gcc accepts -g... yes
>> checking for gnatbind... gnatbind
>> checking whether compiler driver understands Ada... yes
>> checking how to compare bootstrapped objects... cmp --ignore-initial=16 
>> $$f1 $$f
>> 2
>> checking for correct version of gmp.h... yes
>> checking for correct version of mpfr.h... yes
>> checking for bison... bison -y
>> checking for bison... bison
>> checking for gm4... no
>> checking for gnum4... no
>> checking for m4... m4
>> checking for flex... flex
>> checking for flex... flex
>> checking for makeinfo... makeinfo
>> checking for expect... expect
>> checking for runtest... runtest
>> checking for i686-pc-cygwin-ar... no
>> checking for ar... ar
>> checking for i686-pc-cygwin-as... no
>> checking for as... as
>> checking for i686-pc-cygwin-dlltool... no
>> checking for dlltool... dlltool
>> checking for i686-pc-cygwin-ld... 
>> /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../
>> i686-pc-cygwin/bin/ld.exe
>> checking for i686-pc-cygwin-lipo... no
>> checking for lipo... no
>> checking for i686-pc-cygwin-nm... no
>> checking for nm... nm
>> checking for i686-pc-cygwin-ranlib... no
>> checking for ranlib... ranlib
>> checking for i686-pc-cygwin-strip... no
>> checking for strip... strip
>> checking for i686-pc-cygwin-windres... no
>> checking for windres... windres
>> checking for i686-pc-cygwin-objcopy... no
>> checking for objcopy... objcopy
>> checking for i686-pc-cygwin-objdump... no
>> checking for objdump... objdump
>> checking for sh-elf-cc... no
>> checking for sh-elf-gcc... sh-elf-gcc
>> checking for sh-elf-c++... sh-elf-c++
>> checking for sh-elf-gcc... sh-elf-gcc
>> checking for sh-elf-gcj... no
>> checking for sh-elf-gfortran... no
>> checking for ar... no
>> checking for sh-elf-ar... sh-elf-ar
>> checking for as... no
>> checking for sh-elf-as... sh-elf-as
>> checking for dlltool... no
>> checking for sh-elf-dlltool... no
>> checking for ld... no
>> checking for sh-elf-ld... sh-elf-ld
>> checking for lipo... no
>> checking for sh-elf-lipo... no
>> checking for nm... no
>> checking for sh-elf-nm... sh-elf-nm
>> checking for objdump... no
>> checking for sh-elf-objdump... sh-elf-objdump
>> checking for ranlib... no
>> checking for sh-elf-ranlib... sh-elf-ranlib
>> checking for strip... no
>> checking for sh-elf-strip... sh-elf-strip
>> checking for windres... no
>> checking for sh-elf-windres... no
>> checking where to find the target ar... pre-installed
>> checking where to find the target as... pre-installed
>> checking where to find the target cc... pre-installed
>> checking where to find the target c++... pre-installed
>> checking where to find the target c++ for libstdc++... pre-installed
>> checking where to find the target dlltool... pre-installed
>> checking where to find the target gcc... pre-installed
>> checking where to find the target gcj... pre-installed
>> checking where to find the target gfortran... pre-installed
>> checking where to find the target ld... pre-installed
>> checking where to find the target lipo... pre-installed
>> checking where to find the target nm... pre-installed
>> checking where to find the target objdump... pre-installed
>> checking where to find the target ranlib... pre-installed
>> checking where to find the target strip... pre-installed
>> checking where to find the target windres... pre-installed
>> checking whether to enable maintainer-specific portions of Makefiles... 
>> no
>> checking whether -fkeep-inline-functions is supported... yes
>> updating cache ./config.cache
>> creating ./config.status
>> creating Makefile
>> ---------------------------------------------------------------------------------------
>>
>>>> gcc -DHAVE_CONFIG_H -I. -I/home/username/insight-6.6/bfd -I. -I.
>>>> -I/home/username/insight-6.6/bfd
>>>>  -I/home/username/insight-6.6/bfd/../include -W -Wall -Wstrict-prototypes
>>>> -Wmissing-prototypes
>>>>  -Werror -g -O2 -c /home/username/insight-6.6/bfd/archive.c -o 
>>>> archive.o
>>>> In file included from /home/username/insight-6.6/bfd/archive.c:132:
>>>> ./bfd.h:127:3: #error No 64 bit integer type available
>>>
>> DaveK wrote,
>>>  This is the underlying cause of the problem: configure couldn't 
>>> determine a
>>> 64-bit integer type for the code to use.  How was your configure command 
>>> line?
>>> Are there any clues in the config.log files?  Does the sh-elf compiler
>>> actually support 64-bit long long types or not?

Masahiro Ariga

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: GDB-insight build errors
@ 2007-07-27  0:12 ariga masahiro
  0 siblings, 0 replies; 15+ messages in thread
From: ariga masahiro @ 2007-07-27  0:12 UTC (permalink / raw)
  To: Dave Korn, 'Eric Weddington'; +Cc: insight

Hi,

I checked sh-elf-gcc version.

$ sh-elf-gcc -v
Reading specs from 
/opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.2.1/spe
cs
Configured with: 
/local/demonweb/tools/ecos-gnutools-v1.4/r2/sh-elf/cygwin/tar_b
z2/source/gcc-3.2.1/configure --target=sh-elf --prefix=/local/demonweb/tools/eco
s-gnutools-v1.4/r2/sh-elf/cygwin/tar_bz2/opt/ecos/gnutools/sh-elf --enable-langu
ages=c,c++ --with-gnu-as --with-gnu-ld --with-newlib --with-gxx-include-dir=/loc
al/demonweb/tools/ecos-gnutools-v1.4/r2/sh-elf/cygwin/tar_bz2/opt/ecos/gnutools/
sh-elf/sh-elf/include
Thread model: single
gcc version 3.2.1

I am sorry I am on a level to resolve myself.


> Hi,
>
> Thank you Dave for your landmark reply.
>
> I post config.log below.
>
> Although, I could't fathom any suspicious point.
>
> Please enlighten more?
>
> this is config.log
> -----------------------------------------------------------------------------
> $ /home/username/insight-6.6/configure --target=sh-elf
> creating cache ./config.cache
> checking host system type... i686-pc-cygwin
> checking target system type... sh-unknown-elf
> checking build system type... i686-pc-cygwin
> checking for a BSD compatible install... /usr/bin/install -c
> checking whether ln works... yes
> checking whether ln -s works... yes
> checking for gcc... gcc
> checking whether the C compiler (gcc  ) works... yes
> checking whether the C compiler (gcc  ) is a cross-compiler... no
> checking whether we are using GNU C... yes
> checking whether gcc accepts -g... yes
> checking for gnatbind... gnatbind
> checking whether compiler driver understands Ada... yes
> checking how to compare bootstrapped objects... cmp --ignore-initial=16 
> $$f1 $$f
> 2
> checking for correct version of gmp.h... yes
> checking for correct version of mpfr.h... yes
> checking for bison... bison -y
> checking for bison... bison
> checking for gm4... no
> checking for gnum4... no
> checking for m4... m4
> checking for flex... flex
> checking for flex... flex
> checking for makeinfo... makeinfo
> checking for expect... expect
> checking for runtest... runtest
> checking for i686-pc-cygwin-ar... no
> checking for ar... ar
> checking for i686-pc-cygwin-as... no
> checking for as... as
> checking for i686-pc-cygwin-dlltool... no
> checking for dlltool... dlltool
> checking for i686-pc-cygwin-ld... 
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../
> i686-pc-cygwin/bin/ld.exe
> checking for i686-pc-cygwin-lipo... no
> checking for lipo... no
> checking for i686-pc-cygwin-nm... no
> checking for nm... nm
> checking for i686-pc-cygwin-ranlib... no
> checking for ranlib... ranlib
> checking for i686-pc-cygwin-strip... no
> checking for strip... strip
> checking for i686-pc-cygwin-windres... no
> checking for windres... windres
> checking for i686-pc-cygwin-objcopy... no
> checking for objcopy... objcopy
> checking for i686-pc-cygwin-objdump... no
> checking for objdump... objdump
> checking for sh-elf-cc... no
> checking for sh-elf-gcc... sh-elf-gcc
> checking for sh-elf-c++... sh-elf-c++
> checking for sh-elf-gcc... sh-elf-gcc
> checking for sh-elf-gcj... no
> checking for sh-elf-gfortran... no
> checking for ar... no
> checking for sh-elf-ar... sh-elf-ar
> checking for as... no
> checking for sh-elf-as... sh-elf-as
> checking for dlltool... no
> checking for sh-elf-dlltool... no
> checking for ld... no
> checking for sh-elf-ld... sh-elf-ld
> checking for lipo... no
> checking for sh-elf-lipo... no
> checking for nm... no
> checking for sh-elf-nm... sh-elf-nm
> checking for objdump... no
> checking for sh-elf-objdump... sh-elf-objdump
> checking for ranlib... no
> checking for sh-elf-ranlib... sh-elf-ranlib
> checking for strip... no
> checking for sh-elf-strip... sh-elf-strip
> checking for windres... no
> checking for sh-elf-windres... no
> checking where to find the target ar... pre-installed
> checking where to find the target as... pre-installed
> checking where to find the target cc... pre-installed
> checking where to find the target c++... pre-installed
> checking where to find the target c++ for libstdc++... pre-installed
> checking where to find the target dlltool... pre-installed
> checking where to find the target gcc... pre-installed
> checking where to find the target gcj... pre-installed
> checking where to find the target gfortran... pre-installed
> checking where to find the target ld... pre-installed
> checking where to find the target lipo... pre-installed
> checking where to find the target nm... pre-installed
> checking where to find the target objdump... pre-installed
> checking where to find the target ranlib... pre-installed
> checking where to find the target strip... pre-installed
> checking where to find the target windres... pre-installed
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking whether -fkeep-inline-functions is supported... yes
> updating cache ./config.cache
> creating ./config.status
> creating Makefile
> ---------------------------------------------------------------------------------------
>
>>> gcc -DHAVE_CONFIG_H -I. -I/home/username/insight-6.6/bfd -I. -I.
>>> -I/home/username/insight-6.6/bfd
>>>  -I/home/username/insight-6.6/bfd/../include -W -Wall -Wstrict-prototypes
>>> -Wmissing-prototypes
>>>  -Werror -g -O2 -c /home/username/insight-6.6/bfd/archive.c -o archive.o
>>> In file included from /home/username/insight-6.6/bfd/archive.c:132:
>>> ./bfd.h:127:3: #error No 64 bit integer type available
>>
> DaveK wrote,
>>  This is the underlying cause of the problem: configure couldn't 
>> determine a
>> 64-bit integer type for the code to use.  How was your configure command 
>> line?
>> Are there any clues in the config.log files?  Does the sh-elf compiler
>> actually support 64-bit long long types or not?
>
> Masahiro Ariga
> 

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: GDB-insight build errors
  2007-07-26  9:59     ` Dave Korn
@ 2007-07-27  0:02       ` ariga masahiro
  2007-07-30  7:19       ` ariga masahiro
  1 sibling, 0 replies; 15+ messages in thread
From: ariga masahiro @ 2007-07-27  0:02 UTC (permalink / raw)
  To: Dave Korn, 'Eric Weddington'; +Cc: insight

Hi,

Thank you Dave for your landmark reply.

I post config.log below.

Although, I could't fathom any suspicious point.

Please enlighten more?

this is config.log
-----------------------------------------------------------------------------
$ /home/username/insight-6.6/configure --target=sh-elf
creating cache ./config.cache
checking host system type... i686-pc-cygwin
checking target system type... sh-unknown-elf
checking build system type... i686-pc-cygwin
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gnatbind... gnatbind
checking whether compiler driver understands Ada... yes
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 
$$f
2
checking for correct version of gmp.h... yes
checking for correct version of mpfr.h... yes
checking for bison... bison -y
checking for bison... bison
checking for gm4... no
checking for gnum4... no
checking for m4... m4
checking for flex... flex
checking for flex... flex
checking for makeinfo... makeinfo
checking for expect... expect
checking for runtest... runtest
checking for i686-pc-cygwin-ar... no
checking for ar... ar
checking for i686-pc-cygwin-as... no
checking for as... as
checking for i686-pc-cygwin-dlltool... no
checking for dlltool... dlltool
checking for i686-pc-cygwin-ld... 
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../
i686-pc-cygwin/bin/ld.exe
checking for i686-pc-cygwin-lipo... no
checking for lipo... no
checking for i686-pc-cygwin-nm... no
checking for nm... nm
checking for i686-pc-cygwin-ranlib... no
checking for ranlib... ranlib
checking for i686-pc-cygwin-strip... no
checking for strip... strip
checking for i686-pc-cygwin-windres... no
checking for windres... windres
checking for i686-pc-cygwin-objcopy... no
checking for objcopy... objcopy
checking for i686-pc-cygwin-objdump... no
checking for objdump... objdump
checking for sh-elf-cc... no
checking for sh-elf-gcc... sh-elf-gcc
checking for sh-elf-c++... sh-elf-c++
checking for sh-elf-gcc... sh-elf-gcc
checking for sh-elf-gcj... no
checking for sh-elf-gfortran... no
checking for ar... no
checking for sh-elf-ar... sh-elf-ar
checking for as... no
checking for sh-elf-as... sh-elf-as
checking for dlltool... no
checking for sh-elf-dlltool... no
checking for ld... no
checking for sh-elf-ld... sh-elf-ld
checking for lipo... no
checking for sh-elf-lipo... no
checking for nm... no
checking for sh-elf-nm... sh-elf-nm
checking for objdump... no
checking for sh-elf-objdump... sh-elf-objdump
checking for ranlib... no
checking for sh-elf-ranlib... sh-elf-ranlib
checking for strip... no
checking for sh-elf-strip... sh-elf-strip
checking for windres... no
checking for sh-elf-windres... no
checking where to find the target ar... pre-installed
checking where to find the target as... pre-installed
checking where to find the target cc... pre-installed
checking where to find the target c++... pre-installed
checking where to find the target c++ for libstdc++... pre-installed
checking where to find the target dlltool... pre-installed
checking where to find the target gcc... pre-installed
checking where to find the target gcj... pre-installed
checking where to find the target gfortran... pre-installed
checking where to find the target ld... pre-installed
checking where to find the target lipo... pre-installed
checking where to find the target nm... pre-installed
checking where to find the target objdump... pre-installed
checking where to find the target ranlib... pre-installed
checking where to find the target strip... pre-installed
checking where to find the target windres... pre-installed
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether -fkeep-inline-functions is supported... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
---------------------------------------------------------------------------------------

>> gcc -DHAVE_CONFIG_H -I. -I/home/username/insight-6.6/bfd -I. -I.
>> -I/home/username/insight-6.6/bfd
>>  -I/home/username/insight-6.6/bfd/../include -W -Wall -Wstrict-prototypes
>> -Wmissing-prototypes
>>  -Werror -g -O2 -c /home/username/insight-6.6/bfd/archive.c -o archive.o
>> In file included from /home/username/insight-6.6/bfd/archive.c:132:
>> ./bfd.h:127:3: #error No 64 bit integer type available
>
DaveK wrote,
>  This is the underlying cause of the problem: configure couldn't determine 
> a
> 64-bit integer type for the code to use.  How was your configure command 
> line?
> Are there any clues in the config.log files?  Does the sh-elf compiler
> actually support 64-bit long long types or not?

Masahiro Ariga

^ permalink raw reply	[flat|nested] 15+ messages in thread

* RE: GDB-insight build errors
  2007-07-26  5:26   ` ariga masahiro
@ 2007-07-26  9:59     ` Dave Korn
  2007-07-27  0:02       ` ariga masahiro
  2007-07-30  7:19       ` ariga masahiro
  0 siblings, 2 replies; 15+ messages in thread
From: Dave Korn @ 2007-07-26  9:59 UTC (permalink / raw)
  To: 'ariga masahiro', 'Eric Weddington'; +Cc: insight

On 26 July 2007 06:26, ariga masahiro wrote:


> gcc -DHAVE_CONFIG_H -I. -I/home/username/insight-6.6/bfd -I. -I.
> -I/home/username/insight-6.6/bfd 
>  -I/home/username/insight-6.6/bfd/../include -W -Wall -Wstrict-prototypes
> -Wmissing-prototypes 
>  -Werror -g -O2 -c /home/username/insight-6.6/bfd/archive.c -o archive.o
> In file included from /home/username/insight-6.6/bfd/archive.c:132:
> ./bfd.h:127:3: #error No 64 bit integer type available


  This is the underlying cause of the problem: configure couldn't determine a
64-bit integer type for the code to use.  How was your configure command line?
Are there any clues in the config.log files?  Does the sh-elf compiler
actually support 64-bit long long types or not?

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: GDB-insight build errors
  2007-07-26  2:59 ` Eric Weddington
@ 2007-07-26  5:26   ` ariga masahiro
  2007-07-26  9:59     ` Dave Korn
  0 siblings, 1 reply; 15+ messages in thread
From: ariga masahiro @ 2007-07-26  5:26 UTC (permalink / raw)
  To: Eric Weddington; +Cc: insight

Hi everyone,

Thank you,Eric,I could take all make results in log file.

When I checked it,I found other errors happened beside
archive.c.

I post error parts,althoug I am obliged to omit midway parts.

I hope enough information are in there.

If you need anything more,I am ready to offer.

I am in terrible predicament.
I am earnestly looking forward your help.

-- below is error parts of making result ---
touch stmp-bfd-h
/bin/sh ./libtool --mode=compile 
gcc -DHAVE_CONFIG_H -I. -I/home/username/insight-6.6/bfd -I. -I. -I/home/username/insight-6.6/bfd 
 -I/home/username/insight-6.6/bfd/../include     -W -Wall -Wstrict-prototypes 
 -Wmissing-prototypes -Werror -g -O2 -c -o archive.lo 
/home/username/insight-6.6/bfd/archive.c
gcc -DHAVE_CONFIG_H -I. -I/home/username/insight-6.6/bfd -I. -I. -I/home/username/insight-6.6/bfd 
 -I/home/username/insight-6.6/bfd/../include -W -Wall -Wstrict-prototypes -Wmissing-prototypes 
 -Werror -g -O2 -c /home/username/insight-6.6/bfd/archive.c -o archive.o
In file included from /home/username/insight-6.6/bfd/archive.c:132:
./bfd.h:127:3: #error No 64 bit integer type available
In file included from /home/username/insight-6.6/bfd/archive.c:132:
./bfd.h:130: error: parse error before "bfd_vma"
./bfd.h:130: warning: type defaults to `int' in declaration of `bfd_vma'
./bfd.h:130: warning: data definition has no type or storage class
./bfd.h:131: error: parse error before "bfd_signed_vma"
./bfd.h:131: warning: type defaults to `int' in declaration of 
`bfd_signed_vma'
./bfd.h:131: warning: data definition has no type or storage class
./bfd.h:132: error: parse error before "bfd_size_type"
./bfd.h:132: warning: type defaults to `int' in declaration of 
`bfd_size_type'
./bfd.h:132: warning: data definition has no type or storage class
./bfd.h:133: error: parse error before "symvalue"
./bfd.h:133: warning: type defaults to `int' in declaration of `symvalue'
./bfd.h:133: warning: data definition has no type or storage class
./bfd.h:179: error: parse error before "bfd_int64_t"
./bfd.h:179: warning: type defaults to `int' in declaration of `bfd_int64_t'
./bfd.h:179: warning: data definition has no type or storage class
./bfd.h:180: error: parse error before "bfd_uint64_t"
./bfd.h:180: warning: type defaults to `int' in declaration of 
`bfd_uint64_t'
./bfd.h:180: warning: data definition has no type or storage class
./bfd.h:188: error: parse error before "bfd_vma"
./bfd.h:188: warning: function declaration isn't a prototype
./bfd.h:189: error: parse error before "bfd_vma"
./bfd.h:189: warning: function declaration isn't a prototype
./bfd.h:325: error: parse error before "bfd_vma"
./bfd.h:325: warning: no semicolon at end of struct or union
./bfd.h:325: warning: no semicolon at end of struct or union
./bfd.h:326: warning: type defaults to `int' in declaration of `u'
./bfd.h:326: warning: data definition has no type or storage class
./bfd.h:327: error: parse error before '}' token
./bfd.h:328: warning: type defaults to `int' in declaration of `alent'
./bfd.h:328: warning: data definition has no type or storage class
./bfd.h:373: error: parse error before "symvalue"
./bfd.h:373: warning: no semicolon at end of struct or union

------------------- Omitted. ----------------------------------

In file included from /home/username/insight-6.6/bfd/archive.c:135:
/home/username/insight-6.6/bfd/libbfd.h:56: error: parse error before 
"bfd_size_type"
/home/username/insight-6.6/bfd/libbfd.h:56: warning: no semicolon at end of 
struct or union
/home/username/insight-6.6/bfd/libbfd.h:59: error: parse error before '}' 
token
/home/username/insight-6.6/bfd/libbfd.h:64: error: parse error before 
"asection"
/home/username/insight-6.6/bfd/libbfd.h:64: warning: no semicolon at end of 
struct or union
/home/username/insight-6.6/bfd/libbfd.h:78: error: parse error before 
"bfd_size_type"
/home/username/insight-6.6/bfd/libbfd.h:78: warning: no semicolon at end of 
struct or union
/home/username/insight-6.6/bfd/libbfd.h:88: error: conflicting types for 
'tdata'
./bfd.h:4618: error: previous declaration of 'tdata' was here
/home/username/insight-6.6/bfd/libbfd.h:89: error: parse error before '}' 
token
/home/username/insight-6.6/bfd/libbfd.h:103: warning: parameter names 
(without types) in function declaration
/home/username/insight-6.6/bfd/libbfd.h:105: error: parse error before 
"bfd_size_type"
/home/username/insight-6.6/bfd/libbfd.h:105: warning: function declaration 
isn't a prototype
/home/username/insight-6.6/bfd/libbfd.h:107: warning: parameter names 
(without types) in function declaration
/home/username/insight-6.6/bfd/libbfd.h:109: warning: parameter names 
(without types) in function declaration
/home/username/insight-6.6/bfd/libbfd.h:111: error: parse error before 
"bfd_size_type"
/home/username/insight-6.6/bfd/libbfd.h:111: warning: function declaration 
isn't a prototype
/home/username/insight-6.6/bfd/libbfd.h:113: warning: parameter names 
(without types) in function declaration
/home/username/insight-6.6/bfd/libbfd.h:121: error: parse error before 
"bfd_size_type"
/home/username/insight-6.6/bfd/libbfd.h:121: warning: function declaration 
isn't a prototype
/home/username/insight-6.6/bfd/libbfd.h:123: error: parse error before 
"bfd_size_type"
/home/username/insight-6.6/bfd/libbfd.h:123: warning: function declaration 
isn't a prototype
/home/username/insight-6.6/bfd/libbfd.h:125: error: parse error before 
"bfd_size_type"
/home/username/insight-6.6/bfd/libbfd.h:125: warning: function declaration 
isn't a prototype
/home/username/insight-6.6/bfd/libbfd.h:127: error: parse error before 
"bfd_size_type"
/home/username/insight-6.6/bfd/libbfd.h:127: warning: function declaration 
isn't a prototype
/home/username/insight-6.6/bfd/libbfd.h:139: error: parse error before '*' 
token
/home/username/insight-6.6/bfd/libbfd.h:140: warning: type defaults to `int' 
in declaration of `bfd_generic_archive_p'
/home/username/insight-6.6/bfd/libbfd.h:140: warning: data definition has no 
type or storage class
/home/username/insight-6.6/bfd/libbfd.h:148: error: 
'_bfd_slurp_extended_name_table' redeclared as different kind of symbol
./bfd.h:5057: error: previous declaration of 
'_bfd_slurp_extended_name_table' was here
/home/username/insight-6.6/bfd/libbfd.h:150: error: parse error before 
"bfd_size_type"
/home/username/insight-6.6/bfd/libbfd.h:150: warning: function declaration 
isn't a prototype
/home/username/insight-6.6/bfd/libbfd.h:150: error: 
'_bfd_construct_extended_name_table' redeclared as different kind of symbol
./bfd.h:5059: error: previous declaration of 
'_bfd_construct_extended_name_table' was here
/home/username/insight-6.6/bfd/libbfd.h:164: error: '_bfd_free_cached_info' 
redeclared as different kind of symbol
./bfd.h:4983: error: previous declaration of '_bfd_free_cached_info' was 
here
/home/username/insight-6.6/bfd/libbfd.h:185: error: parse error before '*' 
token
/home/username/insight-6.6/bfd/libbfd.h:186: warning: type defaults to `int' 
in declaration of `_bfd_dummy_target'
/home/username/insight-6.6/bfd/libbfd.h:186: warning: data definition has no 
type or storage class
/home/username/insight-6.6/bfd/libbfd.h:226: error: parse error before 
"asection"

------------------- Omitted. ----------------------------------

/home/username/insight-6.6/bfd/archive.c: In function 
`_bfd_generic_mkarchive':
/home/username/insight-6.6/bfd/archive.c:181: error: parse error before 
"amt"
/home/username/insight-6.6/bfd/archive.c:183: error: dereferencing pointer 
to incomplete type
/home/username/insight-6.6/bfd/archive.c:183: error: `amt' undeclared (first 
use in this function)
/home/username/insight-6.6/bfd/archive.c:183: error: (Each undeclared 
identifier is reported only once
/home/username/insight-6.6/bfd/archive.c:183: error: for each function it 
appears in.)
/home/username/insight-6.6/bfd/archive.c:184: error: dereferencing pointer 
to incomplete type
/home/username/insight-6.6/bfd/archive.c: In function `bfd_get_next_mapent':
/home/username/insight-6.6/bfd/archive.c:223: error: dereferencing pointer 
to incomplete type
/home/username/insight-6.6/bfd/archive.c:233: error: dereferencing pointer 
to incomplete type
/home/username/insight-6.6/bfd/archive.c:236: error: dereferencing pointer 
to incomplete type
/home/username/insight-6.6/bfd/archive.c: In function 
`bfd_set_archive_head':
/home/username/insight-6.6/bfd/archive.c:263: error: dereferencing pointer 
to incomplete type
/home/username/insight-6.6/bfd/archive.c: In function 
`_bfd_look_for_bfd_in_cache':
/home/username/insight-6.6/bfd/archive.c:270: error: dereferencing pointer 
to incomplete type
/home/username/insight-6.6/bfd/archive.c: In function 
`_bfd_add_bfd_to_archive_cache':
/home/username/insight-6.6/bfd/archive.c:308: error: dereferencing pointer 
to incomplete type
/home/username/insight-6.6/bfd/archive.c:317: error: dereferencing pointer 
to incomplete type
/home/username/insight-6.6/bfd/archive.c: In function 
`get_extended_arelt_filename':
/home/username/insight-6.6/bfd/archive.c:342: error: dereferencing pointer 
to incomplete type
/home/username/insight-6.6/bfd/archive.c:348: error: dereferencing pointer 
to incomplete type
/home/username/insight-6.6/bfd/archive.c: In function 
`_bfd_generic_read_ar_hdr_mag':
/home/username/insight-6.6/bfd/archive.c:376: error: parse error before 
"namelen"
/home/username/insight-6.6/bfd/archive.c:407: error: dereferencing pointer 
to incomplete type
/home/username/insight-6.6/bfd/archive.c:408: error: dereferencing pointer 
to incomplete type
/home/username/insight-6.6/bfd/archive.c:422: error: `namelen' undeclared 
(first use in this function)
/home/username/insight-6.6/bfd/archive.c:423: error: `allocsize' undeclared 
(first use in this function)
/home/username/insight-6.6/bfd/archive.c:447: error: dereferencing pointer 
to incomplete type
/home/username/insight-6.6/bfd/archive.c:450: error: dereferencing pointer 
to incomplete type
/home/username/insight-6.6/bfd/archive.c:452: error: dereferencing pointer 
to incomplete type
/home/username/insight-6.6/bfd/archive.c:461: error: dereferencing pointer 
to incomplete type

------------------- Omitted. ----------------------------------

/home/username/insight-6.6/bfd/archive.c: At top level:
/home/username/insight-6.6/bfd/libbfd.h:676: warning: array 
'bfd_default_vector' assumed to have one element
make[4]: *** [archive.lo] Error 1
make[4]: Leaving directory `/home/username/build-insight/bfd'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/username/build-insight/bfd'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/username/build-insight/bfd'
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory `/home/username/build-insight'
make: *** [all] Error 2

Masahiro Ariga

^ permalink raw reply	[flat|nested] 15+ messages in thread

* RE: GDB-insight build errors
  2007-07-26  0:26 ariga masahiro
@ 2007-07-26  2:59 ` Eric Weddington
  2007-07-26  5:26   ` ariga masahiro
  0 siblings, 1 reply; 15+ messages in thread
From: Eric Weddington @ 2007-07-26  2:59 UTC (permalink / raw)
  To: 'ariga masahiro', insight



> -----Original Message-----
> From: insight-owner@sourceware.org
> [mailto:insight-owner@sourceware.org] On Behalf Of ariga masahiro
> Sent: Wednesday, July 25, 2007 6:26 PM
> To: insight@sourceware.org
> Subject: GDB-insight build errors
>
> Hi everyone,
>
> Please help me next problem.
>
> I tried to install GDB-insight
> but encountered next build errors.
>
> I downloaded insight-6.6.tar.bz2
> and configureed for sh-elf
> and did make using next commands.
>
> $ cd username
> $ tar jxvf insight-6.1.tar.bz2
> $ mkdir build-insight
> $ cd build-insight
> $ /home/username/insight-6.1/configure --target=sh-elf
> $ make all install
>
> And next errors occured.
> Since top portion was dropped out of console window,
> possibly there were others.

When building, log the output to a file like so:
$ make all install 2>&1 | tee insight-make.log

This will redirect stderr to stdout, then pipe stdout to 'tee' which will
simultaneously display the output on the console *and* write to the given
filename (insight-make.log). That way you can inspect the log file later to
see exactly where the first error occurred.

Eric Weddington


^ permalink raw reply	[flat|nested] 15+ messages in thread

* GDB-insight build errors
@ 2007-07-26  0:26 ariga masahiro
  2007-07-26  2:59 ` Eric Weddington
  0 siblings, 1 reply; 15+ messages in thread
From: ariga masahiro @ 2007-07-26  0:26 UTC (permalink / raw)
  To: insight

Hi everyone,

Please help me next problem.

I tried to install GDB-insight
but encountered next build errors.

I downloaded insight-6.6.tar.bz2
and configureed for sh-elf
and did make using next commands.

$ cd username
$ tar jxvf insight-6.1.tar.bz2
$ mkdir build-insight
$ cd build-insight
$ /home/username/insight-6.1/configure --target=sh-elf
$ make all install

And next errors occured.
Since top portion was dropped out of console window,
possibly there were others.

/home/username/insight-6.6/bfd/archive.c:1074: error: dereferencing pointer
to incomplete type
/home/username/insight-6.6/bfd/archive.c:1078: error: `amt' undeclared
(first use in this function)
/home/username/insight-6.6/bfd/archive.c:1082: error: dereferencing pointer
to incomplete type
/home/username/insight-6.6/bfd/archive.c:1083: error: dereferencing pointer
to incomplete type
/home/username/insight-6.6/bfd/archive.c:1084: error: dereferencing pointer
to incomplete type
/home/username/insight-6.6/bfd/archive.c:1091: error: dereferencing pointer
to incomplete type
/home/username/insight-6.6/bfd/archive.c:1095: error: dereferencing pointer
to incomplete type
/home/username/insight-6.6/bfd/archive.c:1096: error: dereferencing pointer
to incomplete type
/home/username/insight-6.6/bfd/archive.c:1106: error: dereferencing pointer
to incomplete type
/home/username/insight-6.6/bfd/archive.c:1120: error: dereferencing pointer
to incomplete type
/home/username/insight-6.6/bfd/archive.c:1121: error: dereferencing pointer
to incomplete type
/home/username/insight-6.6/bfd/archive.c:1122: error: dereferencing pointer
to incomplete type
/home/username/insight-6.6/bfd/archive.c: At top level:
/home/username/insight-6.6/bfd/archive.c:1196: error: parse error before
"bfd_size_type"
/home/username/insight-6.6/bfd/archive.c:1198: warning: function declaration
isn't a prototype
/home/username/insight-6.6/bfd/archive.c: In function
`_bfd_archive_bsd_construct_extended_name_table':
/home/username/insight-6.6/bfd/archive.c:1199: error: assignment of
read-only location
/home/username/insight-6.6/bfd/archive.c:1199: warning: assignment makes
integer from pointer without a cast
/home/username/insight-6.6/bfd/archive.c:1200: error: `abfd' undeclared
(first use in this function)
/home/username/insight-6.6/bfd/archive.c:1200: error: `tabloc' undeclared
(first use in this function)
/home/username/insight-6.6/bfd/archive.c:1200: error: `tablen' undeclared
(first use in this function)
/home/username/insight-6.6/bfd/archive.c: At top level:
/home/username/insight-6.6/bfd/archive.c:1208: error: parse error before
"bfd_size_type"
/home/username/insight-6.6/bfd/archive.c:1210: warning: function declaration
isn't a prototype
/home/username/insight-6.6/bfd/archive.c: In function
`_bfd_archive_coff_construct_extended_name_table':
/home/username/insight-6.6/bfd/archive.c:1211: error: assignment of
read-only location
/home/username/insight-6.6/bfd/archive.c:1211: warning: assignment makes
integer from pointer without a cast

and more,I omitted others,

It looks like all errors are related to archive.c.

Please help me how to avoid errors.
I urgently beseech you to help me.

Masahiro Ariga

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2007-08-03 15:00 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-01  3:47 GDB-insight build errors ariga masahiro
  -- strict thread matches above, loose matches on Subject: below --
2007-07-27  0:30 ariga masahiro
2007-07-27  0:12 ariga masahiro
2007-07-26  0:26 ariga masahiro
2007-07-26  2:59 ` Eric Weddington
2007-07-26  5:26   ` ariga masahiro
2007-07-26  9:59     ` Dave Korn
2007-07-27  0:02       ` ariga masahiro
2007-07-30  7:19       ` ariga masahiro
2007-07-30 17:39         ` Keith Seitz
2007-07-31  1:46           ` ariga masahiro
2007-07-31  9:58             ` Maciej W. Rozycki
     [not found]               ` <002801c7d3e5$62a88010$1c0110ac@ariga>
2007-08-01 12:28                 ` Maciej W. Rozycki
2007-08-03  1:15                   ` ariga masahiro
2007-08-03 15:00                     ` Dave Korn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).