Filio example doesn't run with rtems from the cvs

Thomas Doerfler Thomas.Doerfler at imd-systems.de
Mon Mar 20 14:26:55 UTC 2006


Matteo,

what where your exact steps, when your compiled fileio separately? Which 
makefile did you use, did you also copy the "system.h" file? There is a 
BSP preprocessor define which is vital for "fileio", it is called 
"RTEMS_BSP_HAS_IDE_DRIVER".

wkr,
Thomas.


Matteo wrote:
> Ok , I see from ftp://ftp.rtems.com/pub/rtems/4.6.99.2/TOOL_VERSIONS that I'm
> using a compatible version of gcc, newlib and binutils (gcc-4.0, newlib-1.13,
> binutils-2.16). 
> Infact using this toolset I can compile correctly rtems and the testsuite and
> fileio example works well. 
> After I take the source code of fileio example and I compiled it and the example
>  doesn't works!
> How it's possible, I use the same source file, the only difference is that in
> the first case the example are compiled automatically with rtems and in the
> second case I compiled the source code of the example separately.
> Note that I try compile separately the hello and ticker examples  and they works
> well, so why fileio doesn't work ?
> 
> 
> Thank in advance 
> 
> Matteo
> 
-- 
--------------------------------------------
IMD Ingenieurbuero fuer Microcomputertechnik
Thomas Doerfler           Herbststrasse 8
D-82178 Puchheim          Germany
email:    Thomas.Doerfler at imd-systems.de
PGP public key available at:
      http://www.imd-systems.de/pgpkey_en.html



More information about the users mailing list