🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by nagaraja Tue, 09 Apr 2002 07:06
gdb5.1 cross compilation Error
#2378
Author: nagaraja
Date: Tue, 09 Apr 2002 07:06
46 lines
2844 bytes
Hi,

I am triying to cross compile gdb5.1  for arm-linux  ,so  configured it
like:
/configure --targer=arm-linux   --host=arm-linux
--build=i586-pc-linux-gnu

configaration went through successfully. When I tried to run make I am
getting the following error:

gcc -c -g -O2    -I. -I. -I./config -DHAVE_CONFIG_H
-I./../include/opcode -I./..
/readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl
-DMI_OUT
=1 -DUI_OUT=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat
-Wparenthe
ses -Wpointer-arith -Wuninitialized  arm-linux-nat.c
arm-linux-nat.c: In function `fetch_register':
arm-linux-nat.c:413: structure has no member named `uregs'
arm-linux-nat.c:418: structure has no member named `uregs'
arm-linux-nat.c:420: structure has no member named `uregs'
arm-linux-nat.c:425: structure has no member named `uregs'
arm-linux-nat.c:425: structure has no member named `uregs'
arm-linux-nat.c:426: structure has no member named `uregs'
arm-linux-nat.c: In function `fetch_regs':
arm-linux-nat.c:450: structure has no member named `uregs'
arm-linux-nat.c:453: structure has no member named `uregs'
arm-linux-nat.c:455: structure has no member named `uregs'
arm-linux-nat.c:457: structure has no member named `uregs'
arm-linux-nat.c:457: structure has no member named `uregs'
arm-linux-nat.c:458: structure has no member named `uregs'
arm-linux-nat.c: In function `store_register':
arm-linux-nat.c:485: structure has no member named `uregs'
arm-linux-nat.c: In function `store_regs':
arm-linux-nat.c:515: structure has no member named `uregs'
make[1]: *** [arm-linux-nat.o] Error 1
make[1]: Leaving directory `/home/nags/projects/gdb-5.1/gdb'
make: *** [all-gdb] Error 2


I am using RedHat7.1 and have toolchain built.

Can I have some help to crosscompile gdb-5.1

Thanks and regards
Nagaraja
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads