X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f Message-Id: <4.2.0.58.20011204134547.0147db30@ics.u-strasbg.fr> X-Sender: muller AT ics DOT u-strasbg DOT fr X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Tue, 04 Dec 2001 13:47:47 +0100 To: djgpp-workers AT delorie DOT com From: Pierre Muller Subject: Re: GDB CVS build problems. In-Reply-To: References: <4 DOT 2 DOT 0 DOT 58 DOT 20011204112907 DOT 019e92b8 AT ics DOT u-strasbg DOT fr> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-MIME-Autoconverted: from 8bit to quoted-printable by cerbere.u-strasbg.fr id NAA09139 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id fB4CldE18717 Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk At 12:32 04/12/2001 , vous avez écrit: >On Tue, 4 Dec 2001, Pierre Muller wrote: > > > Trying to build GDB from CVS I ran into more problems: > >I told you you should try with GDB 5.1 ;-) > >Seriously, though: several changes were introduced on the development >trunk recently that affect the DJGPP port, none of them by me, and I >didn't yet have time to test them. As long as the release branch stays >open (there's talk about GDB 5.1.1), I probably won't switch to the >trunk, so the CVS version is completely unsupported for the moment, as >far as DJGPP is concerned. You _have_ been warned... > > > go32-nat.c:496: undefined reference to `register_buffer' > >That's one of the recent changes I mentioned above. I don't know what to >tell you, but perhaps post the problem to the GDB mailing list. I fixed that. I will try to submit that to gdb-patches. > > As I have libintl.a installed, > > the configure uses it and I > > get undefined references to 'dgettext' > > because -lintl does not get added to the > > list of needed libs. > >I don't understand this one: src/gdb/config/djgpp/djconfig.sh explicitly >invokes the configure script with the --disable-nls option. Are you >saying that the configure script ignores that option and tries to link in >libintl.a anyway? If so, it's a bug in the configure script, so please >report it to the GDB list. > >Or perhaps you didn't use djconfig.sh to configure? If so, you will have >more problems down the line; I suggest not to go that way. That's indeed what I did... >In addition, if you are building after sync'ing with CVS, you might have >more problems due to file renaming that isn't done. So I'd suggest to >download a snapshot and built that instead of building directly from CVS. > > > I still get an error: > > f:/djgpp2000/lib/libintl.a(dcigettext.o): In function `_nl_find_msg': > > dcigettext.c:872: undefined reference to `libiconv' > >That's expected if you link in libintl: it requires libiconv.a. You >should be able to find it on SimTel.NET. Is the no way to insert a dependency on a library into a library ? But adding the two libraries allowed me to complie trunck CVS GDB . Pierre Muller Institut Charles Sadron 6,rue Boussingault F 67083 STRASBOURG CEDEX (France) mailto:muller AT ics DOT u-strasbg DOT fr Phone : (33)-3-88-41-40-07 Fax : (33)-3-88-41-40-99