Error with examples-v2
Joel Sherrill
joel.sherrill at OARcorp.com
Fri Apr 25 20:34:55 UTC 2014
On 4/25/2014 6:34 AM, Federico Lenarduzzi wrote:
> I followed exactly this steps. in the second block, there is a make
> install. I'm reading the README.waf. Thanks for your answers.
>
Somehow you missed a step or typed something wrong like the
directory in RTEMS_MAKEFILE_PATH or the --prefix. Here is the
sequence I just used and it worked perfectly:
$ cd ~/rtems-4.11-work
# rtems and examples-v2 cloned in this directory
$ mkdir b-sis
$ cd b-sis
$ ../rtems/configure --target=sparc-rtems4.11
--prefix=/users/joel/rtems-4.11-work/bsp-install --enable-tests=samples
>c.log 2>&1
$ echo $?
0
$ make >b.log 2>&1
$ echo $?
0
$ cd ../examples-v2
$ export
RTEMS_MAKEFILE_PATH=/users/joel/rtems-4.11-work/bsp-install/sparc-rtems4.11/sis
$ make clean
$ make
$ sparc-rtems4.11-run hello/hello_world_c/o-optimize/hello.exe
*** HELLO WORLD TEST ***
Hello World
*** END OF HELLO WORLD TEST ***
And no, I didn't use the instructions. I probably wrote the instructions.
--joel
> 2014-04-24 21:55 GMT-03:00 Gedare Bloom <gedare at rtems.org
> <mailto:gedare at rtems.org>>:
>
>
>
>
> On Thu, Apr 24, 2014 at 8:54 PM, Gedare Bloom <gedare at rtems.org
> <mailto:gedare at rtems.org>> wrote:
>
>
>
>
> On Thu, Apr 24, 2014 at 7:28 PM, Joel Sherrill
> <Joel.Sherrill at oarcorp.com <mailto:Joel.Sherrill at oarcorp.com>>
> wrote:
>
> If you don't do the make install step then neither will work.
>
> Good point, and those wiki instructions don't explicitly say
> "make install".
>
>
> Or, yes they do, in the second block of code.
>
>
> On Apr 24, 2014 6:05 PM, Gedare Bloom <gedare at rtems.org
> <mailto:gedare at rtems.org>> wrote:
> You may be interested to read the README.waf and try to
> use that to build the examples instead of Make.
>
>
> On Thu, Apr 24, 2014 at 5:20 PM, Federico Lenarduzzi
> <federico.lenarduzzi at tallertechnologies.com
> <mailto:federico.lenarduzzi at tallertechnologies.com>> wrote:
>
> I already set RTEMS_MAKEFILE_PATH variable as you
> mentioned. Are you following the same tutorial? These
> steps are OK ?
>
> Thanks for help me.
>
>
> 2014-04-24 18:05 GMT-03:00 Joel Sherrill
> <joel.sherrill at oarcorp.com
> <mailto:joel.sherrill at oarcorp.com>>:
>
> On 4/24/2014 3:55 PM, Federico Lenarduzzi wrote:
>> Hi everybody, I'm trying compile the examples
>> following this steps:
>>
>> http://www.rtems.org/wiki/index.php/Example_Application_Compiling
>>
>
> If you did a "make install" on the build tree,
> then this is all that would be required.
>
> export
> RTEMS_MAKEFILE_PATH=/home/admin/rtems/arm-rtems4.11/lpc1768
> make
>
>
>
>> I probed for lpc1768 and lm3s6965 but with both
>> configurations didn't work. Exist files which
>> aren't generated.
>>
>> *admin at laptop ~/examples-v2 $* make
>> /home/admin/rtems/make/custom/lm3s69xx.inc:5:
>> /home/admin/rtems/make/custom/default.cfg: No
>> such file or directory
>> make: *** No rule to make target
>> `/home/adm1/rtems/make/custom/default.cfg'. Stop.
>>
>> Note: I use --prefix:/home/admin/rtems as
>> installation point.
>>
>> An alternative: "hardcode". In other words, paste
>> the files missing into appropriate folders. After
>> that, the errors disappeared. However, when I
>> compile the hello world example, throws a new error.
>>
>>
>> *admin at laptop ~/examples-v2/hello/hello_world_c
>> $* make
>> make: *** No rule to make target `/test.o',
>> needed by `/hello.exe'. Stop.
>>
>>
>> Any suggestion? Someone have or had problems with
>> examples?
>>
>>
>>
>>
>> --
>> <http://www.tallertechnologies.com>
>> *Federico Lenarduzzi*
>> Software Engineer
>>
>> Taller Technologies Argentina
>> San Lorenzo 47, 3rd Floor, Office 5
>> Cordoba, Argentina
>> Phone: +54 351 4220701 <tel:351%204220701>
>> Mobile: +54 358 4289083 <tel:%2B54%20358%204289083>
>> Skype: federico.lenarduzzi1
>> <https://www.facebook.com/tallertechnologies> <http://www.linkedin.com/company/taller-technologies>
>>
>>
>>
>
>
> --
> Joel Sherrill, Ph.D. Director of Research & Development
> joel.sherrill at OARcorp.com <mailto:joel.sherrill at OARcorp.com> On-Line Applications Research
> Ask me about RTEMS: a free RTOS Huntsville AL 35805
> Support Available (256) 722-9985 <tel:%28256%29%20722-9985>
>
>
>
>
> --
> <http://www.tallertechnologies.com>
> *Federico Lenarduzzi*
> Software Engineer
>
> Taller Technologies Argentina
> San Lorenzo 47, 3rd Floor, Office 5
> Cordoba, Argentina
> Phone: +54 351 4220701 <tel:%2B54%20351%204220701>
> Mobile: +54 358 4289083 <tel:%2B54%20358%204289083>
> Skype: federico.lenarduzzi1
> <https://www.facebook.com/tallertechnologies> <http://www.linkedin.com/company/taller-technologies>
>
>
>
>
> _______________________________________________
> rtems-devel mailing list
> rtems-devel at rtems.org <mailto:rtems-devel at rtems.org>
> http://www.rtems.org/mailman/listinfo/rtems-devel
>
>
>
>
>
>
>
> --
> <http://www.tallertechnologies.com>
> *Federico Lenarduzzi*
> Software Engineer
>
> Taller Technologies Argentina
> San Lorenzo 47, 3rd Floor, Office 5
> Cordoba, Argentina
> Phone: +54 351 4220701
> Mobile: +54 358 4289083
> Skype: federico.lenarduzzi1
> <https://www.facebook.com/tallertechnologies> <http://www.linkedin.com/company/taller-technologies>
>
>
>
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20140425/a0d82482/attachment-0001.html>
More information about the devel
mailing list