Difficulties building RTEMS
TUAZ TORCHON, Dimitri
dimitri.tuaztorchon at airbus.com
Wed Sep 16 08:54:05 UTC 2015
I followed the guide "Getting started with RTEMS". But I've found a solution : I introduced the "creat()" in libgloss. And then I figured out than other functions were missing to (opendir, closed, readdir,...)
-----Original Message-----
From: Hesham ALMatary [mailto:heshamelmatary at gmail.com]
Sent: Wednesday, September 16, 2015 10:43 AM
To: TUAZ TORCHON, Dimitri
Cc: users at rtems.org
Subject: Re: Difficulties building RTEMS
On Tue, Sep 15, 2015 at 9:09 AM, TUAZ TORCHON, Dimitri
<dimitri.tuaztorchon at airbus.com> wrote:
> Hi,
>
> It's the configuration options I use, but when I make "make all", I still have the error :
>
> "checking for creat... no
> configure: error: Missing function creat in libc
> configure: error: /bin/sh '../../../../../rtems-microblaze/c/src/../../cpukit/configure' failed for ../../cpukit
> gmake[2]: *** [microblaze_fpga] Error 1"
>
How did you install the toolchain?
> And indeed, when I check into libc, there is no function creat. I figured out that it is an obsolete function now.
>
> -----Original Message-----
> From: Hesham ALMatary [mailto:heshamelmatary at gmail.com]
> Sent: Friday, September 11, 2015 5:01 PM
> To: Joel Sherrill
> Cc: TUAZ TORCHON, Dimitri; users at rtems.org
> Subject: Re: Difficulties building RTEMS
>
> On Fri, Sep 11, 2015 at 3:52 PM, Joel Sherrill
> <joel.sherrill at oarcorp.com> wrote:
>>
>>
>> On 9/11/2015 9:38 AM, Hesham ALMatary wrote:
>>>
>>> On Fri, Sep 11, 2015 at 2:51 PM, TUAZ TORCHON, Dimitri
>>> <dimitri.tuaztorchon at airbus.com> wrote:
>>>>
>>>>
>>>> Hi,
>>>>
>>>>
>>>>
>>>> I’m using your repository, and I get the error I described.
>>>> So it is not possible to run complex RTEMS applications on a Microblaze ?
>>>> I have to use a Spartan6 card.
>>>>
>>>>
>>>>
>>>>
>>>
>>> What configuration options do you use? This is a simple configuration
>>> line the should work: "--target=rtems-microblaze
>>> --enable-rtemsbsp=microblaze_fdga --disable-networking
>>> --disable-posix"
>>
>>
>> I suspect that the argument for the target should be:
>>
> Yeah sorry my bad.
>
>> --target=microblaze-rtems4.11
>>
>>> I am afraid only hello world sample would work. UART is the only BSP
>>> driver out there for this BSP currently. I got Hello World running on
>>> Atlys (Spartan 6) board.
>>
>>
>> We need to discuss if this is far enough along to merge again now that
>> we are past a branch. I recall some odd code issues with the vendor HAL
>> and not running on a simulator at all. But that is a dusty memory.
>>
> I didn't run it on the simulator at all, instead I worked directory
> with the FPGA. I can see that there's some interest on this port,
> which is a good motivation to work on upstreaming it. I'll try to
> clean-up the code and send initial patches, but there're no timing
> guarantees since I'm pretty busy with school and moving out stuff.
>
>>
>>>>
>>>> Thanks for your answer,
>>>>
>>>> Dimitri
>>>>
>>>>
>>>>
>>>> From: Hesham ALMatary [mailto:heshamelmatary at gmail.com]
>>>> Sent: Friday, September 11, 2015 3:41 PM
>>>> To: TUAZ TORCHON, Dimitri
>>>> Cc: users at rtems.org
>>>> Subject: Re: Difficulties building RTEMS
>>>>
>>>>
>>>>
>>>> Hi,
>>>>
>>>>
>>>>
>>>> What repos are you using to build RTEMS for microblaze? FYI, there's no
>>>> microblaze port in RTEMS/upstream. I've worked on an initial port for it,
>>>> you can find it here [1]. It just runs Hello World sample.
>>>>
>>>>
>>>>
>>>> [1] https://github.com/heshamelmatary/rtems-microblaze
>>>>
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Hesham
>>>>
>>>>
>>>>
>>>> On Fri, Sep 11, 2015 at 11:04 AM, TUAZ TORCHON, Dimitri
>>>> <dimitri.tuaztorchon at airbus.com> wrote:
>>>>
>>>> Hi,
>>>>
>>>>
>>>>
>>>> I’m trying to build RTEMS for a Microblaze target, but I have troubles.
>>>> Indeed, the compiler tries to seek “creat()” function in libc, but this
>>>> function is not in libc.
>>>> So it generate an error, and I don’t know how I can fix it….
>>>>
>>>> Thanks a lot,
>>>>
>>>> Dimtiri Tuaz
>>>>
>>>>
>>>>
>>>> ***************************************************************
>>>>
>>>> Ce courriel (incluant ses eventuelles pieces jointes) peut contenir des
>>>> informations confidentielles et/ou protegees ou dont la diffusion est
>>>> restreinte. Si vous avez recu ce courriel par erreur, vous ne devez ni le
>>>> copier, ni l'utiliser, ni en divulguer le contenu a quiconque. Merci d'en
>>>> avertir immediatement l'expediteur et d'effacer ce courriel de votre
>>>> systeme. Airbus Defence and Space et les sociétés Airbus Group declinent
>>>> toute responsabilite en cas de corruption par virus, d'alteration ou de
>>>> falsification de ce courriel lors de sa transmission par voie electronique.
>>>>
>>>> This email (including any attachments) may contain confidential and/or
>>>> privileged information or information otherwise protected from disclosure.
>>>> If you are not the intended recipient, please notify the sender immediately,
>>>> do not copy this message or any attachments and do not use it for any
>>>> purpose or disclose its content to any person, but delete this message and
>>>> any attachments from your system. Airbus Defence and Space and Airbus Group
>>>> companies disclaim any and all liability if this email transmission was
>>>> virus corrupted, altered or falsified.
>>>>
>>>> ---------------------------------------------------------------------
>>>>
>>>> Airbus Defence and Space SAS (393 341 516 RCS Versailles) - Capital:
>>>> 16.587.728 EUR - Siege social: 51-61 Route de Verneuil, 78130 Les Mureaux,
>>>> France
>>>>
>>>>
>>>> _______________________________________________
>>>> users mailing list
>>>> users at rtems.org
>>>> http://lists.rtems.org/mailman/listinfo/users
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Hesham
>>>>
>>>> ***************************************************************
>>>> Ce courriel (incluant ses eventuelles pieces jointes) peut contenir des
>>>> informations confidentielles et/ou protegees ou dont la diffusion est
>>>> restreinte. Si vous avez recu ce courriel par erreur, vous ne devez ni le
>>>> copier, ni l'utiliser, ni en divulguer le contenu a quiconque. Merci d'en
>>>> avertir immediatement l'expediteur et d'effacer ce courriel de votre
>>>> systeme. Airbus Defence and Space et les sociétés Airbus Group declinent
>>>> toute responsabilite en cas de corruption par virus, d'alteration ou de
>>>> falsification de ce courriel lors de sa transmission par voie electronique.
>>>> This email (including any attachments) may contain confidential and/or
>>>> privileged information or information otherwise protected from disclosure.
>>>> If you are not the intended recipient, please notify the sender immediately,
>>>> do not copy this message or any attachments and do not use it for any
>>>> purpose or disclose its content to any person, but delete this message and
>>>> any attachments from your system. Airbus Defence and Space and Airbus Group
>>>> companies disclaim any and all liability if this email transmission was
>>>> virus corrupted, altered or falsified.
>>>> ---------------------------------------------------------------------
>>>> Airbus Defence and Space SAS (393 341 516 RCS Versailles) - Capital:
>>>> 16.587.728 EUR - Siege social: 51-61 Route de Verneuil, 78130 Les Mureaux,
>>>> France
>>>
>>>
>>>
>>>
>>>
>>
>> --
>> 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
>
>
>
> --
> Hesham
>
> This mail has originated outside your organization, either from an external partner or the Global Internet.
> Keep this in mind if you answer this message.
>
>
>
>
> ***************************************************************
> Ce courriel (incluant ses eventuelles pieces jointes) peut contenir des informations confidentielles et/ou protegees ou dont la diffusion est restreinte. Si vous avez recu ce courriel par erreur, vous ne devez ni le copier, ni l'utiliser, ni en divulguer le contenu a quiconque. Merci d'en avertir immediatement l'expediteur et d'effacer ce courriel de votre systeme. Airbus Defence and Space et les sociétés Airbus Group declinent toute responsabilite en cas de corruption par virus, d'alteration ou de falsification de ce courriel lors de sa transmission par voie electronique.
> This email (including any attachments) may contain confidential and/or privileged information or information otherwise protected from disclosure. If you are not the intended recipient, please notify the sender immediately, do not copy this message or any attachments and do not use it for any purpose or disclose its content to any person, but delete this message and any attachments from your system. Airbus Defence and Space and Airbus Group companies disclaim any and all liability if this email transmission was virus corrupted, altered or falsified.
> ---------------------------------------------------------------------
> Airbus Defence and Space SAS (393 341 516 RCS Versailles) - Capital: 16.587.728 EUR - Siege social: 51-61 Route de Verneuil, 78130 Les Mureaux, France
--
Hesham
This mail has originated outside your organization, either from an external partner or the Global Internet.
Keep this in mind if you answer this message.
***************************************************************
Ce courriel (incluant ses eventuelles pieces jointes) peut contenir des informations confidentielles et/ou protegees ou dont la diffusion est restreinte. Si vous avez recu ce courriel par erreur, vous ne devez ni le copier, ni l'utiliser, ni en divulguer le contenu a quiconque. Merci d'en avertir immediatement l'expediteur et d'effacer ce courriel de votre systeme. Airbus Defence and Space et les sociétés Airbus Group declinent toute responsabilite en cas de corruption par virus, d'alteration ou de falsification de ce courriel lors de sa transmission par voie electronique.
This email (including any attachments) may contain confidential and/or privileged information or information otherwise protected from disclosure. If you are not the intended recipient, please notify the sender immediately, do not copy this message or any attachments and do not use it for any purpose or disclose its content to any person, but delete this message and any attachments from your system. Airbus Defence and Space and Airbus Group companies disclaim any and all liability if this email transmission was virus corrupted, altered or falsified.
---------------------------------------------------------------------
Airbus Defence and Space SAS (393 341 516 RCS Versailles) - Capital: 16.587.728 EUR - Siege social: 51-61 Route de Verneuil, 78130 Les Mureaux, France
More information about the users
mailing list