Error During Make for i386ex BSP - Beginner HELP

Joel Sherrill joel.sherrill at OARcorp.com
Tue Aug 12 13:25:52 UTC 2003


Aditya wrote:

> After Sucessful configuration of RTEMS (it says to do a make all at the 
> end)....I do ... make all install ... as said in the RTEMS Getting 
> Started c/++ manual...
> and i get an error like this below at the end...
> ..........................................................
> .............................................
> ....................
> mkdir o-optimize
> /opt/rtems/bin/i386-rtems-gcc --pipe -B../../../../../../i386ex/lib/ 
> -specs bsp_specs -qrtems -g -Wall -ansi -fasm
> -c -O4 -o o-optimize/init.o 
> ../../../../../../../archive/c/src/tests/samples/hello/init.c
> /opt/rtems/bin/i386-rtems-gcc --pipe -B../../../../../../i386ex/lib/ 
> -specs bsp_specs -qrtems -g -Wall -ansi -fasm
> -L ../../../../../../i386ex/lib -O4 -o o-optimize/hello.coff 
> o-optimize/init.o ../../../../../../i386ex/lib/no-dpmem.rel 
> ../../../../../../i386ex/lib/no-event.rel 
> ../../../../../../i386ex/lib/no-msg.rel 
> ../../../../../../i386ex/lib/no-mp.rel 
> ../../../../../../i386ex/lib/no-part.rel 
> ../../../../../../i386ex/lib/no-signal.rel 
> ../../../../../../i386ex/lib/no-timer.rel 
> ../../../../../../i386ex/lib/no-rtmon.rel
> /opt/rtems/i386-rtems/bin/ld:../../../../../../i386ex/lib/linkcmds:115: 
> parse error
> collect2: ld returned 1 exit status
> make[5]: *** [o-optimize/hello.exe] Error 1
> make[5]: Leaving directory ..................
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory...............
> make[3]: *** [all-recursive] Error 1
> .......
> ...................................
> .............................................
> make: *** [all-recursive] Error 1
>  
> ETC...
>  
> May i know the cause of this error and how to rectify it?
>

You really are using a very old RTEMS.  I believe this is
the problem that was caused by a bad RAM module in the CVS
server in the spring/summer of 2000 which somewhat randomly
caused a bit to flip in files.  This was fixed in a patch
committed on 14 June 2000.  The "5" should be a "=" on
line 115.

http://www.rtems.com/cgi-bin/cvsweb.cgi/rtems/c/src/lib/libbsp/i386/i386ex/startup/linkcmds.diff?r1=1.10&r2=1.11&f=u

Again you are using a very old version of RTEMS.

Also if you are not using this BSP, I suspect you need
to add a --enable-rtemsbsp=XXX to your configure command.
XXX is the only BSP you are interested in.

>  
> 
> Regards
> Aditya <http://privatewww.essex.ac.uk/~avpenu>
>  


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