This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: GDB for PowerPC target for cygwin
- To: Momchil Velikov <velco at fadata dot bg>
- Subject: Re: GDB for PowerPC target for cygwin
- From: Jerry Hidayat <jerry at oncoresystems dot com>
- Date: Wed, 5 Sep 2001 09:23:48 -0500
- Cc: gdb at sourceware dot cygnus dot com
- References: <01090412532901.07728@asia> <m3u1yi5dup.fsf@freon.briz.fadata.bg>
Thanks Velco,
if you can't find strsignal in gdb/defs.h, it means that you are using a
development version of GDB. Thanks anyway.
Jerry
On Wednesday 05 September 2001 01:52, Momchil Velikov wrote:
> >>>>> "Jerry" == Jerry Hidayat <jerry@oncoresystems.com> writes:
>
> Jerry> ******************************************************
> Jerry> In file included from sim_calls.c:43:
> Jerry> ../../gdb/defs.h:51: conflicting types for 'strsignal'
> Jerry> /usr/include/string.h:70: previous declaration of 'strsignal'
> Jerry> make[2]: *** [sim_calls.o] Error 1
> Jerry> make[2]: Leaving directory '/home/paulh/gdb417/gdb-4.17/sim/ppc'
> Jerry> make[1]: *** [all] Error 2
> Jerry> make[1]: Leaving directory '/home/paulh/gdb417/gdb-4.17/sim'
> Jerry> make: *** [all-sim] Error 2
> Jerry> *******************************************************
>
> Jerry> If you guys have any suggestions or ideas what I need to do, please
> help me.
>
> How about upgrading CYGWIN or gdb or both ?
>
> In my c:/cygwin/usr/include/string.h there is
>
> #ifdef __CYGWIN__
> #ifndef DEFS_H /* Kludge to work around problem compiling in gdb */
> const char *_EXFUN(strsignal, (int __signo));
> #endif
> int _EXFUN(strtosigno, (const char *__name));
> #endif
>
> and in gdb/defs.h there is no strsignal at all :-)
>
> Regards,
> -velco