This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Compiling error


Hi

I'm new to the list and also quite new to gdb. I'm trying to use gdb to work
with an embedded PPC board. After some useless fiddling around it finally
came to my mind that I need to compile my own gdb which works with
--target=powerpc-elf32.

I have MSYS/MinGW/Cygwin. Configure went ok. But make gives this:

make[1]: Entering directory `/home/Fabi/gdb-6.1.1/ppc/readline'
rm -f rltty.o
gcc -c -DHAVE_CONFIG_H   -I. -I../../gdb-6.1.1/readline -DRL_LIBRARY_VERSION='"4.3"' -g -O2 ../../gdb-6.1.1/readline/rltty.c
In file included from ../../gdb-6.1.1/readline/rltty.c:44:
../../gdb-6.1.1/readline/rltty.h:42:21: sgtty.h: No such file or directory
../../gdb-6.1.1/readline/rltty.c:166: field `sgttyb' has incomplete type
../../gdb-6.1.1/readline/rltty.c:175: confused by earlier errors, bailing out
make[1]: *** [rltty.o] Error 1
make[1]: Leaving directory `/home/Fabi/gdb-6.1.1/ppc/readline'
make: *** [all-readline] Error 2

I couldn't find this sgtty.h neither in gdb nor in MSYS, MinGW
or Cygwin. What else do I need to compile gdb on Windows?
Or should I take the DJGPP road?

Thanks

bye  Fabi



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