From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14617 invoked by alias); 29 Nov 2009 20:57:18 -0000 Received: (qmail 14609 invoked by uid 22791); 29 Nov 2009 20:57:18 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 29 Nov 2009 20:57:13 +0000 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nATKvBEG013654 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 29 Nov 2009 15:57:12 -0500 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nATKv9Qo011805 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 29 Nov 2009 15:57:11 -0500 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.3/8.14.3) with ESMTP id nATKv9bG009514; Sun, 29 Nov 2009 21:57:09 +0100 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.3/8.14.3/Submit) id nATKv7BT009511; Sun, 29 Nov 2009 21:57:07 +0100 Date: Sun, 29 Nov 2009 20:57:00 -0000 From: Jan Kratochvil To: gdb-patches@sourceware.org Cc: Doug Evans Subject: [patch] Fix build if using --with-system-readline Message-ID: <20091129205707.GA9408@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-08-17) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2009-11/txt/msg00595.txt.bz2 Hi, ./configure --enable-targets=all --with-system-readline; make -> gcc -g -O2 -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./gnulib -Ignulib -DMI_OUT=1 -DTUI=1 -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wno-switch -Wno-char-subscripts -Werror -c -o frv-tdep.o -MT frv-tdep.o -MMD -MP -MF .deps/frv-tdep.Tpo frv-tdep.c frv-tdep.c:35:60: error: opcodes/frv-desc.h: No such file or directory (it is not `make -j' race) because with --with-system-readline there is no: -I./../readline/.. OK to check-in? Thanks, Jan gdb/ 2009-11-29 Jan Kratochvil Fix build if using --with-system-readline. * Makefile.in (OPCODES_CFLAGS): Add `-I$(OPCODES_DIR)/..'. --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -301,7 +301,7 @@ OPCODES = $(OPCODES_DIR)/libopcodes.a # Where are the other opcode tables which only have header file # versions? OP_INCLUDE = $(INCLUDE_DIR)/opcode -OPCODES_CFLAGS = -I$(OP_INCLUDE) +OPCODES_CFLAGS = -I$(OP_INCLUDE) -I$(OPCODES_DIR)/.. # The simulator is usually nonexistent; targets that include one # should set this to list all the .o or .a files to be linked in.