From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2604 invoked by alias); 5 Jul 2012 23:18:01 -0000 Received: (qmail 2593 invoked by uid 22791); 5 Jul 2012 23:18:00 -0000 X-SWARE-Spam-Status: No, hits=-6.2 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_YE,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail-out.apple.com (HELO mail-out.apple.com) (17.151.62.49) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 05 Jul 2012 23:17:47 +0000 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from relay17.apple.com ([17.128.113.18]) by mail-out.apple.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTP id <0M6P0000UNDBUME3@mail-out.apple.com> for crossgcc@sourceware.org; Thu, 05 Jul 2012 16:17:47 -0700 (PDT) Received: from sgornall.apple.com (vp0102wa-dhcp80.apple.com [17.224.39.80]) (using TLS with cipher AES128-SHA (AES128-SHA/128 bits)) (Client did not present a certificate) by relay17.apple.com (Apple SCV relay) with SMTP id 21.CE.16643.A9026FF4; Thu, 05 Jul 2012 16:17:46 -0700 (PDT) Subject: Re: Can't compile crosstool-ng-1.15.2 on OpenSuse Linux From: Simon Gornall In-reply-to: Date: Thu, 05 Jul 2012 23:18:00 -0000 Message-id: <22E7D1D0-1E04-4067-AF49-D2B00EB6DAF2@apple.com> References: <555E7BDA-5027-4E00-9F8D-7A754AC3E571@apple.com> To: crossgcc@sourceware.org Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2012-07/txt/msg00023.txt.bz2 On Jul 5, 2012, at 3:50 PM, Samuel Martin wrote: > Hi Somon, all, > >> 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% >> > > menu.h comes with ncurses; make sure development package for ncurses > are installed on your system. Thanks for the quick response [grin] I didn't know menu.h was part of ncurses, so I've now made sure it's there xanadu% ls /usr/include/ncurses/ cursesapp.h curses.h cursesp.h cursslk.h etip.h menu.h ncurses_dll.h panel.h term_entry.h tic.h cursesf.h cursesm.h cursesw.h eti.h form.h nc_tparm.h ncurses.h termcap.h term.h unctrl.h but I still get the same: xanadu% make GEN 'config/configure.in' GEN 'paths.mk' GEN 'paths.sh' 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 ... so I tried a 'make mrproper' / 'autoconf' in case something was cached, but still got the same. Tracking down 'nconf.c' to the kconfig directory, I saw that nconf.h does a "#include " so I ended up adding "-I/usr/include/ncurses" to the CFLAGS declaration inside the Makefile in kconfig/ At least that way I could get it to compile :) Cheers Simon -- For unsubscribe information see http://sourceware.org/lists.html#faq