RTEMS 4.10 on Fedora 10 Virtual Machine: Problems compiling SPARC examples

Joel Sherrill joel.sherrill at OARcorp.com
Thu Sep 10 18:43:37 UTC 2009


Luis Mollinedo Herrera wrote:
> Hello,
>
> We are trying to start to work with the virtual machine described here:
>
>     http://www.rtems.com/wiki/index.php/Virtual_Machines_for_RTEMS_Development
>
> But when we have tried to build all the SPARC examples with these instructions:
>
>   
Did you do an update on the RTEMS or tools or OS?  This indicates
a mismatch between RTEMS and the tools.

If you do a "yum update" and cvs up -Pd on the RTEMS, you should
land in a consistent place.
> "cd $B 
> mkdir b-sis
> cd b-sis
> sh -x ../build-sis
> make"
>
> We get this error:
> ...
> Making all in hello
> gmake[5]: Entering directory `/home/rtems/rtems-work/b-sis/sparc-rtems4.10/c/sis/testsuites/samples/hello'
> sparc-rtems4.10-gcc -B../../../../../sis/lib/ -specs bsp_specs -qrtems -DPACKAGE_NAME=\"rtems-c-src-tests-samples\" -DPACKAGE_TARNAME=\"rtems-c-src-tests-samples\" -DPACKAGE_VERSION=\"4.9.99.0\" -DPACKAGE_STRING=\"rtems-c-src-tests-samples\ 4.9.99.0\" -DPACKAGE_BUGREPORT=\"http://www.rtems.org/bugzilla\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I. -I../../../../../../../rtems/c/src/../../testsuites/samples/hello     -mcpu=cypress -O2 -g -MT init.o -MD -MP -MF .deps/init.Tpo -c -o init.o ../../../../../../../rtems/c/src/../../testsuites/samples/hello/init.c
> mv -f .deps/init.Tpo .deps/init.Po
> sparc-rtems4.10-gcc -B../../../../../sis/lib/ -specs bsp_specs -qrtems -mcpu=cypress -O2 -g    -mcpu=cypress   -o hello.exe init.o ../../../../../sis/lib/no-barrier.rel ../../../../../sis/lib/no-dpmem.rel ../../../../../sis/lib/no-event.rel ../../../../../sis/lib/no-msg.rel ../../../../../sis/lib/no-mp.rel ../../../../../sis/lib/no-part.rel ../../../../../sis/lib/no-region.rel ../../../../../sis/lib/no-signal.rel ../../../../../sis/lib/no-timer.rel ../../../../../sis/lib/no-rtmon.rel ../../../../../sis/lib/no-ext.rel 
> /opt/rtems-4.10/lib/gcc/sparc-rtems4.10/4.4.1/../../../../sparc-rtems4.10/lib/libc.a(lib_a-makebuf.o): In function `__smakebuf_r':
> /builddir/build/BUILD/rtems-4.10-sparc-rtems4.10-gcc-4.4.1/build/sparc-rtems4.10/newlib/libc/stdio/../../../../../gcc-4.4.1/newlib/libc/stdio/makebuf.c:110: undefined reference to `_isatty_r'
> collect2: ld returned 1 exit status
> gmake[5]: *** [hello.exe] Error 1
> gmake[5]: Leaving directory `/home/rtems/rtems-work/b-sis/sparc-rtems4.10/c/sis/testsuites/samples/hello'
> gmake[4]: *** [all-recursive] Error 1
> gmake[4]: Leaving directory `/home/rtems/rtems-work/b-sis/sparc-rtems4.10/c/sis/testsuites/samples'
> gmake[3]: *** [all-recursive] Error 1
> gmake[3]: Leaving directory `/home/rtems/rtems-work/b-sis/sparc-rtems4.10/c/sis/testsuites'
> gmake[2]: *** [all-recursive] Error 1
> gmake[2]: Leaving directory `/home/rtems/rtems-work/b-sis/sparc-rtems4.10/c/sis'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/home/rtems/rtems-work/b-sis/sparc-rtems4.10/c'
> make: *** [all-recursive] Error 1
> [rtems at VirtualRTEMS b-sis]$
>
> Any ideas?
>
> Thanks in advance,
>
> Luis Mollinedo
> Project Engineer
> Advanced Space systems and Technologies
> GMV Aerospace and Defence S.A.
>
> ______________________
> Este mensaje, y en su caso, cualquier fichero anexo al mismo,
>  puede contener informacion clasificada por su emisor como confidencial
>  en el marco de su Sistema de Gestion de Seguridad de la 
> Informacion siendo para uso exclusivo del destinatario, quedando 
> prohibida su divulgacion copia o distribucion a terceros sin la 
> autorizacion expresa del remitente. Si Vd. ha recibido este mensaje 
>  erroneamente, se ruega lo notifique al remitente y proceda a su borrado. 
> Gracias por su colaboracion.
> ______________________
> This message including any attachments may contain confidential 
> information, according to our Information Security Management System,
>  and intended solely for a specific individual to whom they are addressed.
>  Any unauthorised copy, disclosure or distribution of this message
>  is strictly forbidden. If you have received this transmission in error,
>  please notify the sender immediately and delete it.
> ______________________
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
>   


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill 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