This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
REGISTER_BYTES undeclared !!
- From: "mohanlal jangir" <mohanlaljangir at hotmail dot com>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Wed, 3 Sep 2003 14:42:48 -0700
- Subject: [ECOS] REGISTER_BYTES undeclared !!
Hi all,
I'm trying to build a version of gdb for arm that will work with the ARM
multi-ice jtag emulator...
I've followed the instructions in
http://sources.redhat.com/ecos/multi-ice.html to build gdb with the
multi-ice-gdb-server, and I am facing build problems. This is the comand I
issued to build multi-ice-gdb-server. I am using gdb-5.3 if it matters.
make -w MULTI_ICE_INCLUDES="-I/tmp/gdb_for_multi_ice/RDI_GPL/Headers"
MULTI_ICE_LIBS="-L/ecos-c/c/Program\
Files/ARM/Multi-ICE -L/tmp/migdb/gdb-5.3/gdb/multi-ice -ltoolconf" 2>&1 |
tee make.out
*** This is dump from make.out ***
make: Entering directory `/tmp/migdb/build/gdb/multi-ice'
gcc -DHAVE_CONFIG_H -I. -I/tmp/migdb/gdb-5.3/gdb/multi-ice -I. -I./.. -I/tmp
/migdb/gdb-5.3/gdb/multi-ice/../../include -I/tmp/migdb/gdb-5.3/gdb
/multi-ice/.. -I/tmp/migdb/gdb-5.3/gdb/multi-ice/../config -I../../bfd
-I /tmp/gdb_for_multi_ice/RDI_GPL/Headers -g -O2 -c
/tmp/migdb/gdb-5.3/gdb/multi-ice/server-main.c
In file included from /tmp/migdb/gdb-5.3/gdb/multi-ice/server-main.c:27:
../tm.h:44:1: warning: "IN_SOLIB_CALL_TRAMPOLINE" redefined
In file included from /tmp/migdb/gdb-5.3/gdb/defs.h:1037,
from /tmp/migdb/gdb-5.3/gdb/multi-ice/server-main.c:26:
/tmp/migdb/gdb-5.3/gdb/gdbarch.h:2316:1: warning: this is the location of
the previous definition
In file included from /tmp/migdb/gdb-5.3/gdb/multi-ice/server-main.c:27:
../tm.h:45:1: warning: "SKIP_TRAMPOLINE_CODE" redefined
In file included from /tmp/migdb/gdb-5.3/gdb/defs.h:1037,
from /tmp/migdb/gdb-5.3/gdb/multi-ice/server-main.c:26:
/tmp/migdb/gdb-5.3/gdb/gdbarch.h:2295:1: warning: this is the location of
the previous definition
In file included from /tmp/migdb/gdb-5.3/gdb/multi-ice/server-main.c:29:
/tmp/migdb/gdb-5.3/gdb/multi-ice/server.h:123: conflicting types for
`extract_unsigned_integer'
/tmp/migdb/gdb-5.3/gdb/defs.h:1076: previous declaration of
`extract_unsigned_integer'
/tmp/migdb/gdb-5.3/gdb/multi-ice/server.h:124: conflicting types for
`extract_signed_integer'
/tmp/migdb/gdb-5.3/gdb/defs.h:1074: previous declaration of
`extract_signed_integer'
/tmp/migdb/gdb-5.3/gdb/multi-ice/server-main.c: In function
`handle_read_registers':
/tmp/migdb/gdb-5.3/gdb/multi-ice/server-main.c:597: `REGISTER_BYTES'
undeclared (first use in this function)
/tmp/migdb/gdb-5.3/gdb/multi-ice/server-main.c:597: (Each undeclared
identifier is reported only once
/tmp/migdb/gdb-5.3/gdb/multi-ice/server-main.c:597: for each function it
appears in.)
/tmp/migdb/gdb-5.3/gdb/multi-ice/server-main.c: In function
`handle_write_registers':
/tmp/migdb/gdb-5.3/gdb/multi-ice/server-main.c:621: `REGISTER_BYTES'
undeclared (first use in this function)
make: *** [server-main.o] Error 1
make: Leaving directory `/tmp/migdb/build/gdb/multi-ice'
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss