gdb compilation problem

Andrew Cagney ac131313@cygnus.com
Wed Jun 12 09:12:00 GMT 2002


> -- 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




More information about the Gdb mailing list