There's also the same error with the original LFS package. So I installed texinfo-4.13.

I'm compiling with debian lenny and gcc-4.1

Here's the log:

./configure --prefix=/tools && make && make install
checking for a BSD-compatible install... /tools/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /tools/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /tools/bin/grep
checking for egrep... /tools/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for C/C++ restrict keyword... __restrict
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt_long_only... yes
checking whether optreset is declared... no
checking for working GNU getopt function... yes
checking whether getenv is declared... yes
checking whether the preprocessor supports include_next... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for unistd.h... (cached) yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for struct timeval... yes
checking for gettimeofday... yes
checking for isascii... yes
checking for mbsinit... yes
checking for setenv... yes
checking for lstat... yes
checking for iswcntrl... yes
checking for wcwidth... yes
checking for inline... inline
checking for nl_langinfo and CODESET... yes
checking whether getc_unlocked is declared... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether malloc, realloc, calloc are POSIX compliant... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for long long int... yes
checking for mbstate_t... yes
checking whether mbrtowc and mbstate_t are properly declared... yes
checking whether memmem is declared... yes
checking for memmem... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for unsigned long long int... yes
checking whether strdup is declared... yes
checking for working strerror function... yes
checking whether strndup is declared... yes
checking whether strnlen is declared... yes
checking whether stat file-mode macros are broken... no
checking for wint_t... yes
checking for wchar_t... yes
checking for alloca as a compiler built-in... yes
checking for argz.h... yes
checking for error_t... yes
checking for argz_replace... yes
checking if argz actually works... yes
checking if environ is properly declared... yes
checking for error_at_line... yes
checking for gettimeofday with POSIX signature... yes
checking whether gettimeofday clobbers localtime buffer... no
checking whether the compiler generally respects inline... yes
checking whether mbrtowc and mbstate_t are properly declared... (cached) yes
checking whether mbswidth is declared in <wchar.h>... no
checking for mbstate_t... (cached) yes
checking for memchr... yes
checking for working memcmp... yes
checking for memcpy... yes
checking whether memmem works in linear time... no
checking for memmem... (cached) yes
checking for memmove... yes
checking for mempcpy... yes
checking for working mkstemp... yes
checking whether stdint.h conforms to C99... yes
checking for stpcpy... yes
checking for strdup... yes
checking for working strndup... yes
checking for working strnlen... yes
checking for nlink_t... yes
checking for a thread-safe mkdir -p... /tools/bin/mkdir -p
checking for a thread-safe mkdir -p... /tools/bin/mkdir -p
checking for unsetenv... yes
checking for unsetenv() return type... int
checking whether <wchar.h> is standalone... yes
checking whether iswcntrl works... yes
checking whether wcwidth is declared... yes
checking whether wcwidth works reasonably in UTF-8 locales... yes
checking for ranlib... (cached) ranlib
checking for a BSD-compatible install... /tools/bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for sigblock... yes
checking whether stat file-mode macros are broken... (cached) no
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking termcap.h usability... no
checking termcap.h presence... no
checking for termcap.h... no
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/stream.h usability... no
checking sys/stream.h presence... no
checking for sys/stream.h... no
checking for sys/time.h... (cached) yes
checking sys/ttold.h usability... no
checking sys/ttold.h presence... no
checking for sys/ttold.h... no
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for sys/ptem.h... no
checking POSIX termios... yes
checking whether termios.h defines TIOCGWINSZ... no
checking whether sys/ioctl.h defines TIOCGWINSZ... yes
checking for off_t... yes
checking return type of signal handlers... void
checking for an ANSI C-conforming const... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether memchr is declared... yes
checking whether strcoll is declared... yes
checking whether strerror is declared... yes
checking for working strcoll... yes
checking for vprintf... yes
checking for _doprnt... no
checking for bzero... yes
checking for getcwd... yes
checking for memset... yes
checking for setlocale... yes
checking for setvbuf... yes
checking for sigaction... yes
checking for sigprocmask... yes
checking for sigsetmask... yes
checking for strchr... yes
checking for memcpy... (cached) yes
checking for memmove... (cached) yes
checking for strdup... (cached) yes
checking for strerror... yes
checking build system type... (cached) i686-pc-linux-gnu
checking for tgetent in -lncurses... no
checking for tgetent in -lcurses... no
checking for tgetent in -ltermlib... no
checking for tgetent in -ltermcap... no
checking for tgetent in -lterminfo... no
configure: WARNING: probably need a terminal library, one of: ncurses curses termlib termcap terminfo
checking for library with termcap variables...
checking host system type... (cached) i686-pc-linux-gnu
checking whether NLS is requested... yes
checking for msgfmt... /tools/bin/msgfmt
checking for gmsgfmt... /tools/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /var/files/projects/lfs/tools/i686-pc-linux-gnu/bin/ld checking if the linker (/var/files/projects/lfs/tools/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for hevea... no
checking for tex... no
configure: creating ./config.status
config.status: creating install-info/tests/defs
config.status: creating util/defs
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating gnulib/lib/Makefile
config.status: creating info/Makefile
config.status: creating install-info/Makefile
config.status: creating install-info/tests/Makefile
config.status: creating lib/Makefile
config.status: creating makeinfo/Makefile
config.status: creating makeinfo/tests/Makefile
config.status: creating po/Makefile.in
config.status: creating util/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
make  all-recursive
make[1]: Entering directory `/var/files/projects/lfs/sources/texinfo-4.13'
Making all in gnulib/lib
make[2]: Entering directory `/var/files/projects/lfs/sources/texinfo-4.13/gnulib/lib'
rm -f configmake.h-t configmake.h
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */';
          echo '#define PREFIX "/tools"';
          echo '#define EXEC_PREFIX "/tools"';
          echo '#define BINDIR "/tools/bin"';
          echo '#define SBINDIR "/tools/sbin"';
          echo '#define LIBEXECDIR "/tools/libexec"';
          echo '#define DATAROOTDIR "/tools/share"';
          echo '#define DATADIR "/tools/share"';
          echo '#define SYSCONFDIR "/tools/etc"';
          echo '#define SHAREDSTATEDIR "/tools/com"';
          echo '#define LOCALSTATEDIR "/tools/var"';
          echo '#define INCLUDEDIR "/tools/include"';
          echo '#define OLDINCLUDEDIR "/usr/include"';
          echo '#define DOCDIR "/tools/share/doc/texinfo"';
          echo '#define INFODIR "/tools/share/info"';
          echo '#define HTMLDIR "/tools/share/doc/texinfo"';
          echo '#define DVIDIR "/tools/share/doc/texinfo"';
          echo '#define PDFDIR "/tools/share/doc/texinfo"';
          echo '#define PSDIR "/tools/share/doc/texinfo"';
          echo '#define LIBDIR "/tools/lib"';
          echo '#define LISPDIR ""';
          echo '#define LOCALEDIR "/tools/share/locale"';
          echo '#define MANDIR "/tools/share/man"';
          echo '#define MANEXT ""';
          echo '#define PKGDATADIR "/tools/share/texinfo"';
          echo '#define PKGINCLUDEDIR "/tools/include/texinfo"';
          echo '#define PKGLIBDIR "/tools/lib/texinfo"';
          echo '#define PKGLIBEXECDIR ""';
        } | sed '/""/d' > configmake.h-t
