public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: Simon Gornall <sgornall@apple.com>
To: crossgcc@sourceware.org
Subject: Can't compile crosstool-ng-1.15.2 on OpenSuse Linux
Date: Thu, 05 Jul 2012 21:07:00 -0000	[thread overview]
Message-ID: <555E7BDA-5027-4E00-9F8D-7A754AC3E571@apple.com> (raw)

Hi there, 

I just downloaded crosstool-ng-1.15.2 and tried to compile under Suse Linux, to make myself an arm cross-compiler. Unfortunately I can't get past the first stage:

xanadu% wget http://crosstool-ng.org/download/crosstool-ng/crosstool-ng-1.15.2.tar.bz2
xanadu% ./configure --prefix=/opt
xanadu% tar xjvf crosstool-ng-1.15.2.tar.bz2
xanadu% cd crosstool-ng-1.15.2/
xanadu% ./configure --prefix=/opt

checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking whether sed understands -r -i -e... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for objcopy... objcopy
checking for absolute path to objcopy... /usr/bin/objcopy
checking for objdump... objdump
checking for absolute path to objdump... /usr/bin/objdump
checking for readelf... readelf
checking for absolute path to readelf... /usr/bin/readelf
checking for bison... bison
checking for flex... flex
checking for gperf... gperf
checking for gawk... gawk
checking for makeinfo... makeinfo
checking for cut... cut
checking for stat... stat
checking for readlink... readlink
checking for wget... wget
checking for tar... tar
checking for gzip... gzip
checking for bzip2... bzip2
checking for patch... /usr/bin/patch
checking for bash >= 3.1... /bin/bash
checking for GNU make >= 3.80... /usr/bin/make
checking whether /usr/bin/make sets $(MAKE)... yes
checking for GNU libtool >= 1.5.26... /usr/bin/libtool
checking for GNU libtoolize >= 1.5.26... /usr/bin/libtoolize
checking for GNU automake >= 1.10... /usr/bin/automake
checking for xz... xz
checking for cvs... cvs
checking for svn... svn
checking for inline... inline
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 stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking whether gettext is declared... yes
checking ncurses/ncurses.h usability... yes
checking ncurses/ncurses.h presence... yes
checking for ncurses/ncurses.h... yes
checking for library containing initscr... -lncursesw
configure: creating ./config.status
config.status: creating Makefile

xanadu%  make 
  SED    'ct-ng'
  SED    'scripts/crosstool-NG.sh'
  SED    'scripts/saveSample.sh'
  SED    'scripts/showTuple.sh'
  GEN    'config/configure.in'
  GEN    'paths.mk'
  GEN    'paths.sh'
  DEP    'nconf.gui.dep'
  DEP    'nconf.dep'
  DEP    'lxdialog/menubox.dep'
  DEP    'lxdialog/textbox.dep'
  DEP    'lxdialog/yesno.dep'
  DEP    'lxdialog/util.dep'
  DEP    'lxdialog/inputbox.dep'
  DEP    'lxdialog/checklist.dep'
  DEP    'mconf.dep'
  DEP    'conf.dep'
  BISON  'zconf.tab.c'
  GPERF  'zconf.hash.c'
  LEX    'lex.zconf.c'
  DEP    'zconf.tab.dep'
  CC     'zconf.tab.o'
  CC     'conf.o'
  LD     'conf'
  CC     'lxdialog/checklist.o'
  CC     'lxdialog/inputbox.o'
  CC     'lxdialog/util.o'
  CC     'lxdialog/yesno.o'
  CC     'lxdialog/textbox.o'
  CC     'lxdialog/menubox.o'
  CC     'mconf.o'
  LD     'mconf'
  CC     'nconf.o'
In file included from nconf.c:12:0:
nconf.h:19:18: fatal error: menu.h: No such file or directory
compilation terminated.
make[2]: *** [nconf.o] Error 1
make[1]: *** [build-lib-kconfig] Error 2
make: *** [build] Error 2


I tried to see if menu.h was really there but somehow being missed:

xanadu%   find . -name menu.h
xanadu%   

It wasn't there, so I thought I'd redo-from-scratch  and tried:

xanadu% make mrproper
  RM     'ct-ng'
  RM     'scripts/crosstool-NG.sh'
  RM     'scripts/saveSample.sh'
  RM     'scripts/showTuple.sh'
  RM     'paths'
  RM     'config/configure.in'
  RM     'kconfig'
  RM     'docs/ct-ng.1'
  RM     'docs/ct-ng.1.gz'
  RM     'Makefile'
  RM     'autostuff'
xanadu%  autoconf
xanadu% !./configure && make

... but still got the same errors.  Am I doing something stupid, or is this a known bug ?

Cheers
	Simon



--
For unsubscribe information see http://sourceware.org/lists.html#faq

             reply	other threads:[~2012-07-05 21:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-05 21:07 Simon Gornall [this message]
2012-07-05 22:51 ` Samuel Martin
2012-07-05 23:18   ` Simon Gornall
2012-07-06 14:07     ` Trevor Woerner
2012-07-09  1:35       ` Simon Gornall
2012-07-22 14:42       ` Yann E. MORIN
2012-07-22 16:15         ` Simon Gornall
2012-07-31 21:20           ` Yann E. MORIN

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=555E7BDA-5027-4E00-9F8D-7A754AC3E571@apple.com \
    --to=sgornall@apple.com \
    --cc=crossgcc@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).