Bug #1165

Compilation fails on HEAD as of 11/18/2008

Added by vince.dragonfly about 6 years ago. Updated about 6 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

Hi. The kernel compiled fine, but the base system fails on compiling
libgdb.

cc -O -pipe -mtune=pentiumpro -I/usr/obj/home/DragonFly/DragonFly-src/src/world_i386/home/DragonFly/DragonFly-src/src/gnu/usr.bin/gdb/libgdb -I/home/DragonFly/DragonFly-src/src/gnu/usr.bin/gdb/libgdb -I/home/DragonFly/DragonFly-src/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb-6/include -I/home/DragonFly/DragonFly-src/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb-6/bfd -I/home/DragonFly/DragonFly-src/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb-6/gdb -I/home/DragonFly/DragonFly-src/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb-6/gdb/config -I/home/DragonFly/DragonFly-src/src/gnu/usr.bin/gdb/libgdb/../libbfd -I/usr/obj/home/DragonFly/DragonFly-src/src/world_i386/home/DragonFly/DragonFly-src/src/gnu/usr.bin/gdb/libgdb/../libbfd -I/home/DragonFly/DragonFly-src/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb-6 -DTARGET_SYSTEM_ROOT='"/"' -DBINDIR='"/usr/bin"' -DMACHINE_ARCH='"i386"' -DTARGET_ARCH='"i386"' -DGDB_NM_FILE -c /home/DragonFly/DragonFly-src/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb-6/gdb/tui/tui-io.c -o tui-io.o
/home/DragonFly/DragonFly-src/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb-6/gdb/tui/tui-io.c: In function `tui_rl_display_match_list':
/home/DragonFly/DragonFly-src/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb-6/gdb/tui/tui-io.c:453: error: `_rl_qsort_string_compare' undeclared (first use in this function)
/home/DragonFly/DragonFly-src/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb-6/gdb/tui/tui-io.c:453: error: (Each undeclared identifier is reported only once
/home/DragonFly/DragonFly-src/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb-6/gdb/tui/tui-io.c:453: error: for each function it appears in.)
/home/DragonFly/DragonFly-src/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb-6/gdb/tui/tui-io.c:457: error: `_rl_print_completions_horizontally' undeclared (first use in this function)
*** Error code 1

Stop in /home/DragonFly/DragonFly-src/src/gnu/usr.bin/gdb/libgdb.
*** Error code 1

Stop in /home/DragonFly/DragonFly-src/src/gnu/usr.bin/gdb.
*** Error code 1

Stop in /home/DragonFly/DragonFly-src/src/gnu/usr.bin.
*** Error code 1

Stop in /home/DragonFly/DragonFly-src/src/gnu.
*** Error code 1

Stop in /home/DragonFly/DragonFly-src/src.
*** Error code 1

Stop in /home/DragonFly/DragonFly-src/src.
*** Error code 1

Stop in /home/DragonFly/DragonFly-src/src.

History

#1 Updated by swildner about 6 years ago

rc/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb-6/gdb/tui/tui-io.c -o tui-io.o
> /home/DragonFly/DragonFly-src/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb-6/gdb/tui/tui-io.c: In function `tui_rl_display_match_list':
> /home/DragonFly/DragonFly-src/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb-6/gdb/tui/tui-io.c:453: error: `_rl_qsort_string_compare' undeclared (first use in this function)
> /home/DragonFly/DragonFly-src/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb-6/gdb/tui/tui-io.c:453: error: (Each undeclared identifier is reported only once
> /home/DragonFly/DragonFly-src/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb-6/gdb/tui/tui-io.c:453: error: for each function it appears in.)
> /home/DragonFly/DragonFly-src/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb-6/gdb/tui/tui-io.c:457: error: `_rl_print_completions_horizontally' undeclared (first use in this function)
> *** Error code 1

Hmm, this seems weird, buildworld works fine here.

How are you upgrading/building? GCC34 or 41? Anything suspicious in
make.conf?

Sascha

#2 Updated by vince.dragonfly about 6 years ago

Building on DragonFly 1.10.1-RELEASE with gcc (GCC) 3.4.6

There is no /etc/make.conf. Just a stock /etc/defaults/make.conf.
Building with "make buildworld".

#3 Updated by swildner about 6 years ago

I guess it has to do with the recent removal of libreadline (libedit is
now used instead), though I'm not sure about what's the best fix for you.

Sascha

#4 Updated by pavalos about 6 years ago

How are you getting the source code?

--Peter

#5 Updated by vince.dragonfly about 6 years ago

I update our local dcvs repository via rsync, using mirror
(http://hightek.org/mirror/), usually from rsync.TheShell.com. Then
check out HEAD from the local repository using cvs.

#6 Updated by pavalos about 6 years ago

And could you tell me the command you're using with cvs? Are you using
checkout -P or update -Pd?

--Peter

#7 Updated by vince.dragonfly about 6 years ago

It was not an update. I checked it out using

cvs -R -d /home/dcvs checkout -P -rHEAD src

#8 Updated by aoiko about 6 years ago

This seems like cvs issue, if this still occurs with a git repo please refile

Also available in: Atom PDF