This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: GDB for Powerpc building problem


Hi Jerry,
Try to put #include defs.h line before line #include string.h
in file sim_calls.c
Hope it works.
/Mohammad


--- Jerry Hidayat <jerry@oncoresystems.com> wrote:
> 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
>
>
> --
> Unsubscribe info:
> http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]