Failure Building Insight under cygwin 1.1.2

Chris Faylor cgf@cygnus.com
Mon Jul 10 11:03:00 GMT 2000


On Mon, Jul 10, 2000 at 05:14:03PM +0000, fernando@stratus.swi.com.br wrote:
>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???

Remove the declaration in gdb/defs.h.

cgf


More information about the Gdb mailing list