* GDB for PowerPC target for cygwin
@ 2001-09-04 10:51 Jerry Hidayat
2001-09-04 23:49 ` Momchil Velikov
0 siblings, 1 reply; 3+ messages in thread
From: Jerry Hidayat @ 2001-09-04 10:51 UTC (permalink / raw)
To: gdb
Hello,
I need your help guys....
Basically, I am trying to build GDB 4.17 for PowerPC target. I have installed
the latest cygwin on my Win NT 4.0 box which also provides a compiler
(2.95.3-5). Here is the command I put for configuring GDB builder ,
./configure --target=powerpc-linux-gnu --prefix=/usr/local/powerpc/bin
it's configured without any error message.
but when I do 'make' I see this error,
******************************************************
In file included from sim_calls.c:43:
../../gdb/defs.h:51: conflicting types for 'strsignal'
/usr/include/string.h:70: previous declaration of 'strsignal'
make[2]: *** [sim_calls.o] Error 1
make[2]: Leaving directory '/home/paulh/gdb417/gdb-4.17/sim/ppc'
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/paulh/gdb417/gdb-4.17/sim'
make: *** [all-sim] Error 2
*******************************************************
If you guys have any suggestions or ideas what I need to do, please help me.
Jerry Hidayat
Software Engineer
OnCore Systems Corp.
Bancroft, IA 50517
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: GDB for PowerPC target for cygwin
2001-09-04 10:51 GDB for PowerPC target for cygwin Jerry Hidayat
@ 2001-09-04 23:49 ` Momchil Velikov
2001-09-05 7:22 ` Jerry Hidayat
0 siblings, 1 reply; 3+ messages in thread
From: Momchil Velikov @ 2001-09-04 23:49 UTC (permalink / raw)
To: Jerry Hidayat; +Cc: gdb
>>>>> "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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: GDB for PowerPC target for cygwin
2001-09-04 23:49 ` Momchil Velikov
@ 2001-09-05 7:22 ` Jerry Hidayat
0 siblings, 0 replies; 3+ messages in thread
From: Jerry Hidayat @ 2001-09-05 7:22 UTC (permalink / raw)
To: Momchil Velikov; +Cc: gdb
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-09-05 7:22 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-04 10:51 GDB for PowerPC target for cygwin Jerry Hidayat
2001-09-04 23:49 ` Momchil Velikov
2001-09-05 7:22 ` Jerry Hidayat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox