This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ECOS build/config problems under Sparc Solaris 2.5.1


>>>>> "Mike" == Mike MacMillan <mmacmillan@draper.com> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]