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

Tito Costa tito at csl-mail.stanford.edu
Thu Oct 24 18:47:12 UTC 2002


Hello,

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 
bootstrap.

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

Making all in samples
gmake[4]: Entering directory 
`/home/tcosta/rtems_snapshot/tools/build-rtems/sparc-rtems/c/rsim/tests/samples'
Making all in hello
gmake[5]: Entering directory 
`/home/tcosta/rtems_snapshot/tools/build-rtems/sparc-rtems/c/rsim/tests/samples/hello'
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_TARNAME=\"rtems-c-src-tests-samples\" 
-DPACKAGE_VERSION=\"ss-20021007\" 
-DPACKAGE_STRING=\"rtems-c-src-tests-samples\ ss-20021007\" 
-DPACKAGE_BUGREPORT=\"rtems-bugs at OARcorp.com\" -DPACKAGE=\"\" 
-DVERSION=\"\"     -ansi -fasm      -O4 -fno-keep-inline-functions -g 
-Wall   -o o-optimize/init.o -c 
../../../../../../../rtems-ss-20021007/c/src/tests/samples/hello/init.c
gmake[5]: *** No rule to make target `../../../../../rsim/lib/start.o', 
needed by `o-optimize/hello.exe'.  Stop.
gmake[5]: Leaving directory 
`/home/tcosta/rtems_snapshot/tools/build-rtems/sparc-rtems/c/rsim/tests/samples/hello'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory 
`/home/tcosta/rtems_snapshot/tools/build-rtems/sparc-rtems/c/rsim/tests/samples'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory 
`/home/tcosta/rtems_snapshot/tools/build-rtems/sparc-rtems/c/rsim/tests'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/home/tcosta/rtems_snapshot/tools/build-rtems/sparc-rtems/c/rsim'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/home/tcosta/rtems_snapshot/tools/build-rtems/sparc-rtems/c'
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

tito




More information about the users mailing list