mv configmake.h-t configmake.h
make  all-am
make[3]: Entering directory `/var/files/projects/lfs/sources/texinfo-4.13/gnulib/lib'
depbase=`echo localcharset.o | sed 's|[^/]*$|.deps/&|;s|.o$||'`;
gcc -DHAVE_CONFIG_H -I. -I../.. -I../../intl -g -O2 -MT localcharset.o -MD -MP -MF $depbase.Tpo -c -o localcharset.o localcharset.c &&
        mv -f $depbase.Tpo $depbase.Po
rm -f libgnu.a
ar cru libgnu.a localcharset.o malloca.o mbchar.o mbscasecmp.o mbschr.o mbslen.o mbsncasecmp.o mbsstr.o mbswidth.o strnlen1.o uniwidth/width.o xalloc-die.o xsetenv.o exitfail.o memmem.o tempname.o xmalloc.o
ranlib libgnu.a
make[3]: Leaving directory `/var/files/projects/lfs/sources/texinfo-4.13/gnulib/lib' make[2]: Leaving directory `/var/files/projects/lfs/sources/texinfo-4.13/gnulib/lib'
Making all in lib
make[2]: Entering directory `/var/files/projects/lfs/sources/texinfo-4.13/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/files/projects/lfs/sources/texinfo-4.13/lib'
Making all in install-info
make[2]: Entering directory `/var/files/projects/lfs/sources/texinfo-4.13/install-info'
Making all in tests
make[3]: Entering directory `/var/files/projects/lfs/sources/texinfo-4.13/install-info/tests'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/files/projects/lfs/sources/texinfo-4.13/install-info/tests' make[3]: Entering directory `/var/files/projects/lfs/sources/texinfo-4.13/install-info' gcc -g -O2 -o ginstall-info install-info.o ../lib/libtxi.a ../gnulib/lib/libgnu.a make[3]: Leaving directory `/var/files/projects/lfs/sources/texinfo-4.13/install-info' make[2]: Leaving directory `/var/files/projects/lfs/sources/texinfo-4.13/install-info'
Making all in info
make[2]: Entering directory `/var/files/projects/lfs/sources/texinfo-4.13/info'
gcc  -g -O2   -o makedoc makedoc.o ../lib/libtxi.a ../gnulib/lib/libgnu.a
rm -f doc.c key.c funs.h
..//info/makedoc ./session.c ./echo-area.c ./infodoc.c ./m-x.c ./indices.c ./nodemenu.c ./footnotes.c ./variables.c
make  all-am
make[3]: Entering directory `/var/files/projects/lfs/sources/texinfo-4.13/info' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../gnulib/lib -I../gnulib/lib -DLOCALEDIR="/tools/share/locale" -DINFODIR="/tools/share/info" -DINFODIR2="/tools/share/info" -g -O2 -MT infodoc.o -MD -MP -MF .deps/infodoc.Tpo -c -o infodoc.o infodoc.c
mv -f .deps/infodoc.Tpo .deps/infodoc.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../gnulib/lib -I../gnulib/lib -DLOCALEDIR="/tools/share/locale" -DINFODIR="/tools/share/info" -DINFODIR2="/tools/share/info" -g -O2 -MT infomap.o -MD -MP -MF .deps/infomap.Tpo -c -o infomap.o infomap.c
mv -f .deps/infomap.Tpo .deps/infomap.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../gnulib/lib -I../gnulib/lib -DLOCALEDIR="/tools/share/locale" -DINFODIR="/tools/share/info" -DINFODIR2="/tools/share/info" -g -O2 -MT m-x.o -MD -MP -MF .deps/m-x.Tpo -c -o m-x.o m-x.c
mv -f .deps/m-x.Tpo .deps/m-x.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../gnulib/lib -I../gnulib/lib -DLOCALEDIR="/tools/share/locale" -DINFODIR="/tools/share/info" -DINFODIR2="/tools/share/info" -g -O2 -MT doc.o -MD -MP -MF .deps/doc.Tpo -c -o doc.o doc.c
mv -f .deps/doc.Tpo .deps/doc.Po
gcc -g -O2 -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 ../gnulib/lib/libgnu.a
terminal.o: In function `terminal_ring_bell':
/var/files/projects/lfs/sources/texinfo-4.13/info/terminal.c:348: undefined reference to `tputs'
terminal.o: In function `terminal_end_inverse':
/var/files/projects/lfs/sources/texinfo-4.13/info/terminal.c:332: undefined reference to `tputs'
terminal.o: In function `terminal_begin_inverse':
/var/files/projects/lfs/sources/texinfo-4.13/info/terminal.c:320: undefined reference to `tputs'
terminal.o: In function `terminal_down_line':
/var/files/projects/lfs/sources/texinfo-4.13/info/terminal.c:308: undefined reference to `tputs'
terminal.o: In function `terminal_up_line':
/var/files/projects/lfs/sources/texinfo-4.13/info/terminal.c:296: undefined reference to `tputs' terminal.o:/var/files/projects/lfs/sources/texinfo-4.13/info/terminal.c:284: more undefined references to `tputs' follow
terminal.o: In function `terminal_get_screen_size':
/var/files/projects/lfs/sources/texinfo-4.13/info/terminal.c:493: undefined reference to `tgetnum' /var/files/projects/lfs/sources/texinfo-4.13/info/terminal.c:481: undefined reference to `tgetnum'
terminal.o: In function `terminal_initialize_terminal':
/var/files/projects/lfs/sources/texinfo-4.13/info/terminal.c:539: undefined reference to `tgetent' /var/files/projects/lfs/sources/texinfo-4.13/info/terminal.c:553: undefined reference to `tgetstr' /var/files/projects/lfs/sources/texinfo-4.13/info/terminal.c:579: undefined reference to `tgetstr' /var/files/projects/lfs/sources/texinfo-4.13/info/terminal.c:580: undefined reference to `tgetstr' /var/files/projects/lfs/sources/texinfo-4.13/info/terminal.c:581: undefined reference to `tgetstr' /var/files/projects/lfs/sources/texinfo-4.13/info/terminal.c:582: undefined reference to `tgetstr' terminal.o:/var/files/projects/lfs/sources/texinfo-4.13/info/terminal.c:585: more undefined references to `tgetstr' follow
terminal.o: In function `terminal_initialize_terminal':
/var/files/projects/lfs/sources/texinfo-4.13/info/terminal.c:617: undefined reference to `tgetflag' /var/files/projects/lfs/sources/texinfo-4.13/info/terminal.c:617: undefined reference to `tgetflag' /var/files/projects/lfs/sources/texinfo-4.13/info/terminal.c:628: undefined reference to `tgetstr' /var/files/projects/lfs/sources/texinfo-4.13/info/terminal.c:629: undefined reference to `tgetstr' /var/files/projects/lfs/sources/texinfo-4.13/info/terminal.c:630: undefined reference to `tgetstr' /var/files/projects/lfs/sources/texinfo-4.13/info/terminal.c:631: undefined reference to `tgetstr' /var/files/projects/lfs/sources/texinfo-4.13/info/terminal.c:633: undefined reference to `tgetstr' terminal.o:/var/files/projects/lfs/sources/texinfo-4.13/info/terminal.c:634: more undefined references to `tgetstr' follow
terminal.o: In function `terminal_goto_xy':
/var/files/projects/lfs/sources/texinfo-4.13/info/terminal.c:235: undefined reference to `tgoto' /var/files/projects/lfs/sources/texinfo-4.13/info/terminal.c:235: undefined reference to `tputs'
terminal.o: In function `terminal_insert_lines':
/var/files/projects/lfs/sources/texinfo-4.13/info/terminal.c:389: undefined reference to `tgoto' /var/files/projects/lfs/sources/texinfo-4.13/info/terminal.c:389: undefined reference to `tputs' /var/files/projects/lfs/sources/texinfo-4.13/info/terminal.c:393: undefined reference to `tputs'
terminal.o: In function `terminal_delete_lines':
/var/files/projects/lfs/sources/texinfo-4.13/info/terminal.c:365: undefined reference to `tgoto' /var/files/projects/lfs/sources/texinfo-4.13/info/terminal.c:365: undefined reference to `tputs' /var/files/projects/lfs/sources/texinfo-4.13/info/terminal.c:369: undefined reference to `tputs'
collect2: ld returned 1 exit status
make[3]: *** [ginfo] Error 1
make[3]: Leaving directory `/var/files/projects/lfs/sources/texinfo-4.13/info'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/files/projects/lfs/sources/texinfo-4.13/info'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/files/projects/lfs/sources/texinfo-4.13'
make: *** [all] Error 2

Please help!

Yours,
Stefan Breitegger


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Attachment: smime.p7s
Description: S/MIME krytographische Unterschrift

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to