Re: [Cgdb-devel] Re: cgdb-0.3.1
Brought to you by:
bobbybrasko,
crouchingturbo
From: Bob R. <bob...@co...> - 2003-04-29 15:59:32
|
Hi Kirill, I just repeated the problem you are seeing. It appears that cgdb needs readline-4.2 or greater to compile. You can download readline from ftp.gnu.org/gnu/readline. Then you can configure cgdb to use readline. If you have trouble with this, please let us know. Thanks, Bob Rossi On Tue, Apr 29, 2003 at 08:29:47AM -0400, Peter Kovacs wrote: > Does BSD even have the same readline that GNU does? They might have > their own in which case it might be prudent to install it somewhere we > can get it, eh? >=20 > - Peter >=20 > On Tue, Apr 29, 2003 at 08:24:59AM -0400, Bob Rossi wrote: > > Hi Kirill, > >=20 > > The cgdb team doesn't have a box running FreeBSD. Also sourceforge's > > compile farm has not had its FreeBSD box up in over a month. > > http://sourceforge.net/docman/display_doc.php?docid=3D10472&group_id=3D1 > > This is why it is not compiling 'out of the box'. > >=20 > > The problem you are seeing is not known. It seems like a readline issue. > > The function rl_set_prompt is a readline function. > >=20 > > Do you know what version of readline you have installed? > > You need the headers from readline installed to get cgdb to compile, not > > just the library. Do you have those installed?=20 > > They are usually in /usr/include/readline. > > ( Although configure should have discovered if you didn't ). > >=20 > > Another simple thing you could do to show that it is a readline problem > > is comment out the line=20 > > driver_main.c:115 rl_set_prompt(prompt); > > and see were the next compile error comes from. > >=20 > > If it is a readline problem, in the end you should just download > > readline-4.3 and install that. Then configure cgdb to use that readline > > installation. > >=20 > > I would be very interested to hear about your progress. > >=20 > > Thanks, > > Bob Rossi > >=20 > > On Tue, Apr 29, 2003 at 08:59:11AM +0200, Kirill Ponomarew wrote: > > > Hi, > > >=20 > > > I'm porting cgdb to FreeBSD now and got the error during > > > compilation: > > >=20 > > > gcc -g -Wall -I../../../tgdb/tgdb-base/include > > > -I../../../tgdb/annotate-two/include > > > -I../../../tgdb/gdbmi/include -I../../../various/adt/include > > > -I../../../various/util/include > > > -I../../../various/rlctx/include -g -O2 -o tgdb_driver > > > -L../../../tgdb/tgdb-base/src -L../../../tgdb/annotate-two/src > > > -L../../../tgdb/gdbmi/src -L../../../various/adt/src > > > -L../../../various/util/src -L../../../various/rlctx/src > > > driver.o -ltgdb -lannotate_two -lgdbmi -lrlctx -ladt -lutil -lm > > > -lncurses -lreadline > > > ../../../various/rlctx/src/librlctx.a(rlctx_main.o): In > > > function `change_prompt': > > > /usr/home/krion/cgdb-0.3.1/various/rlctx/src/rlctx_main.c(.text+0x7d): > > > undefined reference to `rl_set_prompt' > > > *** Error code 1 > > >=20 > > > Is this problem already known? > > >=20 > > > Kirill > >=20 > >=20 >=20 >=20 >=20 > --=20 > Peter D. Kovacs <pe...@ko...> |