make error building rtems under cygwin

Ralf Corsepius corsepiu at faw.uni-ulm.de
Mon Mar 26 16:41:16 UTC 2001


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.

> and Window 2k.
> Kind regards, Chris

Ralf

-- 
Ralf Corsepius 
Forschungsinstitut fuer Anwendungsorientierte Wissensverarbeitung
(FAW)
Helmholtzstr. 16, 89081 Ulm, Germany     Tel: +49/731/501-8690
mailto:corsepiu at faw.uni-ulm.de           FAX: +49/731/501-999  
http://www.faw.uni-ulm.de



More information about the users mailing list