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]

trying to cross-compile gdb-5.3


Hi,

I'm trying to cross compile gdb-5.3 to arm, but I had
same errors while doing "make".  I did a
"CC=arm-linux-gcc ./configure" and everything was ok
(no errors) then i did "make", I got this error below.

Thanks a lot, and I would really appreciate anyone's
help.

joyce

-Wmissing-prototypes -g -O2 -c elf32-gen.c -o
elf32-gen.o
/bin/sh ./libtool --mode=compile arm-linux-gcc
-DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE  
-DTRAD_CORE   -I. -I. -I./../include  -I./../intl
-I../intl   -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -g -O2 -c cpu-i386.c
arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.
-D_GNU_SOURCE -DTRAD_CORE -I. -I. -I./../include
-I./../intl -I../intl -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -g -O2 -c cpu-i386.c -o
cpu-i386.o
/bin/sh ./libtool --mode=compile arm-linux-gcc
-DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE  
-DTRAD_CORE   -I. -I. -I./../include  -I./../intl
-I../intl   -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -g -O2 -c trad-core.c
arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.
-D_GNU_SOURCE -DTRAD_CORE -I. -I. -I./../include
-I./../intl -I../intl -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -g -O2 -c trad-core.c -o
trad-core.o
trad-core.c: In function `trad_unix_core_file_p':
trad-core.c:122: `NBPG' undeclared (first use in this
function)
trad-core.c:122: (Each undeclared identifier is
reported only once
trad-core.c:122: for each function it appears in.)
trad-core.c:122: `UPAGES' undeclared (first use in
this function)
trad-core.c:191: `HOST_TEXT_START_ADDR' undeclared
(first use in this function)
trad-core.c:197: `HOST_STACK_END_ADDR' undeclared
(first use in this function)
make[3]: *** [trad-core.lo] Error 1
make[3]: Leaving directory `/root/gdb-5.3/bfd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/gdb-5.3/bfd'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/root/gdb-5.3/bfd'
make: *** [all-bfd] Error 2
[root@euclid gdb-5.3]# ls


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


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