This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Failure Building Insight under cygwin 1.1.2
- To: gdb at sourceware dot cygnus dot com
- Subject: Failure Building Insight under cygwin 1.1.2
- From: fernando at stratus dot swi dot com dot br
- Date: Mon, 10 Jul 100 17:14:03 +0000
- Cc: fernando at swi dot com dot br
Hi GDB,
Sorry if this question has already been discussed, but I didn't find it
in the Insight/GDB mail archives...
I'm trying to build a Insight-5.0 to use it with powerpc-eabi-gcc cross
compiler. My host is cygwin 1.1.2 running under Windows NT Server 4.0
(SP6).
I used the options: --target=powerpc-eabi --prefix=/ppctools to
configure Insight.
After a long compilation time, I received the following output:
gcc -c -g -O2 -DDEFAULT_INLINE=INLINE_LOCALS
-DWITH_HOST_BYTE_ORDER=LITTLE_ENDIAN -DWITH_SMP=5
-DHAVE_TERMIOS_STRUCTURE -DHAVE_TERMIOS_CLINE -DHAVE_DEVZERO -I.
-I/src/gdb/insight-5.0/sim/ppc
-I/src/gdb/insight-5.0/sim/ppc/../../include -I../../bfd
-I/src/gdb/insight-5.0/sim/ppc/../../bfd -I../../gdb
-I/src/gdb/insight-5.0/sim/ppc/../../gdb
-I/src/gdb/insight-5.0/sim/ppc/../../gdb/config
-I/src/gdb/insight-5.0/sim/ppc/../../mmalloc
/src/gdb/insight-5.0/sim/ppc/sim_calls.c
In file included from /src/gdb/insight-5.0/sim/ppc/sim_calls.c:43:
/src/gdb/insight-5.0/sim/ppc/../../gdb/defs.h:60: conflicting types for
`strsignal'
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/string.h:71:
previous declaration of `strsignal'
make[2]: *** [sim_calls.o] Error 1
make[2]: Leaving directory `/tmp/build/gdb/sim/ppc'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/build/gdb/sim'
make: *** [all-sim] Error 2
make: Leaving directory `/tmp/build/gdb'
I tried some workarounds to solve the problem changing file
"sim_calls.c", but without success.
Someone can give me a "light" on this question???
Thank you very much,
Fernando