rtems.h not found during build
Martin Grim
W.M.Grim at sron.nl
Tue Jun 30 09:59:17 UTC 2009
Hi folks,
I encounter a problem during building my app against 4.9.2. It used to work with 4.8.0... A search on the archive didn't help me much, so that's why I ask this question here...
During the build I encounter a build error: rtems.h (among others) is not found in the search path:
marting at Corvus:~/esw/gen$ make
Compiling Debug.o
/opt/rtems-4.9/bin/sparc-rtems4.9-g++ -c -DREVISION="1787:1884M" -DBUILDSTAMP="06/30/09 +11:46:47" -Iinc/ -Wall -O2 -mcpu=v8 -msoft-float -pedantic src/Debug.cpp -o obj/Debug.o -v
src/Debug.cpp:10:19: error: sched.h: No such file or directory
In file included from inc/MicroTime.h:16,
from inc/CCSDS.h:30,
from src/Debug.cpp:15:
inc/OSwrapper.h:11:19: error: rtems.h: No such file or directory
In file included from inc/MicroTime.h:16,
from inc/CCSDS.h:30,
from src/Debug.cpp:15:
The -v gives me the following info:
#include "..." search starts here:
#include <...> search starts here:
inc/
/opt/rtems-4.9/lib/gcc/sparc-rtems4.9/4.3.2/include/c++
/opt/rtems-4.9/lib/gcc/sparc-rtems4.9/4.3.2/include/c++/sparc-rtems4.9/soft/v8
/opt/rtems-4.9/lib/gcc/sparc-rtems4.9/4.3.2/include/c++/backward
/opt/rtems-4.9/lib/gcc/sparc-rtems4.9/4.3.2/include
/opt/rtems-4.9/lib/gcc/sparc-rtems4.9/4.3.2/include-fixed
/opt/rtems-4.9/lib/gcc/sparc-rtems4.9/4.3.2/../../../../sparc-rtems4.9/include
End of search list.
A find show that I do have rtems.h, but is indeed not in this search path.
marting at Corvus:/opt/rtems-4.9$ find . -type f -name rtems.h
./sparc-rtems4.9/leon3/lib/include/rtems.h
./sparc-rtems4.9/sis/lib/include/rtems.h
So, I think I did somehting wrong with configuring/building 4.9.2, but I did follow (at least, I think I did) the hints and tips in the wiki...
Anybody a clue what I shall do to have ./sparc-rtems4.9/leon3/lib/include/rtems.h into my search path? I can include it as a -I, but I understood this should be necessary...
Kind regards,
Martin Grim
--
ir. W.M. Grim
SRON Netherlands Institute for Space Research
Sorbonnelaan 2
3584 CA Utrecht, The Netherlands
www.sron.nl
More information about the users
mailing list