No rule to make target lib/start.o in /tests/samples/hello

Tito Costa tito at
Thu Oct 24 18:47:12 UTC 2002


I'm trying to build rtems 20021007 snapshot on Solaris 8, using 
binutils2.13, gcc3.2 and newlib1.10.
I'm writing a BSP for the SPARC multiprocessor simulator RSIM, using 
unix/posix BSP as a startpoint.
I have added the new BSP directory "rsim" in libbsp/sparc, updated 
acinclude.m4, created an rsim.cfg in make/custom and run the script 

"make all" fails while compiling the sample hello application with this 
error message:

Making all in samples
gmake[4]: Entering directory 
Making all in hello
gmake[5]: Entering directory 
mkdir o-optimize
mkdir -p -- ../../../../../rsim/tests
test -d o-optimize || mkdir o-optimize
sparc-rtems-gcc --pipe -B../../../../../lib/ -B../../../../../rsim/lib/ 
-specs bsp_specs -qrtems -DPACKAGE_NAME=\"rtems-c-src-tests-samples\" 
-DPACKAGE_STRING=\"rtems-c-src-tests-samples\ ss-20021007\" 
-DPACKAGE_BUGREPORT=\"rtems-bugs at\" -DPACKAGE=\"\" 
-DVERSION=\"\"     -ansi -fasm      -O4 -fno-keep-inline-functions -g 
-Wall   -o o-optimize/init.o -c 
gmake[5]: *** No rule to make target `../../../../../rsim/lib/start.o', 
needed by `o-optimize/hello.exe'.  Stop.
gmake[5]: Leaving directory 
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory 
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory 
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
make: *** [all-recursive] Error 1

what makefile should I edit? in the bsp, in tests/samples, ... ? or is 
my problem likely to be related to the .cfg file of my BSP?

thank you


More information about the users mailing list