From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29123 invoked by alias); 28 Jun 2005 19:35:49 -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 29109 invoked by uid 22791); 28 Jun 2005 19:35:40 -0000 Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 28 Jun 2005 19:35:40 +0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.0/8.13.0) with ESMTP id j5SJZLUj032625; Tue, 28 Jun 2005 21:35:21 +0200 (CEST) Received: from elgar.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.13.4/8.13.3) with ESMTP id j5SJZKZE017590; Tue, 28 Jun 2005 21:35:20 +0200 (CEST) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.4/8.13.4/Submit) id j5SJZGlQ000847; Tue, 28 Jun 2005 21:35:16 +0200 (CEST) Date: Tue, 28 Jun 2005 19:35:00 -0000 Message-Id: <200506281935.j5SJZGlQ000847@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: neuwald@inf.ufsc.br CC: gdb@sources.redhat.com In-reply-to: <20050628102011.lnwo9p96owcokck4@webmail.inf.ufsc.br> (neuwald@inf.ufsc.br) Subject: Re: GDB error References: <6097c490506240642317a9836@mail.gmail.com> <20050628102011.lnwo9p96owcokck4@webmail.inf.ufsc.br> X-SW-Source: 2005-06/txt/msg00297.txt.bz2 Date: Tue, 28 Jun 2005 10:20:11 -0300 From: neuwald@inf.ufsc.br Hello, I want install gdb-6.3 for mips-tx39-elf target, but when I do a make: make -w all install CC='gcc -mwin32' 2>&1 | tee make.out I got the followin error: gcc -mwin32 -c -DHAVE_CONFIG_H -g -O2 -I. -I/src/gdb/gdb-6.3/libiberty/../inclu de -W -Wall -Wtraditional -pedantic /src/gdb/gdb-6.3/libiberty/lrealpath.c -o l realpath.o /src/gdb/gdb-6.3/libiberty/lrealpath.c: In function `lrealpath': /src/gdb/gdb-6.3/libiberty/lrealpath.c:140: error: `MAX_PATH' undeclared (first use in this function) /src/gdb/gdb-6.3/libiberty/lrealpath.c:140: error: (Each undeclared identifier i s reported only once /src/gdb/gdb-6.3/libiberty/lrealpath.c:140: error: for each function it appears in.) /src/gdb/gdb-6.3/libiberty/lrealpath.c:142: error: `DWORD' undeclared (first use in this function) /src/gdb/gdb-6.3/libiberty/lrealpath.c:142: error: parse error before "len" /src/gdb/gdb-6.3/libiberty/lrealpath.c:143: error: `len' undeclared (first use i n this function) /src/gdb/gdb-6.3/libiberty/lrealpath.c:150: warning: implicit declaration of fun ction `CharLowerBuff' /src/gdb/gdb-6.3/libiberty/lrealpath.c:140: warning: unused variable `buf' /src/gdb/gdb-6.3/libiberty/lrealpath.c:141: warning: unused variable `basename' make[1]: *** [lrealpath.o] Error 1 make[1]: Leaving directory `/tmp/build/gdb/libiberty' make: *** [all-libiberty] Error 2 make: Leaving directory `/tmp/build/gdb' How can i fix this? Get yourself a real operating system ;-). Or pretend you have one by installing Cygwin. Mark