This is the mail archive of the gdb-patches@sourceware.cygnus.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]

problem with 5.0 branch building on irix (arm target)



Maybe my situation is too obscure, and you all shouldn't be bothered. If
so let me know.

Now I'm building for an embedded arm target.  If there is a way of turning
remote-rdi off, I couldn't find it. It looks like it gets built by default
in gdb/configure.tgt(line 58) Anyway, the build dies in 
gdb/rdi-share/unixcomm.c.  SERPORT1 et. al. never get defined because we
aren't one of the architectures supported.

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 -DHAVE_SYS_FILIO_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/rib/gdb-5.0/src//gdb/rdi-share  -DRETRANS -DARM_RELEASE='"Berkeley Licence for Cygnus"'    -O2 -c /usr/local/src/rib/gdb-5.0/src//gdb/rdi-share/unixcomm.c
/usr/local/src/rib/gdb-5.0/src//gdb/rdi-share/unixcomm.c: In function `Unix_MatchValidSerialDevice':
/usr/local/src/rib/gdb-5.0/src//gdb/rdi-share/unixcomm.c:136: `SERPORT1' undeclared (first use in this function)
/usr/local/src/rib/gdb-5.0/src//gdb/rdi-share/unixcomm.c:136: (Each undeclared identifier is reported only once
/usr/local/src/rib/gdb-5.0/src//gdb/rdi-share/unixcomm.c:136: for each function it appears in.)
/usr/local/src/rib/gdb-5.0/src//gdb/rdi-share/unixcomm.c:145: `SERIAL_PREFIX' undeclared (first use in this function)
/usr/local/src/rib/gdb-5.0/src//gdb/rdi-share/unixcomm.c:155: `SERPORT2' undeclared (first use in this function)
/usr/local/src/rib/gdb-5.0/src//gdb/rdi-share/unixcomm.c: In function `Unix_IsValidParallelDevice':
/usr/local/src/rib/gdb-5.0/src//gdb/rdi-share/unixcomm.c:396: `SERPORT1' undeclared (first use in this function)
/usr/local/src/rib/gdb-5.0/src//gdb/rdi-share/unixcomm.c:397: `PARPORT1' undeclared (first use in this function)
/usr/local/src/rib/gdb-5.0/src//gdb/rdi-share/unixcomm.c:419: `SERPORT2' undeclared (first use in this function)
/usr/local/src/rib/gdb-5.0/src//gdb/rdi-share/unixcomm.c:433: `PARPORT2' undeclared (first use in this function)
gmake: *** [unixcomm.o] Error 1

Removing rdi and friends from the makefile allows it to build nicely.

-David



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