bug-ncurses
[Top][All Lists]
Advanced

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

Build Failed


From: Chris Loopenberg
Subject: Build Failed
Date: Fri, 08 Jan 2010 22:33:51 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0

Hello!

I'v tried to cross-compile ncurses-5.7 to x86 (eglibc), but the following error has occured and I can't find the source of it!

binutils: 2.20, GCC: 4.4.2

Here is the build log:

make -C /projects/umms/build-system -f libraries.mk LIBRARIES="ncurses" libraries-build
make[1]: Entering directory `/projects/umms/build-system'
for library in ncurses; do \
          make -C /projects/umms/packages/$library build; \
        done
make[2]: Entering directory `/projects/umms/packages/ncurses'
install -p -m 775 -d /projects/umms/packages/ncurses/outputs
(cd /projects/umms/packages/ncurses/outputs; tar zxf /projects/umms/packages/ncurses/archives/ncurses-5.7.tar.gz)
(cd /projects/umms/packages/ncurses/outputs/ncurses-5.7; ./configure \
          --prefix=/usr \
          --host=i586-umms-linux-gnu \
          --with-build-cc=gcc \
          --with-build-cpp=cpp \
          --with-shared \
          --without-normal \
          --without-cxx \
          --without-cxx-bindings \
          --without-ada \
          --without-progs \
          --without-debug \
          --enable-symlinks \
        )
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for egrep... grep -E
Configuring NCURSES 5.7 ABI 5 (Fri Jan  8 22:31:03 CET 2010)
checking build system type... x86_64-unknown-linux-gnu
checking host system type... i586-umms-linux-gnu
checking target system type... i586-umms-linux-gnu
Configuring for linux-gnu
checking for prefix... /usr
checking for i586-umms-linux-gnu-gcc... /projects/umms/toolchains/atom-eglibc-r1/bin/i586-umms-linux-gnu-gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether /projects/umms/toolchains/atom-eglibc-r1/bin/i586-umms-linux-gnu-gcc accepts -g... yes checking version of /projects/umms/toolchains/atom-eglibc-r1/bin/i586-umms-linux-gnu-gcc... . checking how to run the C preprocessor... /projects/umms/toolchains/atom-eglibc-r1/bin/i586-umms-linux-gnu-gcc -E checking whether /projects/umms/toolchains/atom-eglibc-r1/bin/i586-umms-linux-gnu-gcc needs -traditional... no checking whether /projects/umms/toolchains/atom-eglibc-r1/bin/i586-umms-linux-gnu-gcc understands -c and -o together... yes
checking for POSIXized ISC... no
checking for /projects/umms/toolchains/atom-eglibc-r1/bin/i586-umms-linux-gnu-gcc option to accept ANSI C... -DCC_HAS_PROTOS
checking if you want to ensure bool is consistent with C++... no
checking if you want to build C++ binding and demo... no
checking if you want to build with Ada95... no
checking if you want to build programs such as tic... no
checking if you wish to install curses.h... yes
checking for mawk... mawk
checking for egrep... (cached) grep -E
checking for a BSD compatible install... /usr/bin/install -c
checking for tdlint... no
checking for lint... no
checking for alint... no
checking whether ln -s works... yes
checking for long file names... yes
checking if we should assume mixed-case filenames... auto
checking if filesystem supports mixed-case filenames... yes
checking whether make sets ${MAKE}... yes
checking for ctags... no
checking for etags... no
checking for makeflags variable... given option "-${MAKEFLAGS}", no match "make[3]: Entering directory `/projects/umms/packages/ncurses/outputs/ncurses-5.7'
.-wk
make[3]: Leaving directory `/projects/umms/packages/ncurses/outputs/ncurses-5.7'" given option "${MFLAGS}", no match "make[3]: Entering directory `/projects/umms/packages/ncurses/outputs/ncurses-5.7'
.-wk
make[3]: Leaving directory `/projects/umms/packages/ncurses/outputs/ncurses-5.7'"

checking for i586-umms-linux-gnu-ranlib... /projects/umms/toolchains/atom-eglibc-r1/bin/i586-umms-linux-gnu-ranlib
checking for i586-umms-linux-gnu-ld... no
checking for ld... ld
checking for i586-umms-linux-gnu-ar... /projects/umms/toolchains/atom-eglibc-r1/bin/i586-umms-linux-gnu-ar
checking for archiver options (symbol AR_OPTS)... rv
checking if you have specified an install-prefix...
checking for native build C compiler... gcc
checking for native build C preprocessor... cpp
checking for native build C flags...
checking for native build C preprocessor-flags...
checking for native build linker-flags...
checking for native build linker-libraries...
checking if you want to build libraries with libtool... no
checking if you want to build shared libraries... yes
checking if you want to build static libraries... no
checking if you want to build debug libraries... no
checking if you want to build profiling libraries... no
checking for specified models...  shared
checking for default model... shared
checking if you want to build a separate terminfo library... no
checking if you want to build a separate tic library... no
checking if you want to link with the GPM mouse library... maybe
checking for gpm.h... no
checking for default loader flags...
checking if rpath option should be used... no
checking if shared libraries should be relinked during install... yes
checking if release/abi version should be used for shared libs... auto
checking which /projects/umms/toolchains/atom-eglibc-r1/bin/i586-umms-linux-gnu-gcc option to use... -fPIC
checking if you wish to install ncurses overwriting curses... yes
checking if external terminfo-database is used... yes
checking which terminfo source-file will be installed... ${top_srcdir}/misc/terminfo.src
checking whether to use hashed database instead of directory/tree... no
checking for list of fallback descriptions...
checking if you want modern xterm or antique... xterm-new
checking for list of terminfo directories... /usr/share/terminfo
checking for default terminfo directory... /usr/share/terminfo
checking if big-core option selected... no
checking if big-strings option selected... yes
checking if you want termcap-fallback support... no
checking if ~/.terminfo is wanted... yes
checking if you want to use restricted environment when running as root... yes
checking for remove... yes
checking for unlink... yes
checking for link... yes
checking for symlink... yes
checking if tic should use symbolic links... yes
checking if you want broken-linker support code... no
checking if tputs should process BSD-style prefix padding... no
checking if /projects/umms/toolchains/atom-eglibc-r1/bin/i586-umms-linux-gnu-gcc -U and -D options work together... yes
checking if we must define _GNU_SOURCE... yes
checking if SIGWINCH is defined... yes
checking for nl_langinfo and CODESET... yes
checking if you want wide-character code... no
checking whether to enable _LP64 definition in curses.h... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseeko... yes
checking whether to use struct dirent64... no
checking if you want tparm not to use X/Open fixed-parameter list... yes
checking for type of bool... auto
checking for alternate terminal capabilities file... Caps
checking for type of chtype... auto
checking for type of ospeed... short
checking for type of mmask_t... auto
checking if RCS identifiers should be compiled-in... no
checking format of man-pages...  gzip
checking for manpage renaming... /projects/umms/packages/ncurses/outputs/ncurses-5.7/man/man_db.renames
checking if manpage aliases will be installed... yes
checking if manpage symlinks should be used... yes
checking for manpage tbl... no
checking if you want to build with function extensions... yes
checking for extended use of const keyword... no
checking if you want to use extended colors... no
checking if you want to use extended mouse encoding... no
checking if you want $NCURSES_NO_PADDING code... yes
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 for signed char... yes
checking size of signed char... 1
checking if you want to use signed Boolean array in term.h... no
checking if you want SIGWINCH handler... yes
checking if you want user-definable terminal capabilities like termcap... yes
checking if you want all development code... no
checking if you want hard-tabs code... no
checking if you want limited support for xmc... no
checking if you do not want to assume colors are white-on-black... yes
checking if you want hashmap scrolling-optimization code... yes
checking if you want colorfgbg code... no
checking if you want to link with the pthread library... no
checking if you want to use weak-symbols for pthreads... no
checking if you want experimental reentrant code... no
checking if you want experimental safe-sprintf code... no
checking if you want experimental wgetch-events code... no
checking if you want to display full commands during build... yes
checking if you want to see compiler warnings...
configure: checking for /projects/umms/toolchains/atom-eglibc-r1/bin/i586-umms-linux-gnu-gcc __attribute__ directives...
... scanf
... printf
... unused
... noreturn
checking if you want to enable runtime assertions... no
checking if you want to use dmalloc for testing... no
checking if you want to use dbmalloc for testing... no
checking if you want to use valgrind for testing... no
checking if you want to perform memory-leak testing... no
checking whether to add trace feature to all models... no
checking for gettimeofday... yes
checking if -lm needed for math functions... yes
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking whether time.h and sys/time.h may both be included... yes
checking for regular-expression headers... regex.h
checking for fcntl.h... yes
checking for getopt.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for poll.h... yes
checking for sys/bsdtypes.h... no
checking for sys/ioctl.h... yes
checking for sys/param.h... yes
checking for sys/poll.h... yes
checking for sys/select.h... yes
checking for sys/time.h... yes
checking for sys/times.h... yes
checking for ttyent.h... yes
checking for unistd.h... (cached) yes
checking for wctype.h... yes
checking if sys/time.h works with sys/select.h... yes
checking for /projects/umms/toolchains/atom-eglibc-r1/bin/i586-umms-linux-gnu-gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking if gcc supports options to tune inlining... yes
checking for signal global datatype... volatile sig_atomic_t
checking for type of chtype... long
checking if unsigned literals are legal... yes
checking if external errno is declared... yes
checking if external errno exists... no
checking if data-only library module links... unknown
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getttynam... yes
checking for issetugid... no
checking for poll... yes
checking for remove... (cached) yes
checking for select... yes
checking for setbuf... yes
checking for setbuffer... yes
checking for setvbuf... yes
checking for sigaction... yes
checking for sigvec... yes
checking for strdup... yes
checking for strstr... yes
checking for tcgetpgrp... yes
checking for times... yes
checking for vsnprintf... yes
checking for isascii... yes
checking whether sigaction needs _POSIX_SOURCE... no
checking if nanosleep really works... unknown
checking for termio.h... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking whether termios.h needs _POSIX_SOURCE... no
checking for tcgetattr... yes
checking for vsscanf function or workaround... vsscanf
checking for working mkstemp... checking for mkstemp... yes

configure: WARNING: cross compiling: assume setvbuf params not reversed
checking return type of signal handlers... void
checking for type sigaction_t... no
checking declaration of size-change... yes
checking for memmove... yes
checking if poll really works... unknown
checking for openpty in -lutil... yes
checking for openpty header... pty.h
checking if we should include stdbool.h... yes
checking for builtin bool type... no
checking for size of bool... unknown
configure: WARNING: Assuming unsigned for type of bool
checking for library subsets... termlib+ext_tinfo+base+ext_funcs
checking default library suffix...
checking default library-dependency suffix... .so
checking default object directory... obj_s
checking where we will install curses.h... ${prefix}/include
checking for src modules... ncurses panel menu form
checking for updated LDFLAGS... maybe
configure: creating ./config.status
config.status: creating include/MKterm.h.awk
config.status: creating include/curses.head
config.status: creating include/termcap.h
config.status: creating include/unctrl.h
config.status: creating man/Makefile
config.status: creating include/Makefile
config.status: creating ncurses/Makefile
config.status: creating panel/Makefile
config.status: creating menu/Makefile
config.status: creating form/Makefile
config.status: creating test/Makefile
config.status: creating misc/Makefile
config.status: creating misc/run_tic.sh
config.status: creating misc/ncurses-config
config.status: creating Makefile
config.status: creating include/ncurses_cfg.h
config.status: include/ncurses_cfg.h is unchanged
Appending rules for shared model (ncurses: termlib+ext_tinfo+base+ext_funcs)
Appending rules for shared model (panel: termlib+ext_tinfo+base+ext_funcs)
Appending rules for shared model (menu: termlib+ext_tinfo+base+ext_funcs)
Appending rules for shared model (form: termlib+ext_tinfo+base+ext_funcs)
Appending rules for shared model (test: termlib+ext_tinfo+base+ext_funcs)
creating headers.sh
make[3]: Entering directory `/projects/umms/packages/ncurses/outputs/ncurses-5.7'

