make error building rtems under cygwin

Chris Stich cstich at decrc.abb.de
Mon Mar 26 17:03:00 UTC 2001


Hi,
thanks for your response.
Ok, I built it by:
../rtems-ss-20001123/configure --enable-networking --enable-cxx
--enable-rtemsbsp=posix --enable-tests --prefix=/usr/local/rtems

It's interesting, I got the same error by using the rtems-ss-20010126,
so I think something must be wrong with my cygwin installation.

Ralf Corsepius wrote:
> 
> Chris Stich wrote:
> >
> > Hello,
> > I'm one step closer to my rtems, but now I got this error.
> > After configure I started make all:
> >
> > <...snap>
> > Making preinstall in unix
> 
> => You seem to be building the posix-BSP under Cygwin. Building this
> is known to be problematic with certain Cygwin' versions and also is
> known to be problematic at run-time in combination with certain
> Win-version (I think, Joel could comment on this.)
> 
> > gmake[7]: Entering directory
> > `/home/pecos/build-rtems/c/posix/exec/score/cpu/uni
> > x'
> > Makefile:605: *** multiple target patterns.  Stop.
> 
> I have never seen this before. Could you show us how you invoke
> RTEMS's configure (Which configuration options you use)?
> 
> For the moment I would suspect,
> * you might have set some environment variables which interfere with
> RTEMS (In particular, make sure not to have set LIB, INCLUDES,
> TARGET_ARCH, MAKE).
> * you might not have a symlink called "cc.exe" pointing to gcc.exe
> in $PATH.
> 
> > gmake[7]: Leaving directory
> > `/home/pecos/build-rtems/c/posix/exec/score/cpu/unix
> > '
> > gmake[6]: *** [preinstall-recursive] Error 1
> > gmake[6]: Leaving directory
> > `/home/pecos/build-rtems/c/posix/exec/score/cpu'
> > gmake[5]: *** [preinstall-recursive] Error 1
> > gmake[5]: Leaving directory `/home/pecos/build-rtems/c/posix/exec/score'
> > gmake[4]: *** [preinstall-recursive] Error 1
> > gmake[4]: Leaving directory `/home/pecos/build-rtems/c/posix/exec'
> > gmake[3]: *** [preinstall-recursive] Error 1
> > gmake[3]: Leaving directory `/home/pecos/build-rtems/c/posix'
> > gmake[2]: *** [posix] Error 1
> > gmake[2]: Leaving directory `/home/pecos/build-rtems/c'
> > gmake[1]: *** [all-recursive] Error 1
> > gmake[1]: Leaving directory `/home/pecos/build-rtems/c'
> > make: *** [all-recursive] Error 1
> >
> > Does anyone have an idea?
> > At the moment I use rtems snapshot 220100, cygwin 1.1.8
> 
> I know there was a header conflict between RTEMS's unix/posix-BSP
> and Cygwin's newlib between Cygwin 1.1.4 and 1.1.7, but I don't know
> about the shape of Cygwin 1.1.8 and it's interaction with current
> RTEMS.
> 
Here the error occurs in the makefile, before including something.

Cheers, Chris



More information about the users mailing list