From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rock.gnat.com (rock.gnat.com [IPv6:2620:20:4000:0:a9e:1ff:fe9b:1d1]) by sourceware.org (Postfix) with ESMTP id 813A6385702E for ; Tue, 8 Sep 2020 17:10:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 813A6385702E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=brobecker@adacore.com Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 4821256186; Tue, 8 Sep 2020 13:10:50 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at gnat.com Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Lwd4Tu5dHMMK; Tue, 8 Sep 2020 13:10:50 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 1AFA056185; Tue, 8 Sep 2020 13:10:50 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 96D83849D1; Tue, 8 Sep 2020 10:10:48 -0700 (PDT) Date: Tue, 8 Sep 2020 10:10:48 -0700 From: Joel Brobecker To: Doug Abbott Cc: gdb@sourceware.org Subject: Re: gdb 9.2 won't build Message-ID: <20200908171048.GE18641@adacore.com> References: <4d177e3a-4a2f-06e4-5b74-5ec982d45eda@intellimetrix.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4d177e3a-4a2f-06e4-5b74-5ec982d45eda@intellimetrix.us> User-Agent: Mutt/1.9.4 (2018-02-28) X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Sep 2020 17:10:51 -0000 > I'm trying to build gdb 9.2 natively on a Linux x86_64 machine, a guest > running under VirtualBox on Windows 10. The linker is throwing a number of > "undefined reference" symbols like tputs and tgetflag which appear to have > something to do with ncurses and/or termcap. > > I tried the configure command shown in the wiki under building natively, > adding --disable-tui because that fixed a different problem. I'm guessing > I'm missing a library, but which one? > > The reason I'm going through this exercise is that gdb 7.6 that comes with > CentOS 7 won't read the python support functions for KGDB. It complains > about "missing attribute COMPLETE_EXPRESSION". Try maybe forcing the use of ncuses by configuring GDB --with-curses? You might get an error if you don't have the ncurses headers installed; if that happens, install the ncurses dev package, and then try again. -- Joel