Mail Archives: djgpp-workers/2001/12/04/06:34:56
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 -