From: Philippe Gerum <rpm@xenomai.org>
To: Daniele Pagani <danielepagani@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] xenomai on Blackfin BF537
Date: Tue, 02 Dec 2008 10:48:26 +0100 [thread overview]
Message-ID: <4935046A.60001@domain.hid> (raw)
In-Reply-To: <001501c95462$3df62700$0f01a8c0@domain.hid>
Daniele Pagani wrote:
> Dear Philippe,
>
> I've received the same error.
>
> Any suggestions or tests to do?
>
Yes, try understanding why the Xenomai tools and libraries do build fine in
FDPIC mode by looking at the compilation output. If this is still not enough,
please have a look at the Blackfin Wiki first to get familiar with the Blackfin
toolchain: http://docs.blackfin.uclinux.org/doku.php, and possibly direct your
questions regarding those aspects to one of the available Blackfin forums.
> Thanks,
> Daniele.
>
> ----- Original Message ----- From: "Philippe Gerum" <rpm@xenomai.org>
> To: "Daniele Pagani" <danielepagani@domain.hid>
> Cc: <xenomai@xenomai.org>
> Sent: Tuesday, December 02, 2008 10:15 AM
> Subject: Re: [Xenomai-help] xenomai on Blackfin BF537
>
>
>> Daniele Pagani wrote:
>>> Dear Philippe,
>>>
>>> I've tried, anyway I receive errors.
>>>
>>> In attachment, my makefile and error executing it.
>>>
>>
>> -mfdpic
>>
>>> Bf537 - uClinux-dist-2008R1.5-RC3.
>>>
>>> Best regards,
>>> Daniele.
>>>
>>>
>>> ----- Original Message ----- From: "Philippe Gerum" <rpm@xenomai.org>
>>> To: "Daniele Pagani" <danielepagani@domain.hid>
>>> Cc: <xenomai@xenomai.org>
>>> Sent: Monday, December 01, 2008 4:08 PM
>>> Subject: Re: [Xenomai-help] xenomai on Blackfin BF537
>>>
>>>
>>>> Daniele Pagani wrote:
>>>>> Dear Philippe,
>>>>>
>>>>> thank you very much for your very fast answer.
>>>>>
>>>>> Anyway, please consider that I'm newbie about the matter,
>>>>> so,
>>>>> where I need to write these lines?
>>>>>
>>>>> I find in:
>>>>> /mnt/uClinux-dist-2008R1.5-RC3/staging/usr/bin
>>>>> the xeno-config command.
>>>>>
>>>>> Then, I run:
>>>>> ./xeno-config --xeno-cflags
>>>>> ./xeno-config --xeno-ldflags
>>>>>
>>>>
>>>> As you may have noticed, those commands output a set of compilation
>>>> and link
>>>> flags. Copy&paste this output verbatim respectively to the CFLAGS and
>>>> LDFLAGS
>>>> variables from your Makefile to build your application.
>>>>
>>>>> Then, what I need to do?
>>>>> Do I need to recompile the kernel?
>>>>>
>>>>
>>>> No.
>>>>
>>>>> Best regards,
>>>>> Daniele.
>>>>>
>>>>> ----- Original Message ----- From: "Philippe Gerum" <rpm@xenomai.org>
>>>>> To: "Daniele Pagani" <danielepagani@domain.hid>
>>>>> Cc: <xenomai@xenomai.org>
>>>>> Sent: Monday, December 01, 2008 3:11 PM
>>>>> Subject: Re: [Xenomai-help] xenomai on Blackfin BF537
>>>>>
>>>>>
>>>>>> Daniele Pagani wrote:
>>>>>>>
>>>>>>> Dear Sirs,
>>>>>>> I'm using Xenomai with uclinux-dist-2008R1.5 on bf537.
>>>>>>>
>>>>>>> Then, it is possible to use native api with a fdpic elf format?
>>>>>>>
>>>>>>> I receive warning like "relocation references a different segment".
>>>>>>>
>>>>>>> I compile with bfin-linux-uclibc-gcc .... -lnative.
>>>>>>>
>>>>>>
>>>>>> We do use the fdpic format for all libs on blackfin.
>>>>>>
>>>>>> xeno-config --cflags
>>>>>> xeno-config --ldflags
>>>>>>
>>>>>> should be used to get the proper compilation/link flags.
>>>>>>
>>>>>>> In my code I create 2 real time tasks.
>>>>>>>
>>>>>>> All works fine when I use flat format, but now I need to use
>>>>>>> fdpic elf
>>>>>>> format and I receive errors.x
>>>>>>>
>>>>>>> Best regards,
>>>>>>> Daniele.
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Xenomai-help mailing list
>>>>>>> Xenomai-help@domain.hid
>>>>>>> https://mail.gna.org/listinfo/xenomai-help
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Philippe.
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> No virus found in this incoming message.
>>>>>> Checked by AVG.
>>>>>> Version: 7.5.552 / Virus Database: 270.9.12/1821 - Release Date:
>>>>>> 30/11/2008 17.53
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Philippe.
>>>>
>>>>
>>>>
>>>> --
>>>> No virus found in this incoming message.
>>>> Checked by AVG.
>>>> Version: 7.5.552 / Virus Database: 270.9.12/1821 - Release Date:
>>>> 30/11/2008 17.53
>>>>
>>>>
>>
>>
>> --
>> Philippe.
>>
>>
>>
>> --
>> No virus found in this incoming message.
>> Checked by AVG.
>> Version: 7.5.552 / Virus Database: 270.9.12/1823 - Release Date:
>> 01/12/2008 19.59
>>
>>
>
>
--
Philippe.
prev parent reply other threads:[~2008-12-02 9:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-01 13:59 [Xenomai-help] xenomai on Blackfin BF537 Daniele Pagani
2008-12-01 14:11 ` Philippe Gerum
2008-12-01 14:49 ` Daniele Pagani
2008-12-01 15:08 ` Philippe Gerum
2008-12-02 9:01 ` Daniele Pagani
2008-12-02 9:15 ` Philippe Gerum
2008-12-02 9:42 ` Daniele Pagani
2008-12-02 9:48 ` Philippe Gerum [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4935046A.60001@domain.hid \
--to=rpm@xenomai.org \
--cc=danielepagani@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.