I have GCC 3.0.1 installed on a win32 machine and I am trying to build
Insight 5.0 for the powerpc-unknown-eabi platform using cygwin.  When
I try to compile the sources I get the following error:

gcc -mwin32 -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/home/koufakit/gnu/gdb/insight-5.0/sim/ppc -I/hom
e/koufakit/gnu/gdb/insight-5.0/sim/ppc/../../include -I../../bfd
-I/home/koufaki
t/gnu/gdb/insight-5.0/sim/ppc/../../bfd -I../../gdb
-I/home/koufakit/gnu/gdb/ins
ight-5.0/sim/ppc/../../gdb 
-I/home/koufakit/gnu/gdb/insight-5.0/sim/ppc/../../g
db/config -I/home/koufakit/gnu/gdb/insight-5.0/sim/ppc/../../mmalloc
/home/koufa
kit/gnu/gdb/insight-5.0/sim/ppc/sim_calls.c
In file included from
/home/koufakit/gnu/gdb/insight-5.0/sim/ppc/sim_calls.c:43:

/home/koufakit/gnu/gdb/insight-5.0/sim/ppc/../../gdb/defs.h:60:
conflicting type
s for `strsignal'
/usr/include/string.h:70: 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'

In def.h I find the following prototype:
/* libiberty.h can't declare this one, but evidently we can.  */
extern char *strsignal (int);

And in string.h I find the following:
#ifndef DEFS_H  /* Kludge to work around problem compiling in gdb */
const char  *_EXFUN(strsignal, (int __signo));
#endif

Any help on how to get around this problem would be greatly
appreciated...

_______________________________________________
Bug-gdb mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gdb

Reply via email to