cc -O -pipe -D_GNU_SOURCE -I- -I. -I/usr/src/gnu/usr.bin/binutils/gdb/i386 -I/usr/src/gnu/usr.bin/binutils/gdb -I/usr/src/gnu/usr.bin/binutils/gdb/../libbfd/i386 -I/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/binutils/include -I/usr/src/gnu/usr.bin/binutils/gdb/i386 -I/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/binutils/binutils -I/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/binutils/bfd -I/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb -I/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/config -DFREEBSD_ELF -I/usr/src/gnu/usr.bin/binutils/gdb -I/usr/obj/usr/src/tmp/usr/include/readline -DNO_MMALLOC -I/usr/obj/usr/src/tmp/usr/include -static -o gdb init.o annotate.o ax-general.o ax-gdb.o bcache.o blockframe.o breakpoint.o buildsym.o c-exp.o c-lang.o c-typeprint.o c-valprint.o ch-exp.o ch-lang.o ch-typeprint.o ch-valprint.o coffread.o command.o complaints.o copying.o corefile.o corelow.o core-regset.o cp-valprint.o dcache.o dbxread.o demangle.o dwarfread.o dwarf2read.o elfread.o environ.o eval.o exec.o expprint.o f-exp.o f-lang.o f-typeprint.o f-valprint.o findvar.o fork-child.o gdbarch.o gdbtypes.o infcmd.o inflow.o infptrace.o infrun.o inftarg.o language.o jv-exp.o jv-lang.o jv-valprint.o jv-typeprint.o nlmread.o m2-lang.o m2-exp.o m2-typeprint.o m2-valprint.o main.o maint.o mdebugread.o mem-break.o minsyms.o objfiles.o parse.o printcmd.o remote.o remote-utils.o scm-exp.o scm-lang.o scm-valprint.o solib.o source.o stabsread.o stack.o symfile.o symmisc.o symtab.o target.o thread.o top.o tracepoint.o typeprint.o utils.o valarith.o valops.o valprint.o values.o version.o serial.o ser-unix.o ser-tcp.o callback.o freebsd-nat.o i386-tdep.o i387-tdep.o kvm-fbsd.o -L../libbfd -lbfd -L../libopcodes -lopcodes -lreadline -lgnuregex -L../libiberty -liberty -ltermcap utils.o: In function `init_page_info': utils.o(.text+0xbf0): undefined reference to `tgetent' utils.o(.text+0xc16): undefined reference to `tgetnum' utils.o(.text+0xc3c): undefined reference to `tgetnum' /usr/obj/usr/src/tmp/usr/lib/libreadline.a(terminal.o): In function `_rl_get_screen_size': terminal.o(.text+0x78): undefined reference to `tgetnum' terminal.o(.text+0xc8): undefined reference to `tgetnum' /usr/obj/usr/src/tmp/usr/lib/libreadline.a(terminal.o): In function `rl_resize_terminal': terminal.o(.text+0x1a7): undefined reference to `tgetstr' /usr/obj/usr/src/tmp/usr/lib/libreadline.a(terminal.o): In function `_rl_init_terminal_io': terminal.o(.text+0x25b): undefined reference to `tgetent' terminal.o(.text+0x3a6): undefined reference to `tgetflag' terminal.o(.text+0x3b7): undefined reference to `tgetflag' terminal.o(.text+0x406): undefined reference to `tgetflag' terminal.o(.text+0x417): undefined reference to `tgetflag' /usr/obj/usr/src/tmp/usr/lib/libreadline.a(terminal.o): In function `_rl_backspace': terminal.o(.text+0x612): undefined reference to `tputs' /usr/obj/usr/src/tmp/usr/lib/libreadline.a(terminal.o): In function `ding': terminal.o(.text+0x6c4): undefined reference to `tputs' /usr/obj/usr/src/tmp/usr/lib/libreadline.a(terminal.o): In function `_rl_enable_meta_key': terminal.o(.text+0x717): undefined reference to `tputs' /usr/obj/usr/src/tmp/usr/lib/libreadline.a(terminal.o): In function `_rl_control_keypad': terminal.o(.text+0x75f): undefined reference to `tputs' /usr/obj/usr/src/tmp/usr/lib/libreadline.a(display.o): In function `rl_redisplay': display.o(.text+0xa99): undefined reference to `tputs' /usr/obj/usr/src/tmp/usr/lib/libreadline.a(display.o)(.text+0xffb): more undefined references to `tputs' follow /usr/obj/usr/src/tmp/usr/lib/libreadline.a(display.o): In function `_rl_clear_screen': display.o(.text+0x1933): undefined reference to `tgoto' display.o(.text+0x1940): undefined reference to `tputs' display.o(.text+0x196c): undefined reference to `tputs' display.o(.text+0x199e): undefined reference to `tputs' display.o(.text+0x19d0): undefined reference to `tputs' display.o(.text+0x1a02): undefined reference to `tgoto' display.o(.text+0x1a0e): undefined reference to `tputs' display.o(.text+0x1a3a): undefined reference to `tputs' /usr/obj/usr/src/tmp/usr/lib/libreadline.a(display.o): In function `_rl_update_final': display.o(.text+0x1b5a): undefined reference to `tputs' /usr/obj/usr/src/tmp/usr/lib/libreadline.a(display.o): In function `_rl_redisplay_after_sigwinch': display.o(.text+0x1b89): undefined reference to `tputs' display.o(.text+0x1bb1): undefined reference to `tputs' /usr/obj/usr/src/tmp/usr/lib/libreadline.a(display.o)(.text+0x1bd5): more undefined references to `tputs' follow *** Error code 1 Stop in /usr/src/gnu/usr.bin/binutils/gdb. *** Error code 1N'r{ٚ[h&kyR+ryy˫)w*z