[Cgdb-devel] Re: cgdb-0.3.1
Brought to you by:
bobbybrasko,
crouchingturbo
From: Bob R. <bob...@co...> - 2003-04-29 12:25:22
|
Hi Kirill, 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'. The problem you are seeing is not known. It seems like a readline issue. The function rl_set_prompt is a readline function. 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 ). 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. 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. I would be very interested to hear about your progress. Thanks, Bob Rossi 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 |