Mail Archives: djgpp-workers/2001/12/04/07:49:04
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
- Raw text -