This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


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

Re: Hi


Hi,

In these cases you only need to send the compilation that failed.  For
instance,
the following would suffice:

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/insight/insight-5.0/sim/ppc
-I/src/insight/insight-5.0/sim/ppc/../../include -I../../bfd
-I/src/insight/insight-5.0/sim/ppc/../../bfd -I../../gdb
-I/src/insight/insight-5.0/sim/ppc/../../gdb
-I/src/insight/insight-5.0/sim/ppc/../../gdb/config
-I/src/insight/insight-5.0/sim/ppc/../../mmalloc
/src/insight/insight-5.0/sim/ppc/sim_calls.c
In file included from /src/insight/insight-5.0/sim/ppc/sim_calls.c:43:
/src/insight/insight-5.0/sim/ppc/../../gdb/defs.h:60: conflicting types
for `strsignal'
/usr/include/string.h:70: previous declaration of `strsignal'
make[2]: *** [sim_calls.o] Error 1
make[2]: Leaving directory `/tmp/build/insight/sim/ppc'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/build/insight/sim'
make: *** [all-sim] Error 2
make: Leaving directory `/tmp/build/insight'


What is your host system and what arguments did you pass to configure?

It seems that strsignal is being redefined in gdb/defs.c...


I would suggest you get a newer gdb snapshot from:

     http://sources.redhat.com

The 5.0 gdb is getting old.





-- 
Fernando Nasser
Red Hat Canada Ltd.                     E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9


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