make error building rtems under cygwin
Joel Sherrill
joel.sherrill at OARcorp.com
Mon Apr 2 22:31:14 UTC 2001
FWIW I managed to compile the "unix/posix" configuration
natively under a fresh install of net Cygwin and ran
hello and ticker.
tar xzf rtems-ss-20010326.tgz
mkdir b
cd b
../rtems-ss-20010326/configure
make
There were a handful of header file conflicts and I
ifdef'ed those on cygwin. The remaining blemish is that
paranoia does not link:
$ make
gcc --pipe -B../../../../../ -B../../../../../posix/lib/ -specs
bsp_specs -qrtem
s -g -Wall -ansi -fasm -D_BSD_SOURCE -L
../../../../../posix/lib -O2
-o o-optimize/paranoia.exe o-optimize/init.o
o-optimize/paranoia.o -lm
/usr/lib/libm.a(libcmain.o)(.text+0x6a):libcmain.c: undefined reference
to `WinM
ain at 16'
collect2: ld returned 1 exit status
make: *** [o-optimize/paranoia.exe] Error 1
administrator at JAMAICA /tmp/b/c/posix/tests/samples/paranoia
--joel
Andrew Maximov wrote:
>
> > -----Original Message-----
> > From: Chris Stich [mailto:cstich at decrc.abb.de]
> > Sent: Monday, March 26, 2001 9:44 PM
> > To: Andrew Maximov; Rtems-Users
> > Subject: Re: make error building rtems under cygwin
> >
> >
> > Hi,
> > ok, I deleted all long paths in the path var in my 2k-environment, but I
> > got the same error as before.
> >
> > Cheers, Chris
> >
> > Andrew Maximov wrote:
> > >
> > > > -----Original Message-----
> > > > From: Chris Stich [mailto:cstich at decrc.abb.de]
> > > > Sent: Monday, March 26, 2001 2:04 PM
> > > > To: Rtems-Users
> > > > Subject: make error building rtems under cygwin
> > > >
> > > >
> > > > 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
> > > > gmake[7]: Entering directory
> > > > `/home/pecos/build-rtems/c/posix/exec/score/cpu/uni
> > > > x'
> > > > Makefile:605: *** multiple target patterns. Stop.
> > > > 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 and Window 2k.
> > > > Kind regards, Chris
> > >
> > > Check PATH enviroment variable.
> > > It shoud not contain long filenames with spaces.
> > > Ex: PATH=D:\Program files\Visual Studio etc..
> >
> I solved absolutely same problem.
> I precisely remember that I have decided it by
> eliminating lengthy names with blanks from $PATH.
> What does the variable PATH contain?
> Did you start "configure" again?
--
Joel Sherrill, Ph.D. Director of Research & Development
joel at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users
mailing list