This is the mail archive of the gdb@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]
Other format: [Raw text]

Building Error in GDB with Multi-ICE


Hello, eveyone,

I following the http://sources.redhat.com/ecos/multi-ice.html instruction to
build the gdb with multi-ice,
but when I want to build multi-ice-gdb-server in the final step, I encounted
the following error :

make -w MULTI_ICE_INCLUDES="-I/cygdrive/c/Rdi/Headers" \
MULTI_ICE_LIBS="-L/cygdrive/c/Multi-ICE -L/tmp/migdb/gdb-5.1.1/gdb/multi-ice
 -ltoolconf"
...
....
rdi150-low.c:146: `BIG_ENDIAN' undeclared here (not in a function)
rdi150-low.c:209: variable-size type declared outside of any function
rdi150-low.c: In function `low_open_target':
rdi150-low.c:408: `BIG_ENDIAN' undeclared (first use in this function)
rdi150-low.c:408: (Each undeclared identifier is reported only once
rdi150-low.c:408: for each function it appears in.)
rdi150-low.c:413: `LITTLE_ENDIAN' undeclared (first use in this function)
rdi150-low.c: In function `low_update_registers':
rdi150-low.c:902: `PS_REGNUM' undeclared (first use in this function)
rdi150-low.c: In function `low_write_registers':
rdi150-low.c:949: `PS_REGNUM' undeclared (first use in this function)
rdi150-low.c: In function `_low_thread_op':
rdi150-low.c:1780: `LR_REGNUM' undeclared (first use in this function)
rdi150-low.c:1783: `PS_REGNUM' undeclared (first use in this function)
make: *** [rdi150-low.o] Error 1

I had checked that there are no include file (.h) which define BIG_ENDIAN,
LITTLE_ENDIAN... etc identifiers.
I had checked the include file parh (the RDI/Headers) is correctly. Does
anyone can help to resolve this?
thank you in advance!



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