delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/12/04/06:34:56

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
Date: Tue, 4 Dec 2001 13:32:59 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Pierre Muller <muller AT cerbere DOT u-strasbg DOT fr>
cc: djgpp-workers AT delorie DOT com
Subject: Re: GDB CVS build problems.
In-Reply-To: <4.2.0.58.20011204112907.019e92b8@ics.u-strasbg.fr>
Message-ID: <Pine.SUN.3.91.1011204132353.27224B-100000@is>
MIME-Version: 1.0
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

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.

>    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.

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.

However, I really suggest to build without NLS; see above.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019