From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bart Veer To: mmacmillan@draper.com Cc: ecos-discuss@sourceware.cygnus.com Subject: Re: [ECOS] ECOS build/config problems under Sparc Solaris 2.5.1 Date: Wed, 13 Sep 2000 05:59:00 -0000 Message-id: <200009131259.NAA32520@sheesh.cygnus.co.uk> References: <4.2.0.58.20000913081236.00a24410@imap.draper.com> X-SW-Source: 2000-09/msg00193.html >>>>> "Mike" == Mike MacMillan writes: Mike> Hello, Mike> I am having build/config problems of ECOS host tools on solaris 2.5.1. Mike> I am running top-level configure script to supposedly build ecosconfig Mike> command line tool. Mike> The following output is displayed: Mike> checking host system type... sparc-sun-solaris2.5.1 Mike> checking for a BSD compatible install... Mike> /export/home/mjm1431/ecos/ecos-1.3.1/to Mike> ols/src/install-sh -c Mike> checking whether build environment is sane... yes Mike> checking whether make sets ${MAKE}... yes Mike> checking for working aclocal... missing Mike> checking for working autoconf... missing Mike> checking for working automake... missing Mike> checking for working autoheader... missing Mike> checking for working makeinfo... found Mike> checking whether to enable maintainer-specific portions of Makefiles... Mike> no Mike> checking whether make sets ${MAKE}... (cached) yes Mike> checking for Cygwin environment... no Mike> checking for gcc... gcc Mike> checking whether the C compiler (gcc ) works... no Mike> configure: error: installation or configuration problem: C compiler Mike> cannot creat Mike> e executables. Mike> Has anyone tried to do this on a solaris machine? There was some discussion of Solaris builds just yesterday, see the archives at http://sources.redhat.com/ml/ecos-discuss/ Mike> Any suggestions are welcome! The message indicates that you do not have a working gcc installation. At this stage in the configure script it will generate the following file conftest.c: #line 1044 "configure" #include "confdefs.h" main(){return(0);} where confdefs.h is probably an empty file, and try to compile and run it using something like: gcc -o conftest conftest.c conftest Somewhere along the way this fails, so as far as the configure script is concerned you do not have a working gcc installation. Something like the 2.95.2 release should be fine, see http://gcc.gnu.org/ for details. Bart