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]
Other format: [Raw text]

Re: Closer but not quite


>>>>> "Andrew" == Andrew Lunn <andrew.lunn@ascom.ch> writes:

    Andrew> On Tue, Jul 08, 2003 at 09:45:27AM -0700, Chuck McManis wrote:
    >> So thanks for the pointer on using gmake rather than make (note to FreeBSD 
    >> users, its configure;gmake;? install)
    >> 
    >> And while that successfully built the toolchain the install fails with :
    >> ----------------------------------- snip
    >> gmake[3]: Entering directory 
    >> `/usr/ecos/build/packages/devs/eth/synth/ecosynth/v2_0/host'
    >> gmake[3]: *** No rule to make target `install-data-hook'.  Stop.
    >> gmake[3]: Leaving directory 
    >> `/usr/ecos/build/packages/devs/eth/synth/ecosynth/v2_0/host'
    >> gmake[2]: *** [install-data-am] Error 2
    >> gmake[2]: Leaving directory 
    >> `/usr/ecos/build/packages/devs/eth/synth/ecosynth/v2_0/host'
    >> gmake[1]: *** [install-am] Error 2
    >> gmake[1]: Leaving directory 
    >> `/usr/ecos/build/packages/devs/eth/synth/ecosynth/v2_0/host'
    >> gmake: *** [install-recursive] Error 1
    >> demon2#

    Andrew> Since you are on FreeBSD not Linux, the synth stuff is not
    Andrew> much use to you at the moment. So i suggest you disable
    Andrew> the building of this so you can get the more interesting
    Andrew> stuff compiled.

    Andrew> If at some stage you port the linux synth HAL to FreeBSD,
    Andrew> you can then come back and make this code compile.

    Andrew> Bart, how easy is it to make autoconfig detect its not on
    Andrew> Linux and not bother making the synth stuff? I guess its
    Andrew> easy for someone who knows how autoconf works.

It already does, which is why we don't get failures when building the
host-side software under cygwin. e.g. for devs/eth/synth/ecosynth:

----------------------------------------------------------------------------
...
case "${host}" in
    i[[34567]]86-*-linux-gnu* ) SUPPORTED="yes";;
    * ) SUPPORTED="no"
esac
if test "${SUPPORTED}" = "no" ; then
    AC_MSG_WARN([Synthetic target ethernet support is only available on x86 Linux hosts])
fi   

if test "${SUPPORTED}" = "yes" ; then
...
----------------------------------------------------------------------------

However I know that some versions of automake had problems with exec
and data hooks, depending on them even if they were conditionalized
out. I know a possible work-around for that problem which I'll
experiment with.

Bart

-- 
Bart Veer                       eCos Configuration Architect
http://www.ecoscentric.com/     The eCos and RedBoot experts

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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