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]

Re: gdb compilation problem


-- Forgot to mention error line numbers

Hi,
        I am trying to compile, gdb for arm-elf target
        on RedHat linux 7.1-kernel 2.4.2-2

        while compiling devsw.c (gdb-5.0/gdb/rdi-share/devsw.c)
        I am getting an error

            devsw.c : In function `openLogFile`
            devsw.c : 39 : storage size of `lt` isn't known
            devsw.c : In function `closeLogFile` :
            devsw.c : 69 : storage size of `lt` isn't known

        Can any one, help me in fixing this problem ?

        Thanks in advance
            Vinayak

That is a very out-of-date version of GDB. Try downloading and building something more recent. See:

http://sources.redhat.com/gdb/download/ (last release)
http://sources.redhat.com/gdb/current/ (current development sources)

Andrew




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