This is the mail archive of the gdb-prs@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]

gdb/62: gdb/rdi-share/devsw.c:39: storage size of `lt' isn't known



>Number:         62
>Category:       gdb
>Synopsis:       gdb/rdi-share/devsw.c:39: storage size of `lt' isn't known
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 14 11:47:59 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     wjasper@tx.ncsu.edu
>Release:        gdb 5.0
>Organization:
>Environment:
redhat linux 7.1
>Description:
When buiding a cross compiler for gdb for the arm-elf,
I get the following error:

gcc -DPACKAGE=\"rdi-share\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRTOD=1 -DHAVE_STRTOUL=1 -DHAVE_MEMCPY=1 -DHAVE_MEMMOVE=1  -I. -I/usr/local/src/gdb/gdb-5.0/gdb/rdi-share  -DRETRANS -DARM_RELEASE='"Berkeley Licence for Cygnus"'    -g -O2 -c /usr/local/src/gdb/gdb-5.0/gdb/rdi-share/devsw.c
/usr/local/src/gdb/gdb-5.0/gdb/rdi-share/devsw.c: In function `openLogFile':
/usr/local/src/gdb/gdb-5.0/gdb/rdi-share/devsw.c:39: storage size of `lt' isn't known
/usr/local/src/gdb/gdb-5.0/gdb/rdi-share/devsw.c: In function `closeLogFile':
/usr/local/src/gdb/gdb-5.0/gdb/rdi-share/devsw.c:69: storage size of `lt' isn't known
>How-To-Repeat:

>Fix:
missing include file in gdb-5.0/gdb/rdi-share/devsw.c:

#include <time.h>
>Release-Note:
>Audit-Trail:
>Unformatted:


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