NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

toolchain/40810: same as pr#33010



>Number:         40810
>Category:       toolchain
>Synopsis:       same as pr#33010
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 28 18:15:00 +0000 2009
>Originator:     Gergely Gábor
>Release:        netbsd-5 branch
>Organization:
>Environment:
Linux vajk.local 2.6.27.5-117.fc10.i686 #1 SMP Tue Nov 18 12:19:59 EST 2008 
i686 i686 i386 GNU/Linux

>Description:
this is a duplicate of PR33010

build fails with all parametrisations of build.sh that seemed reasonable 
(obj,tool,destdir out of source tree, inside source tree) with the same error:
--- doc.o ---
if cc -DHAVE_CONFIG_H 
-DLOCALEDIR=\"/home/ggergely/NetBSD/usrSrc/tooldir.Linux-2.6.27.5-117.fc10.i686-i686/share/locale\"
 
-DINFODIR=\"/home/ggergely/NetBSD/usrSrc/tooldir.Linux-2.6.27.5-117.fc10.i686-i686/info\"
  
-DINFODIR2=\"/home/ggergely/NetBSD/usrSrc/tooldir.Linux-2.6.27.5-117.fc10.i686-i686/share/info\"
 -I. -I/home/ggergely/NetBSD/usrSrc/tools/texinfo/../../gnu/dist/texinfo/info 
-I.. -I. 
-I/home/ggergely/NetBSD/usrSrc/tools/texinfo/../../gnu/dist/texinfo/lib 
-I../intl -I.. 
-I/home/ggergely/NetBSD/usrSrc/tools/texinfo/../../gnu/dist/texinfo/info     -O 
-MT doc.o -MD -MP -MF ".deps/doc.Tpo" -c -o doc.o doc.c;  then mv -f 
".deps/doc.Tpo" ".deps/doc.Po"; else rm -f ".deps/doc.Tpo"; exit 1; fi
--- infokey ---
cc  -O   -o infokey  infokey.o key.o ../lib/libtxi.a   
--- ginfo ---
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 ../lib/libtxi.a   
terminal.o: In function `terminal_ring_bell':
terminal.c:(.text+0x48): undefined reference to `tputs'
terminal.c:(.text+0x6b): undefined reference to `tputs'
terminal.o: In function `terminal_end_inverse':
terminal.c:(.text+0xa6): undefined reference to `tputs'
terminal.o: In function `terminal_begin_inverse':
terminal.c:(.text+0xde): undefined reference to `tputs'
terminal.o: In function `terminal_down_line':
terminal.c:(.text+0x116): undefined reference to `tputs'
terminal.o:terminal.c:(.text+0x14e): more undefined references to `tputs' follow
terminal.o: In function `terminal_get_screen_size':
terminal.c:(.text+0x52d): undefined reference to `tgetnum'
terminal.c:(.text+0x57d): undefined reference to `tgetnum'
terminal.o: In function `terminal_initialize_terminal':
terminal.c:(.text+0x669): undefined reference to `tgetent'
terminal.c:(.text+0x733): undefined reference to `tgetstr'
terminal.c:(.text+0x79a): undefined reference to `tgetstr'
terminal.c:(.text+0x7af): undefined reference to `tgetstr'
terminal.c:(.text+0x7c4): undefined reference to `tgetstr'
terminal.c:(.text+0x7d9): undefined reference to `tgetstr'
terminal.o:terminal.c:(.text+0x7ee): more undefined references to `tgetstr' 
follow
terminal.o: In function `terminal_initialize_terminal':
terminal.c:(.text+0x993): undefined reference to `tgetflag'
terminal.c:(.text+0x9a3): undefined reference to `tgetflag'
terminal.c:(.text+0x9c8): undefined reference to `tgetstr'
terminal.c:(.text+0x9e0): undefined reference to `tgetstr'
terminal.c:(.text+0x9f5): undefined reference to `tgetstr'
terminal.c:(.text+0xa0a): undefined reference to `tgetstr'
terminal.c:(.text+0xa1f): undefined reference to `tgetstr'
terminal.o:terminal.c:(.text+0xa34): more undefined references to `tgetstr' 
follow
terminal.o: In function `terminal_goto_xy':
terminal.c:(.text+0xb8c): undefined reference to `tgoto'
terminal.c:(.text+0xba4): undefined reference to `tputs'
terminal.o: In function `terminal_delete_lines':
terminal.c:(.text+0xbf9): undefined reference to `tgoto'
terminal.c:(.text+0xc0d): undefined reference to `tputs'
terminal.c:(.text+0xc28): undefined reference to `tputs'
terminal.o: In function `terminal_insert_lines':
terminal.c:(.text+0xc95): undefined reference to `tgoto'
terminal.c:(.text+0xca9): undefined reference to `tputs'
terminal.c:(.text+0xcc4): undefined reference to `tputs'
collect2: ld returned 1 exit status
*** [ginfo] Error code 1
1 error
nbmake: stopped in /home/ggergely/NetBSD/usrSrc/tools/texinfo/obj/build/info
*** [all] Error code 2
1 error
nbmake: stopped in /home/ggergely/NetBSD/usrSrc/tools/texinfo/obj/build/info
*** [all-recursive] Error code 1
1 error
nbmake: stopped in /home/ggergely/NetBSD/usrSrc/tools/texinfo/obj/build
*** [all] Error code 2
1 error
nbmake: stopped in /home/ggergely/NetBSD/usrSrc/tools/texinfo/obj/build
*** [.build_done] Error code 2
1 error
nbmake: stopped in /home/ggergely/NetBSD/usrSrc/tools/texinfo
*** [dependall] Error code 2
1 error
nbmake: stopped in /home/ggergely/NetBSD/usrSrc/tools/texinfo
*** [dependall-texinfo] Error code 2
1 error
nbmake: stopped in /home/ggergely/NetBSD/usrSrc/tools
*** [do-tools] Error code 2
1 error
nbmake: stopped in /home/ggergely/NetBSD/usrSrc
*** [build] Error code 2
1 error

nbmake: stopped in /home/ggergely/NetBSD/usrSrc

ERROR: Failed to make build
*** BUILD ABORTED ***
[ggergely@vajk usrSrc]$ 

>How-To-Repeat:
get the sources, set up the environment on a fedora-10 machine (gcc, 
zlib-devel, make) and try the following (with all references directories 
created in forward):

./build.sh -D ../destdir/ -R ../release/ -T ../tools/ -O ../objs/ -U -u -m i386 
-j 5 -N 2 build
>Fix:



Home | Main Index | Thread Index | Old Index