Compiling problems

Joel Sherrill joel.sherrill at OARcorp.com
Tue Nov 28 15:36:57 UTC 2000



Vasudev Mulchandani wrote:
> 
> Hello Joel
> 
> Correct me if I am wrong. I have installed newlib version 1.8.2 and
> gcc version being 2.95.2. I believe these are the latest versions.

Yes but the RTEMS patches are not the latest ones.

> Vasu
> 
> Joel Sherrill wrote:
> >
> > Vasudev Mulchandani wrote:
> > >
> > > Hello !
> > >
> > > I was trying to build rtems for pc586 target. I have installed
> > > the cross compiler successfully. Now I run into the following
> > > compilation problem.
> >
> > It looks like your tool version is too old.  pthread.h was moved
> > from RTEMS to newlib and your tools still expect it to be in
> > RTEMS.  Grab the RPMS or new patches.
> >
> > > ----------------------------------------------------------------
> > > Making all in src
> > > make[5]: Entering directory
> > > `/home/rtems/i386bld/i386-rtems/c/pc586/exec/posix/s
> > > rc'
> > > /usr/local/bin/i386-rtems-gcc --pipe -B../../../../../../pc586/lib/
> > > -specs bsp_s
> > > pecs -qrtems -g -Wall -ansi -fasm    -mcpu=i586     -c
> > > -D__RTEMS_INSIDE__ -O4 -o
> > >  o-optimize/adasupp.o
> > > ../../../../../../../rtems-4.5.0-beta3a/c/src/exec/posix/s
> > > rc/adasupp.c
> > > ../../../../../../../rtems-4.5.0-beta3a/c/src/exec/posix/src/adasupp.c:7:
> > > pthrea
> > > d.h: No such file or directory
> > > make[5]: *** [o-optimize/adasupp.o] Error 1
> > > make[5]: Leaving directory
> > > `/home/rtems/i386bld/i386-rtems/c/pc586/exec/posix/sr
> > > c'
> > > make[4]: *** [all-recursive] Error 1
> > > make[4]: Leaving directory
> > > `/home/rtems/i386bld/i386-rtems/c/pc586/exec/posix'
> > > make[3]: *** [all-recursive] Error 1
> > > make[3]: Leaving directory `/home/rtems/i386bld/i386-rtems/c/pc586/exec'
> > > make[2]: *** [all-recursive] Error 1
> > > make[2]: Leaving directory `/home/rtems/i386bld/i386-rtems/c/pc586'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory `/home/rtems/i386bld/i386-rtems/c'
> > > make: *** [all-recursive] Error 1
> > > -----------------------------------------------------------------------------------
> > >
> > > Any help is greatly appreciated ..
> > >
> > > TIA
> > >
> > > Adios
> > > vasu
> >
> > --
> > 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
> 
> --
> ************************************************************
> | Vasudev Mulchandani  : Senior Specialist,  D & D         |
> |                        Networking & Communications Group |
> | Company              : Tata Elxsi Ltd., Bangalore        |
> | Phone : +91-80-8410222 Fax  : +91-80-8410219             |
> ************************************************************

-- 
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