From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31487 invoked by alias); 13 Apr 2004 14:15:32 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 31475 invoked from network); 13 Apr 2004 14:15:29 -0000 Received: from unknown (HELO austin.kmvtechnologies.com) (209.198.134.17) by sources.redhat.com with SMTP; 13 Apr 2004 14:15:29 -0000 Received: from agoyal ([10.10.10.100]) by austin.kmvtechnologies.com with Microsoft SMTPSVC(5.0.2195.6713); Tue, 13 Apr 2004 09:18:24 -0500 Message-ID: <02b301c42162$29eaecb0$640a0a0a@austin.kmvtechnologies.com> From: "Ashish Goyal" To: Subject: Fw: error in ppc-linux-nat.c - cross-compiling gdb 61. for powerpc -linux Date: Tue, 13 Apr 2004 14:18:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 13 Apr 2004 14:18:24.0999 (UTC) FILETIME=[2EDD6770:01C42162] X-SW-Source: 2004-04/txt/msg00071.txt.bz2 Hi, My compilations fails in ppc-linux-nat.c . I am cross compiling gdb6.1 with gcc-3.3.1 on redhat linux 9.0. Here are the commands I run. ./configure --host=powerpc-linux --target=powerpc-linux --without-sim make Must remake target `ppc-linux-nat.o'. gcc -c -g -O2 -I. -I. -I./config -DLOCALEDIR="\"/usr/local/share/locale\" " -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../b fd -I./../include -I../intl -I./../intl -DMI_OUT=1 -DTUI=1 -Wimplicit -Wret urn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wunin itialized -Wformat-nonliteral -Wunused-label -Wunused-function ppc-linux-nat.c Putting child 0x08132218 (ppc-linux-nat.o) PID 28728 on the chain. Live child 0x08132218 (ppc-linux-nat.o) PID 28728 ppc-linux-nat.c: In function `ppc_register_u_addr': ppc-linux-nat.c:136: `PT_R0' undeclared (first use in this function) ppc-linux-nat.c:136: (Each undeclared identifier is reported only once ppc-linux-nat.c:136: for each function it appears in.) ppc-linux-nat.c:142: `PT_FPR0' undeclared (first use in this function) ppc-linux-nat.c:146: `PT_NIP' undeclared (first use in this function) ppc-linux-nat.c:148: `PT_LNK' undeclared (first use in this function) ppc-linux-nat.c:150: `PT_CCR' undeclared (first use in this function) ppc-linux-nat.c:152: `PT_XER' undeclared (first use in this function) ppc-linux-nat.c:154: `PT_CTR' undeclared (first use in this function) ppc-linux-nat.c:160: `PT_MSR' undeclared (first use in this function) ppc-linux-nat.c:162: `PT_FPSCR' undeclared (first use in this function) ppc-linux-nat.c: In function `fill_gregset': ppc-linux-nat.c:529: `PT_R0' undeclared (first use in this function) ppc-linux-nat.c:533: `PT_NIP' undeclared (first use in this function) ppc-linux-nat.c:535: `PT_LNK' undeclared (first use in this function) ppc-linux-nat.c:537: `PT_CCR' undeclared (first use in this function) ppc-linux-nat.c:539: `PT_XER' undeclared (first use in this function) ppc-linux-nat.c:541: `PT_CTR' undeclared (first use in this function) ppc-linux-nat.c:548: `PT_MSR' undeclared (first use in this function) ppc-linux-nat.c: In function `fill_fpregset': ppc-linux-nat.c:570: invalid operands to binary + ppc-linux-nat.c:573: invalid operands to binary + /usr/include/sys/stat.h: At top level: ppc-linux-nat.c:169: warning: `ppc_ptrace_cannot_fetch_store_register' defined but not used Got a SIGCHLD; 1 unreaped children. Reaping losing child 0x08132218 PID 28728 make[1]: *** [ppc-linux-nat.o] Error 1 Thanks, Ashish