Mailinglist Archive: opensuse-programming (32 mails)
| < Previous | Next > |
Re: Debug C++
- From: Jesse Marlin <jlm@xxxxxxxxxxx>
- Date: Tue, 9 Jul 2002 09:45:44 -0400
- Message-id: <15658.59656.712261.782759@xxxxxxxxxxxxxxxx>
Setyo Nugroho writes:
> Hi Jesse & John,
> I am using gdb version 5.1.1. Following your tips, I just tried to install
> gdb 5.2.
Try installing package ncurses-devel. And then do a 'make distclean'
in the gdb-5.2 source.
>
> Now I am facing an installation problem. The last few lines after typing
> ./configure show flwg messages:
>
> checking compiler warning flags... -Wimplicit -Wreturn-type -Wcomment
> -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized
> checking for cygwin... no
> checking for tgetent in -lncurses... (cached) no
> checking for tgetent in -lHcurses... no
> checking for tgetent in -ltermlib... no
> checking for tgetent in -ltermcap... (cached) no
> checking for tgetent in -lcurses... (cached) no
> checking for tgetent in -lterminfo... no
> configure: error: Could not find a term library
>
> Then 'make'-command does have any effect. So the installation failed.
>
> gcc I am using is that of version 2.95.3. The newer version gcc 3.0 has been
> installed as well, and is occasionally used.
>
> regards,
> setyo
>
>
> > Setyo Nugroho writes:
> > > Hi John,
> > > No, init.c is not mentioned anywhere in the program.
> > >
> > > Even for a simple prog like below, I cannot display (list) the prog us
> > ing
> > > gdb.
> >
> > What version of gdb? I have had varying success with different 5.x
> > versions of gdb. 5.2 seems to be the best 5.x yet. A lot of the revampi
> > ng
> > of gdb had to do with C++, so I would try downloading and recompiling
> > a newer version than the one you have. I think you can find them here:
> >
> > ftp://ftp.gnu.org/gnu/gdb
> >
> > We have a lot of problems with 5.x gdb on other architectures just using
> > it
> > to debug C. We have had to stick with 4.17 on Sun, and 4.18 on Compaq ju
> > st
> > to debug anything. The linux stuff seems to be half way decent.
> >
> >
>
> --
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net
> Hi Jesse & John,
> I am using gdb version 5.1.1. Following your tips, I just tried to install
> gdb 5.2.
Try installing package ncurses-devel. And then do a 'make distclean'
in the gdb-5.2 source.
>
> Now I am facing an installation problem. The last few lines after typing
> ./configure show flwg messages:
>
> checking compiler warning flags... -Wimplicit -Wreturn-type -Wcomment
> -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized
> checking for cygwin... no
> checking for tgetent in -lncurses... (cached) no
> checking for tgetent in -lHcurses... no
> checking for tgetent in -ltermlib... no
> checking for tgetent in -ltermcap... (cached) no
> checking for tgetent in -lcurses... (cached) no
> checking for tgetent in -lterminfo... no
> configure: error: Could not find a term library
>
> Then 'make'-command does have any effect. So the installation failed.
>
> gcc I am using is that of version 2.95.3. The newer version gcc 3.0 has been
> installed as well, and is occasionally used.
>
> regards,
> setyo
>
>
> > Setyo Nugroho writes:
> > > Hi John,
> > > No, init.c is not mentioned anywhere in the program.
> > >
> > > Even for a simple prog like below, I cannot display (list) the prog us
> > ing
> > > gdb.
> >
> > What version of gdb? I have had varying success with different 5.x
> > versions of gdb. 5.2 seems to be the best 5.x yet. A lot of the revampi
> > ng
> > of gdb had to do with C++, so I would try downloading and recompiling
> > a newer version than the one you have. I think you can find them here:
> >
> > ftp://ftp.gnu.org/gnu/gdb
> >
> > We have a lot of problems with 5.x gdb on other architectures just using
> > it
> > to debug C. We have had to stick with 4.17 on Sun, and 4.18 on Compaq ju
> > st
> > to debug anything. The linux stuff seems to be half way decent.
> >
> >
>
> --
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net
| < Previous | Next > |