This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


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

Crocc GDB for powerpc-eabi



Hi all.

I hope someone can point my to my error here.
I am compiling gdb for a powerpc-eabi target.
Host is a i586 linux.  gcc used for the compile is
2.8.1

The error I get is:

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../../../gdb-4.17/sim/ppc 
-I../../../gdb-4.17/sim/ppc/../../include 
-I../../bfd -I../../../gdb-4.17/sim/ppc/../../bfd 
-I../../gdb -I../../../gdb-4.17/sim/ppc/../../gdb  
-I../../../gdb-4.17/sim/ppc/../../gdb/config 
-I../../../gdb-4.17/sim/ppc/../../mmalloc 
../../../gdb-4.17/sim/ppc/emul_unix.c
In file included from /usr/include/sys/ioctl.h:30,
                 from /usr/include/sys/mount.h:27,
                 from ../../../gdb-4.17/sim/ppc/emul_unix.c:113:
/usr/include/ioctl-types.h:37: redefinition of `struct termios'
make[2]: *** [emul_unix.o] Error 1
make[2]: Leaving directory `/home/gmcfadden/ppc/build-gdb/sim/ppc'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/gmcfadden/ppc/build-gdb/sim'
make: *** [all-sim] Error 2
 
Does this error make any sense?

Gord
--
gmcfadden@westsoft-systems.com       Westsoft Systems Inc
http://www.westsoft-systems.com      604 644 4180

Real Time Programming and System Development

_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.

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