** Configuration summary for NCURSES 5.7 20081102:

     extended funcs: yes
     xterm terminfo: xterm-new

      bin directory: /usr/bin
      lib directory: /usr/lib
  include directory: /usr/include
      man directory: /usr/man
 terminfo directory: /usr/share/terminfo

make[3]: Leaving directory `/projects/umms/packages/ncurses/outputs/ncurses-5.7' make -j 1 -C /projects/umms/packages/ncurses/outputs/ncurses-5.7 DESTDIR=/projects/umms/targets/sunrise/base/outputs/system all make[3]: Entering directory `/projects/umms/packages/ncurses/outputs/ncurses-5.7' cd man && make DESTDIR="/projects/umms/targets/sunrise/base/outputs/system" all make[4]: Entering directory `/projects/umms/packages/ncurses/outputs/ncurses-5.7/man' sh ./MKterminfo.sh ./terminfo.head ./../include/Caps ./terminfo.tail >terminfo.5 make[4]: Leaving directory `/projects/umms/packages/ncurses/outputs/ncurses-5.7/man' cd include && make DESTDIR="/projects/umms/targets/sunrise/base/outputs/system" all make[4]: Entering directory `/projects/umms/packages/ncurses/outputs/ncurses-5.7/include'
cat curses.head >curses.h
AWK=mawk sh ./MKkey_defs.sh ./Caps >>curses.h
sh -c 'if test "chtype" = "cchar_t" ; then cat ./curses.wide >>curses.h ; fi'
cat ./curses.tail >>curses.h
mawk -f MKterm.h.awk ./Caps > term.h
sh ./edit_cfg.sh ../include/ncurses_cfg.h term.h
** edit: HAVE_TCGETATTR 1
** edit: HAVE_TERMIOS_H 1
** edit: HAVE_TERMIO_H 1
** edit: BROKEN_LINKER 0
make[4]: Leaving directory `/projects/umms/packages/ncurses/outputs/ncurses-5.7/include' cd ncurses && make DESTDIR="/projects/umms/targets/sunrise/base/outputs/system" all make[4]: Entering directory `/projects/umms/packages/ncurses/outputs/ncurses-5.7/ncurses' sh -e ./base/MKlib_gen.sh "/projects/umms/toolchains/atom-eglibc-r1/bin/i586-umms-linux-gnu-gcc -E -DHAVE_CONFIG_H -I../ncurses -I. -I. -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG" "mawk" generated <../include/curses.h >lib_gen.c sh -e ./base/MKlib_gen.sh "/projects/umms/toolchains/atom-eglibc-r1/bin/i586-umms-linux-gnu-gcc -E -DHAVE_CONFIG_H -I../ncurses -I. -I. -I../include -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DNDEBUG" "mawk" implemented <../include/curses.h >link_test.c
make[4]: *** No rule to make target `ncurses', needed by `all'.  Stop.
make[4]: Leaving directory `/projects/umms/packages/ncurses/outputs/ncurses-5.7/ncurses'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/projects/umms/packages/ncurses/outputs/ncurses-5.7'
make[2]: *** [build] Error 2
make[2]: Leaving directory `/projects/umms/packages/ncurses'
make[1]: *** [libraries-build] Error 2
make[1]: Leaving directory `/projects/umms/build-system'
make: *** [libraries-build] Error 2

Can you help me?

BR,
Krisztian Kocsis




reply via email to

[Prev in Thread] Current Thread [Next in Thread]