From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpmailmta02.doteasy.com (dpmailmta02-08.doteasy.com [65.61.218.28]) by sourceware.org (Postfix) with ESMTPS id 56DE7385783A for ; Tue, 8 Sep 2020 19:54:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 56DE7385783A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=intellimetrix.us Authentication-Results: sourceware.org; spf=none smtp.mailfrom=doug@intellimetrix.us X-Default-Received-SPF: pass (skip=forwardok (res=PASS)) x-ip-name=192.168.101.81; Received: from dpmailrp01.doteasy.com (unverified [192.168.101.81]) by dpmailmta02.doteasy.com (DEO) with ESMTP id 62122955-1393315 for multiple; Tue, 08 Sep 2020 12:54:43 -0700 Received: from dpmail12.doteasy.com (dpmail12.doteasy.com [192.168.101.12]) by dpmailrp01.doteasy.com (8.14.4/8.14.4/Debian-8+deb8u2) with ESMTP id 088JsgMG016564; Tue, 8 Sep 2020 12:54:42 -0700 X-SmarterMail-Authenticated-As: doug@intellimetrix.us Received: from [192.168.1.149] (c-174-62-13-60.hsd1.nm.comcast.net [174.62.13.60]) by dpmail12.doteasy.com with SMTP; Tue, 8 Sep 2020 12:54:23 -0700 Subject: Re: gdb 9.2 won't build To: Joel Brobecker Cc: gdb@sourceware.org References: <4d177e3a-4a2f-06e4-5b74-5ec982d45eda@intellimetrix.us> <20200908171048.GE18641@adacore.com> From: Doug Abbott Message-ID: <842589e6-7085-0533-7e15-a7e279b3c123@intellimetrix.us> Date: Tue, 8 Sep 2020 13:54:22 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <20200908171048.GE18641@adacore.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Exim-Id: 842589e6-7085-0533-7e15-a7e279b3c123 X-Bayes-Prob: 0.0001 (Score 0, tokens from: base:default, @@RPTN) X-Spam-Score: 0.00 () [Hold at 5.00] X-CanIt-Geo: No geolocation information available for 192.168.101.12 X-CanItPRO-Stream: base:default X-Canit-Stats-ID: 013pvSG3R - de8af52e49bb - 20200908 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.168.101.81 X-Originating-IP: 192.168.101.81 X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_20, KAM_DMARC_STATUS, KAM_INFOUSMEBIZ, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, 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 19:54:47 -0000 Thanks for the hint Joel. I had to install the ncurses-devel and texinfo packages and then it built. Doug On 9/8/2020 11:10 AM, Joel Brobecker wrote: >> 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. > -- Doug Abbott Principal Consultant, Intellimetrix Linux for the Real World 575-590-2788 www.intellimetrix.us