program

Joel Sherrill joel.sherrill at OARcorp.com
Mon Jun 9 14:25:53 UTC 2003



zxj wrote:
> 
> I'm a beginner of using RTEMS to make applications. I wrote an application that followed the RTEMS's sample hello, but when I made it the system told me the file can't be found. If I move all my files into the folder 'hello', it is OK. I don't know which files are relation to my program and whether I should make some declares in some files. BTW, I had used bootstrap and succeeded.
> my RTEMS is configured as: ../rtems-4.5.0/configure -target=i386-rtems -disable-posix -disable-tests -enable-rtemsbsp=pc386 -prefix=/opt/rtems
> 
> My sample's name is "first".
> Altered files:
> rtems-4.5.0/c/src/tests/samples/:
> 1.   makefile.am:
> SUBDIRS = hello ticker first base_sp unlimited minimum $(MP_TESTS) \
>     $(CPLUSPLUS_TESTS) $(FP_TESTS)
> 
> 2.   makefile.in:
> SUBDIRS = hello ticker first base_sp unlimited minimum $(MP_TESTS)     $(CPLUSPLUS_TESTS) $(FP_TESTS)
> 
> 3.   configure.in:
> AC_OUTPUT(
> Makefile
> base_sp/Makefile
> hello/Makefile
> first/Makefile
> minimum/Makefile
> paranoia/Makefile
> ticker/Makefile
> unlimited/Makefile
> base_mp/Makefile
> base_mp/node1/Makefile
> base_mp/node2/Makefile
> cdtest/Makefile
> )

I suspect you did not run autoconf and automake to regenerate the
makefile.in
and configure files.  You can either add --enable-maintainer-mode to
your
configure, run bootstrap, or run autoconf and automake by hand.



> The following is the error information:
> Making all in first
> /bin/sh: cd: first: No such file or directory
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory `/usr/local/source/RTEMS/tools/b-rtems/i386-rtems/c/pc386/tests/samples'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/usr/local/source/RTEMS/tools/b-rtems/i386-rtems/c/pc386/tests'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/source/RTEMS/tools/b-rtems/i386-rtems/c/pc386'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/source/RTEMS/tools/b-rtems/i386-rtems/c'
> make: *** [all-recursive] Error 1
> 
> Thanks for your help!
> 
>                             shannon
>                             6/9/2003
> 
> =============================================================
> ÅÌÖг¬¼¶Ó¯Àû¾¡ÔÚÕÆÎÕ ÏíÊÜÀ­ÉýµÄ¿ì¸Ð        http://list.163.com/mlist/pzjg/pzjg.htm
> °Ù·Ö°ÙÅ®ÓÑ - ´º¼¾Ñ¡ÃÀ»î¶¯!                 http://love.163.com
> ¸öÈË¿Õ¼äÃâ·ÑÊÔÓà                           http://www.nease.net

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985



More information about the users mailing list