Building Rtems ERROR

Joel Sherrill <joel@OARcorp.com> joel.sherrill at OARcorp.com
Thu Nov 4 12:24:13 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?

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

> 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