sparc-rtems4.11-gdb error

Joel Sherrill joel.sherrill at OARcorp.com
Tue Sep 4 13:53:46 UTC 2012


On 09/04/2012 08:44 AM, Luca Cinquepalmi wrote:
> PS: I used Fedora 14 RPMs
>
Checking the dependencies on the rpm on the ftp site,
the Fedora 14 one is not dependent on Python.

You can try "system sparc-rtems4.11-gdb" and see if you
notice what system call is failing.

On Ubuntu you may be better off building this.
> Il 04/09/2012 15.34, Joel Sherrill ha scritto:
>> On 09/04/2012 08:30 AM, Luca Cinquepalmi wrote:
>>> I'm on Ubuntu 10.04 LTS with these RPM installed:
>>>
>>> rtems-4.11-sparc-rtems4.11-gdb_7.4.1-2_i386
>>>
>>> I didn't install any python RPM... should I?
>>>
>> Oh! You converted the RPM to deb or extracted the contents.
>> That changes things. :)
>>
>> Try "ldd /opt/rtems-4.11/bin/sparc-rtems4.11-gdb" and see if all
>> the shared  library dependencies are met. That's a starting point.
>>
>> Hopefully an Ubuntu user will speak up soon.  :)
>>
>> --joel
>>>     Luca
>>>
>>> Il 04/09/2012 15.26, Joel Sherrill ha scritto:
>>>> On 09/04/2012 07:10 AM, Luca Cinquepalmi wrote:
>>>>> Hi Joel,
>>>>> the debugger version is 7.4.1 and I built it with rpm.
>>>>> My pyhton version is 2.6.
>>>>> Shall I build it by myself?
>>>>>
>>>> I wasn't suggesting that. Just trying to respond quickly and ask
>>>> for enough details to know whether this was an RPM, a locally
>>>> built binary, etc.
>>>>
>>>> I am on CentOS 6.3 with these RPMs:
>>>>
>>>> rtems-4.11-sparc-rtems4.11-gdb-7.4.1-1.el6.i386
>>>> python-2.6.6-29.el6_2.2.i686
>>>>
>>>> And it works fine. I guess the next question is your host OS
>>>> and how you invoked sparc-rtems4.11-gdb.
>>>>
>>>> Ralf builds these so if there is some odd dependency not being
>>>> properly met he would know that.
>>>>
>>>> --joel
>>>>>      Luca
>>>>>
>>>>>
>>>>>
>>>>> Il 04/09/2012 13.57, Joel Sherrill ha scritto:
>>>>>> What is the version of the debugger?
>>>>>>
>>>>>> Is this an RPM or did you build it yourself? If you build it, then how did you configure?
>>>>>>
>>>>>> Luca Cinquepalmi<cinquepalmi at planetek.it>  wrote:
>>>>>>
>>>>>> Hi all,
>>>>>> I successfully installed rtems-4.11. I'm able to compile C source 
>>>>>> file without any problem
>>>>>> but when I run rtems debugger (sparc-rtems4.11-gdb) the following 
>>>>>> messages appears:
>>>>>>
>>>>>> *'import site' falied; use -v for traceback
>>>>>> Traceback (most recent call last)
>>>>>>     File "<string>", line 1, in ?
>>>>>> ImportError: No module named os*
>>>>>>
>>>>>> so debugger doesnt'work well. I'm not able to solve this problem 
>>>>>> although I'm still researching
>>>>>> any suggestion on the web.
>>>>>> Can you help me? Thanks a lot.
>>>>>>
>>>>>>     Luca
>>>>>
>>>>
>>>>
>>>> -- 
>>>> 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
>>>>
>>>
>>
>>
>> -- 
>> 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
>>
>


-- 
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/users/attachments/20120904/8142ff5d/attachment-0001.html>


More information about the users mailing list