This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Error building from CVS sources
On Tue, Oct 18, 2005 at 08:51:46AM +0200, Andrew Lunn wrote:
> On Mon, Oct 17, 2005 at 10:11:46PM -0400, Randall Nortman wrote:
> > Total eCos newbie here. I don't actually want eCos, just RedBoot, but
> > it seems that they are packaged together. I am trying to build from
> > CVS sources. I created a build directory alongside the ecos
> > directory, and ran ../ecos/configure. I get a few errors, apparently
> > related to the fact that I'm building on an amd64 machine:
> >
> > checking host system type... Invalid configuration
> > `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized
> >
> > [... then a bunch of stuff succeeds, but then finally:]
> >
> > configuring in packages/services/profile/gprof/current/host
> > running /bin/sh
> > ../../../../../../../ecos/packages/services/profile/gprof/current/host/configure
> > --cache-file=../../../../../.././config.cache
> > --srcdir=../../../../../../../ecos/packages/services/profile/gprof/current/host
> > configure: loading cache ../../../../../.././config.cache
> > checking that a separate build tree is being used... yes
> > checking build system type... Invalid configuration
> > `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized
> > configure: error: /bin/sh
> > ../../../../../../../ecos/packages/services/profile/gprof/current/host/../../../../../../acsupport/config.sub
> > x86_64-unknown-linux-gnu failed
> > configure: error:
> > ../../../../../../../ecos/packages/services/profile/gprof/current/host/configure
> > failed for packages/services/profile/gprof/current/host
> >
> >
> > Am I the first to try this on amd64, or am I doing something wrong?
> > If the gprof module is the only thing that won't work, can I just skip
> > it? (I only need RedBoot, after all.)
>
> You don't need groff, so skip it.
Not seeing a configure option for this (e.g., --without-gprof), I just
deleted the gprof portion of the source tree and ran configure again.
This time it apparently completed, so I ran make, which also, to my
great surprise, completed successfully. However, I'm looking for the
"configtool" program, referenced in the documentation, but under
host/tools/configtool, only ecosconfig is being built. Is this
adequate? Has configtool disappeared since the 2.0 release? Or am I
doing something wrong?
Also, RedBoot is not being built. In fact, hardly anything is being
built. After a "make && make install", these 12 files are the only
things installed:
bin/ecosconfig
lib/libcyginfra.a
lib/libcdl.a
include/cyg/hal/basetype.h
include/cyg/infra/testcase.h
include/cyg/infra/cyg_trac.h
include/cyg/infra/cyg_type.h
include/cyg/infra/cyg_ass.h
include/pkgconf/hostinfra.h
include/pkgconf/infra.h
include/cdl.hxx
include/cdlcore.hxx
So, how am I supposed to be doing this? I've found no README or any
docs for building from source, so I'm sort of flying blind here.
> --
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
The FAQ page is broken, by the way. It returns a 403 Forbidden error.
Randall
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss