Subject: toolchain/33010: problem to (cross-) build (tools) with build.sh
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <tino@netbsd.org>
List: netbsd-bugs
Date: 03/06/2006 15:10:00
>Number: 33010
>Category: toolchain
>Synopsis: problem to (cross-) build (tools) with build.sh
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Mar 06 15:10:00 +0000 2006
>Originator: Tino Wildenhain
>Release: netbsd-3.0
>Organization:
>Environment:
Linux anna 2.6.14-1-686 #1 Fri Oct 28 16:55:18 JST 2005 i686 GNU/Linux
>Description:
./build.sh -U -m i386 -r -O /home/tino/devel/netbsd/ -R /home/tino/devel/netbsd/release -T /home/tino/devel/netbsd/tools tools
fails with:
cc -O -o ginfo dir.o display.o dribble.o echo-area.o filesys.o footnotes.o gc.o indices.o info-utils.o info.o infodoc.o infomap.o m-x.o man.o nodemenu.o nodes.o search.o session.o signals.o terminal.o tilde.o variables.o window.o doc.o key.o ../lib/libtxi.a
terminal.o: In function `terminal_begin_using_terminal':terminal.c:(.text+0x4f): undefined reference to `tputs'
:terminal.c:(.text+0x98): undefined reference to `tputs'
terminal.o: In function `terminal_end_using_terminal':terminal.c:(.text+0x11b): undefined reference to `tputs'
:terminal.c:(.text+0x164): undefined reference to `tputs'
terminal.o: In function `terminal_goto_xy':terminal.c:(.text+0x1f0): undefined reference to `tgoto'
:terminal.c:(.text+0x208): undefined reference to `tputs'
terminal.o: In function `terminal_clear_to_eol':terminal.c:(.text+0x2ac): undefined reference to `tputs'
terminal.o: In function `terminal_clear_screen':terminal.c:(.text+0x2e6): undefined reference to `tputs'
terminal.o: In function `terminal_up_line':terminal.c:(.text+0x31c): undefined reference to `tputs'
terminal.o: In function `terminal_down_line':terminal.c:(.text+0x356): undefined reference to `tputs'
terminal.o:terminal.c:(.text+0x38c): more undefined references to `tputs' follow
terminal.o: In function `terminal_delete_lines':terminal.c:(.text+0x488): undefined reference to `tgoto'
:terminal.c:(.text+0x49c): undefined reference to `tputs'
:terminal.c:(.text+0x4bf): undefined reference to `tputs'
terminal.o: In function `terminal_insert_lines':terminal.c:(.text+0x53d): undefined reference to `tgoto'
:terminal.c:(.text+0x551): undefined reference to `tputs'
:terminal.c:(.text+0x574): undefined reference to `tputs'
terminal.o: In function `terminal_get_screen_size':terminal.c:(.text+0x70a): undefined reference to `tgetnum'
:terminal.c:(.text+0x762): undefined reference to `tgetnum'
terminal.o: In function `terminal_initialize_terminal':terminal.c:(.text+0x84d): undefined reference to `tgetent'
:terminal.c:(.text+0x917): undefined reference to `tgetstr'
:terminal.c:(.text+0x978): undefined reference to `tgetstr'
:terminal.c:(.text+0x98d): undefined reference to `tgetstr'
:terminal.c:(.text+0x9a2): undefined reference to `tgetstr'
:terminal.c:(.text+0x9b7): undefined reference to `tgetstr'
terminal.o:terminal.c:(.text+0x9cc): more undefined references to `tgetstr' follow
terminal.o: In function `terminal_initialize_terminal':terminal.c:(.text+0xb6a): undefined reference to `tgetflag'
:terminal.c:(.text+0xb7a): undefined reference to `tgetflag'
:terminal.c:(.text+0xba5): undefined reference to `tgetstr'
:terminal.c:(.text+0xbc9): undefined reference to `tgetstr'
:terminal.c:(.text+0xbde): undefined reference to `tgetstr'
:terminal.c:(.text+0xbf3): undefined reference to `tgetstr'
:terminal.c:(.text+0xc08): undefined reference to `tgetstr'
terminal.o:terminal.c:(.text+0xc1d): more undefined references to `tgetstr' follow
collect2: ld returned 1 exit status
*** Failed target: ginfo
*** Failed command: cc -O -o ginfo dir.o display.o dribble.o echo-area.o filesys.o footnotes.o gc.o indices.o info-utils.o info.o infodoc.o infomap.o m-x.o man.o nodemenu.o nodes.o search.o session.o signals.o terminal.o tilde.o variables.o window.o doc.o key.o ../lib/libtxi.a
*** Error code 1
Stop.
nbmake: stopped in /home/tino/devel/netbsd/tools/texinfo/build/info
*** Failed target: all
*** Failed command: /home/tino/devel/netbsd/tools/bin/nbmake -f /home/tino/devel/netbsd/src/tools/texinfo/../Makefile.gnuwrap all-am
*** Error code 1
Stop.
nbmake: stopped in /home/tino/devel/netbsd/tools/texinfo/build/info
*** Failed target: all-recursive
*** Failed command: set fnord $MAKEFLAGS; amf=$2; dot_seen=no; target=`echo all-recursive | sed s/-recursive//`; list='intl m4 lib info makeinfo po util doc'; for subdir in $list; do echo "Making $target in $subdir"; if test "$subdir" = "."; then dot_seen=yes; local_target="$target-am"; else local_target="$target"; fi; (cd $subdir && /home/tino/devel/netbsd/tools/bin/nbmake -f /home/tino/devel/netbsd/src/tools/texinfo/../Makefile.gnuwrap $local_target) || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; done; if test "$dot_seen" = "no"; then /home/tino/devel/netbsd/tools/bin/nbmake -f /home/tino/devel/netbsd/src/tools/texinfo/../Makefile.gnuwrap "$target-am" || exit 1; fi; test -z "$fail"
*** Error code 1
Stop.
nbmake: stopped in /home/tino/devel/netbsd/tools/texinfo/build
*** Failed target: all
*** Failed command: /home/tino/devel/netbsd/tools/bin/nbmake -f /home/tino/devel/netbsd/src/tools/texinfo/../Makefile.gnuwrap all-recursive
*** Error code 1
Stop.
nbmake: stopped in /home/tino/devel/netbsd/tools/texinfo/build
*** Failed target: .build_done
*** Failed command: (cd build && CC=cc CFLAGS=-O CPPFLAGS= CXX=c++ CXXFLAGS=-O INSTALL=/home/tino/devel/netbsd/tools/bin/nbinstall\ -c\ \ -r LDFLAGS= AR=ar RANLIB=ranlib LEX=/home/tino/devel/netbsd/tools/bin/nblex MAKE=/home/tino/devel/netbsd/tools/bin/nbmake PATH="/home/tino/devel/netbsd/tools/bin:$PATH" YACC=/home/tino/devel/netbsd/tools/bin/nbyacc /home/tino/devel/netbsd/tools/bin/nbmake -f /home/tino/devel/netbsd/src/tools/texinfo/../Makefile.gnuwrap BISON=true DESTDIR= INSTALL=/home/tino/devel/netbsd/tools/bin/nbinstall\ -c\ \ -r all)
*** Error code 1
Stop.
nbmake: stopped in /home/tino/devel/netbsd/src/tools/texinfo
*** Failed target: dependall
*** Failed command: cd /home/tino/devel/netbsd/src/tools/texinfo; /home/tino/devel/netbsd/tools/bin/nbmake realall
*** Error code 1
Stop.
nbmake: stopped in /home/tino/devel/netbsd/src/tools/texinfo
*** Failed target: dependall-texinfo
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/home/tino/devel/netbsd/src/tools" ;; *) this="${dir}/"; real="/home/tino/devel/netbsd/src/tools/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /home/tino/devel/netbsd/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget texinfo dependall
*** Error code 1
Stop.
nbmake: stopped in /home/tino/devel/netbsd/src/tools
ERROR: Failed to make tools
*** BUILD ABORTED ***
>How-To-Repeat:
>Fix: