This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


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

RE: gdb build error



On 21-Aug-2001 nagaraja wrote:
> Hello
> 
>         I am build ing ARM THUMB development tools for Linux , using the
> fallowing version
> 
>         1. gcc-3.0
>         2.gcc-core-3.0
>         3.gcc-g++-3.0
>         4.gdb-5.0
> 
> while building gdb i got the fallowing error,any idea what went wrong.
> 
>  Thanks
> Nagaraja
> 
> or Cygnus"'    -g -O2 -c /src/gdb/gdb-5.0/gdb/rdi-share/angel_bytesex.c
> 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/src/gdb/gdb-5.0/gdb/rdi-share  -DRETRANS -DARM_RELEASE='"Berkeley
> Licence for Cygnus"'    -g -O2 -c /src/gdb/gdb-5.0/gdb/rdi-share/crc.c
> 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/src/gdb/gdb-5.0/gdb/rdi-share  -DRETRANS -DARM_RELEASE='"Berkeley
> Licence for Cygnus"'    -g -O2 -c /src/gdb/gdb-5.0/gdb/rdi-share/devsw.c
> 
> /src/gdb/gdb-5.0/gdb/rdi-share/devsw.c: In function `openLogFile':
> /src/gdb/gdb-5.0/gdb/rdi-share/devsw.c:39: storage size of `lt' isn't
> known
> /src/gdb/gdb-5.0/gdb/rdi-share/devsw.c: In function `closeLogFile':
> /src/gdb/gdb-5.0/gdb/rdi-share/devsw.c:69: storage size of `lt' isn't
> known
> make[2]: *** [devsw.o] Error 1
> make[2]: Leaving directory `/tmp/build/gdb/gdb/rdi-share'
> make[1]: *** [rdi-share/libangsd.a] Error 2
> make[1]: Leaving directory `/tmp/build/gdb/gdb'
> make: *** [all-gdb] Error 2
> make: Leaving directory `/tmp/build/gdb'
> [root@nags gdb]#

Yes, we know about this one.  Just add this line to that file:
  #include <time.h>


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