Building Rtems ERROR

Daniel Gustafsson daniel.gustafsson at space.se
Thu Nov 4 12:39:09 UTC 2004


>
>Daniel Gustafsson wrote:
>> Hello.
>> 
>> I am trying to build rtems 4.6.2 on a solaris with target 
>processor ERC32.
>> The configure works fine. 
>> 
>> The problem is when running make all install. Everything is 
>fine until we
>> get to sample/fileio.
>> 
>> ERROR:
>> ..ttyname_r.c:83 Undefined reference to _fstat
>> 
>> Do anyone have a solution or tips what I am doing wrong.
>
>What tools are you using?


This are the tools:

rtems-4.6-rtems-base-binutils-2.13.2.1-2.tar
rtems-4.6-rtems-base-gcc-gcc3.2.3newlib1.11.0-4.tar
rtems-4.6-sparc-rtems-binutils-2.13.2.1-2.tar
rtems-4.6-sparc-rtems-gcc-gcc3.2.3newlib1.11.0-4.tar



>
>If you do a sparc-rtems-nm --extern-only on /opt/...../sparc.../libc.a 
>and grep for _fstat what do you see?



This is the output:

		U _fstat_r
00000000	D _dummy_fstat_syscalls
		U _fstat_r



>
>> Also I can't find the 
>"rtems-4.6-sparc-rtems-gdb-5.2-1.tar.gz" file. Have
>> looked in /pub/.. But it isn't there. Every target but sparc exists.
>
>Hmmm.. I will look for it.  It is likely that it had a build failure if
>it wasn't there.  Try to build it locally until I can look into it.
>
>> Please help...
>> 
>> Best Regards
>> Daniel Gustavsson 
>> 
>
>
>-- 
>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