This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Problem compiling 6.2 on dec alpha
Hmmm, try editing bfd-in.h and bfd-in2.h and adding
this line near the top:
#include "bfdlink.h"
I suspect that the Digital Unix compiler is bitching about a parameter
mismatch because it has an incomplete definition of struct bfd_link_info
when it parses the prototype for bfd_get_relocated_section_contents, and
then later on it has a complete definition of struct bfd_link_info when
it parses definition for bfd_get_relocated_section_contents.
Or, you could try using gcc to build gdb. I recently built gdb 6.0 on
native alphaev56-dec-osf4.0g with gcc 3.3.4. I can't build any later
gdb's because they run into PR gdb/1626. I haven't tried actually
*running* gdb on osf 4.0 after I built it, though.
Hope this helps,
Michael Chastain