Not building Sample app in CentOS

Binkowski, Cassio cassioiks at gmail.com
Thu Mar 8 12:51:48 CST 2012


Hi everyone. I'm not being able to make the Hello application in the CentOS
Virtual Machine.
Please see below the steps I took to build RTEMS and then try building the
Hello World app.

1) Created the folder TEST in /home/rtems.

2) In the terminal, inside the folder TEST:
  2.1) export PATH=/opt/rtems-4.11/bin:${PATH}
  2.2)  ~/rtems-4.11-work/rtems/configure --target=sparc-rtems4.11
--disable-posix --disable-networking --disable-cxx --enable-rtemsbsp=sis
--enable-tests=samples
  2.3) gmake all

3) Copied the folder Samples from
~/rtems-4.11-work/rtems/testsuites/samples. Pasted it inside the TEST
folder.

-- The HELLO folder, inside Samples, has the following contents:
hello.doc
hello.scn
init.c
Makefile.am
Makefile.in

3.1) still inside the Terminal: export
RTEMS_MAKEFILE_PATH=/home/rtems/test/sparc-rtems4.11/sis

3.2) I have tried 2 commands to try in making it, unsuccessfully though.
See below:

[rtems at localhost hello]$ make
make: *** No targets specified and no makefile found.  Stop.
[rtems at localhost hello]$ make -f Makefile.am
Makefile.am:12: /make/custom/@RTEMS_BSP at .cfg: No such file or directory
Makefile.am:13: /../automake/compile.am: No such file or directory
Makefile.am:14: /../automake/leaf.am: No such file or directory
Makefile.am:24: /../automake/local.am: No such file or directory
make: *** No rule to make target `/../automake/local.am'.  Stop.
[rtems at localhost hello]$ make -f Makefile.in
Makefile.in:16: *** missing separator.  Stop.

I guess I'm missing something or just trying to build Hello World in the
wrong folder.
Can you guys help me out?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rtems.org/pipermail/rtems-users/attachments/20120308/71d5f97e/attachment.html>


More information about the rtems-users mailing list