RES: Problem when trying to build hello_world_c: more info

Fabrício de Novaes Kucinskis fabricio at
Thu Sep 29 12:26:19 UTC 2005

Hi again,

I have more information about the problem. I'm almost sure the problem is in
the RTEMS build process. After "configure", I ran a "gmake all install"
command. The build process took some minutes, and ended with an error:

	gmake  install-data-hook
	gmake[6]: Entering directory `/opt/tharsys/sparc-rtems/c/erc32/exec/wrapup'
	/usr/bin/install -c -m 644 ../../../../erc32/lib/librtemscpu.a
	/usr/bin/install: `../../../../erc32/lib/librtemscpu.a' and
				`/opt/tharsys/sparc-rtems/erc32/lib/librtemscpu.a' are the same file
	gmake[6]: ** [install-data-hook] Error 1
	gmake[6]: Leaving directory `/opt/tharsys/sparc-rtems/c/erc32/exec/wrapup'
	gmake[5]: ** [install-data-am] Error 2
	gmake[5]: Leaving directory `/opt/tharsys/sparc-rtems/c/erc32/exec/wrapup'
	gmake[4]: ** [install-am] Error 2
	gmake[4]: Leaving directory `/opt/tharsys/sparc-rtems/c/erc32/exec/wrapup'
	gmake[3]: ** [install-recursive] Error 1
	gmake[3]: Leaving directory `/opt/tharsys/sparc-rtems/c/erc32/exec'
	gmake[2]: ** [install-recursive] Error 1
	gmake[2]: Leaving directory `/opt/tharsys/sparc-rtems/c/erc32'
	gmake[1]: ** [install-recursive] Error 1
	gmake[1]: Leaving directory `/opt/tharsys/sparc-rtems/c'
	gmake: ** [install-recursive] Error 1

I didn't notice this error on the first time I installed RTEMS 4.6.4. When
trying to make the hello_world_c example, the gmake complain that there's no under RTEMS_MAKEFILE_PATH, which is right. So, my problem
appears to be on the RTEMS build, but I don't know where, or why.

Does anybody know how can I solve this problem?
Thanks again,


-----Mensagem original-----
De: Fabrício de Novaes Kucinskis [mailto:fabricio at]
Enviada em: terça-feira, 27 de setembro de 2005 16:28
Para: RTEMS - Mailing List
Assunto: Problem when trying to build hello_world_c

Hi all,

I was using RTEMS 4.0.0, and just upgraded to the 4.6.4 release. In the
4.0.0 version, I built applications using sparc-rtems-gcc with the "-rtems"

After install binutils, gcc, newlib, gdb, and build the RTEMS, I tried to
build a sample program (hello_world_c) to test the instalation, but I the
gcc compiler didn't recognized the "-rtems" switch. I found that it isn't
suported anymore.

So, I tried to use make, but got this error message:

	Makefile:33: / No such file or directory
	Makefile:35: no file name for `include'
	Makefile:36: /make/leaf.cfg: No such file or directory
	make: *** No rule to make target `/make/leaf.cfg'.  Stop.

I'm sure that the RTEMS_MAKEFILE_PATH is pointing to the right directory.
What can be happening?
Thanks in advance,

Fabrício de Novaes Kucinskis - DEA / INPE
Divisão de Eletrônica Aeroespacial
Instituto Nacional de Pesquisas Espaciais

More information about the users mailing list