Message-ID: <001501c95462$3df62700$0f01a8c0@domain.hid> From: "Daniele Pagani" References: <002701c953bd$0899eec0$0f01a8c0@domain.hid> <4933F0A8.4020406@domain.hid> <006901c953c4$11e18ea0$0f01a8c0@domain.hid> <4933FDDE.5060007@domain.hid> <000c01c9545c$8b090b80$0f01a8c0@domain.hid> <4934FCA4.4010908@domain.hid> Date: Tue, 2 Dec 2008 10:42:05 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] xenomai on Blackfin BF537 List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: rpm@xenomai.org Cc: xenomai@xenomai.org Dear Philippe, I've received the same error. Any suggestions or tests to do? Thanks, Daniele. ----- Original Message ----- From: "Philippe Gerum" To: "Daniele Pagani" Cc: 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" >> To: "Daniele Pagani" >> Cc: >> 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" >>>> To: "Daniele Pagani" >>>> Cc: >>>> 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 > >