<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="2">Hello all</font>.<br>
<br>
I have download RCC1.2.17
(sparc-rtems-4.10-gcc-4.4.6-1.2.17-linux.tar.bz2) and installed it
in /opt.<br>
Downloaded rtems sources (rtems-4.10-1.2.17-src.tar.bz2) and
installed them in /opt/rtems-4.10/src/rtems-4.10. , as per
documentation.<br>
<br>
In /opt/rtems-4.10/src/, I executed make bootstrap and make
configure without any errors.<br>
As I have not modified any options in makefile , configure options
are:<br>
<br>
BSPS=leon2 leon3 erc32<br>
RTEMSDIR=rtems-4.10<br>
PREFIX=/opt/rtems-4.10<br>
EXTRA_CONFIG=<br>
configure:<br>
-mkdir $(PREFIX)/src/build<br>
cd $(PREFIX)/src/build; \<br>
$(PREFIX)/src/$(RTEMSDIR)/configure --prefix=$(PREFIX) \<br>
--target=sparc-rtems $(EXTRA_CONFIG) --disable-itron
--disable-tests --enable-cxx --disable-docs \<br>
--enable-rtemsbsp="$(BSPS)"<br>
<br>
I intend to build a BSP for LEON3 only, without POSIX &
networking support, but I started with default Makefile to be
acquainted with build system.<br>
<br>
When I try to compile, issuing make compile, I get:<br>
<br>
<tt>export PATH=/opt/rtems-4.10/bin:$PATH; cd
/opt/rtems-4.10/src/build; make all</tt><tt><br>
</tt><tt>make[1]: Entering directory `/opt/rtems-4.10/src/build'</tt><tt><br>
</tt><tt>Making all in make</tt><tt><br>
</tt><tt>gmake[2]: Entering directory
`/opt/rtems-4.10/src/build/make'</tt><tt><br>
</tt><tt>gmake[2]: Nothing to be done for `all'.</tt><tt><br>
</tt><tt>gmake[2]: Leaving directory
`/opt/rtems-4.10/src/build/make'</tt><tt><br>
</tt><tt>Making all in tools/build</tt><tt><br>
</tt><tt>gmake[2]: Entering directory
`/opt/rtems-4.10/src/build/tools/build'</tt><tt><br>
</tt><tt>gmake all-am</tt><tt><br>
</tt><tt>gmake[3]: Entering directory
`/opt/rtems-4.10/src/build/tools/build'</tt><tt><br>
</tt><tt>gcc -DHAVE_CONFIG_H -I.
-I/opt/rtems-4.10/src/rtems-4.10/tools/build -g -O2 -MT
cklength.o -MD -MP -MF .deps/cklength.Tpo -c -o cklength.o
/opt/rtems-4.10/src/rtems-4.10/tools/build/cklength.c</tt><tt><br>
</tt><tt>In file included from /usr/include/bits/errno.h:24:0,</tt><tt><br>
</tt><tt> from /usr/include/errno.h:35,</tt><tt><br>
</tt><tt> from
/opt/rtems-4.10/src/rtems-4.10/tools/build/cklength.c:37:</tt><tt><br>
</tt><tt>/usr/include/linux/errno.h:4:30: fatal error:
uapi/linux/errno.h: No such file or directory</tt><tt><br>
</tt><tt> #include <uapi/linux/errno.h></tt><tt><br>
</tt><tt> ^</tt><tt><br>
</tt><tt>compilation terminated.</tt><tt><br>
</tt><tt>gmake[3]: *** [cklength.o] Error 1</tt><tt><br>
</tt><tt>gmake[3]: Leaving directory
`/opt/rtems-4.10/src/build/tools/build'</tt><tt><br>
</tt><tt>gmake[2]: *** [all] Error 2</tt><tt><br>
</tt><tt>gmake[2]: Leaving directory
`/opt/rtems-4.10/src/build/tools/build'</tt><tt><br>
</tt><tt>make[1]: *** [all-recursive] Error 1</tt><tt><br>
</tt><tt>make[1]: Leaving directory `/opt/rtems-4.10/src/build'</tt><tt><br>
</tt><tt>make: *** [compile] Error 2</tt><tt><br>
</tt><br>
What am I missing? I do not understand why my linux kernel headers
are going into build...<br>
Thank you very much<br>
<br>
Ricardo<br>
<br>
</body>
</html>