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]

Re: gdbserver build


>>>>> "Fabrice" == Fabrice Gautier <gautier@email.enst.fr> writes:
Fabrice> Then, sticking to README instructions: 
Fabrice>
Fabrice> gdb-5.0/gdb/gdbserver $ ../../configure i386-pc-linux-gnu
Fabrice>
Fabrice> This works well, but then i do:
Fabrice>
Fabrice> gdb-5.0/gdb/gdbserver $ make CC=gcc 
Fabrice>
Fabrice> and this fails with:
Fabrice>
Fabrice> In file included from server.h:21,
Fabrice>                  from utils.c:21:
Fabrice> ../defs.h:26: config.h: No such file or directory
Fabrice> In file included from server.h:21,
Fabrice>                  from utils.c:21:
Fabrice> ../defs.h:69: bfd.h: No such file or directory
Fabrice> [etc]

Have you configure and built a GDB in the same object directory that
you're trying to build gdbserver?

        --jtc

-- 
J.T. Conklin
RedBack Networks


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