All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] compiling probs
@ 2008-06-24 10:13 Axel Beierlein
  2008-06-24 11:12 ` Wolfgang Grandegger
  0 siblings, 1 reply; 6+ messages in thread
From: Axel Beierlein @ 2008-06-24 10:13 UTC (permalink / raw)
  To: Xenomai-help@domain.hid

Hello,

when i try to compile the module examples from the xenomai source  
directory i get many <in file included> like this

In file included from  
/home/xx/linuxppc_2_4_25/include/asm/xenomai/hal.h:50,
                  from  
/home/xx/linuxppc_2_4_25/include/asm-generic/xenomai/system.h:39,
                  from  
/home/xx/linuxppc_2_4_25/include/asm/xenomai/system.h:29,
                  from  
/home/xx/linuxppc_2_4_25/include/xenomai/nucleus/types.h:39,
                  from  
/home/xx/linuxppc_2_4_25/include/xenomai/nucleus/queue.h:24,
                  from  
/home/xx/linuxppc_2_4_25/include/xenomai/nucleus/timer.h:23,
                  from  
/home/xx/linuxppc_2_4_25/include/xenomai/nucleus/thread.h:23,
                  from  
/home/xx/linuxppc_2_4_25/include/xenomai/nucleus/pod.h:34,
                  from  
/home/xx/linuxppc_2_4_25/include/xenomai/nucleus/xenomai.h:23,
                  from  
/home/xx/linuxppc_2_4_25/include/xenomai/rtdm/rtdm_driver.h:36,
                  from heartbeat-x86.c:21:

also a type qualifier warning.

/home/xx/linuxppc_2_4_25/include/asm/time.h:60: warning: type qualifiers  
ignored on function return type

Did anyone know what i make wrong?

I use xenomai 2.3.5 and the Kernelsource 2.4.25 from the Denx repository  
with the ELDK4.1.

my make to build the modules is like <make XENO=$DESTDIR/root/xenomai  
CC=ppc_6xx-gcc> where DESTDIR is set to the Path where the rootfs is.


Axel




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Xenomai-help] compiling probs
  2008-06-24 10:13 Axel Beierlein
@ 2008-06-24 11:12 ` Wolfgang Grandegger
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Grandegger @ 2008-06-24 11:12 UTC (permalink / raw)
  To: Axel Beierlein; +Cc: Xenomai-help@domain.hid

Axel Beierlein wrote:
> Hello,
> 
> when i try to compile the module examples from the xenomai source  
> directory i get many <in file included> like this
> 
> In file included from  
> /home/xx/linuxppc_2_4_25/include/asm/xenomai/hal.h:50,
>                   from  
> /home/xx/linuxppc_2_4_25/include/asm-generic/xenomai/system.h:39,
>                   from  
> /home/xx/linuxppc_2_4_25/include/asm/xenomai/system.h:29,
>                   from  
> /home/xx/linuxppc_2_4_25/include/xenomai/nucleus/types.h:39,
>                   from  
> /home/xx/linuxppc_2_4_25/include/xenomai/nucleus/queue.h:24,
>                   from  
> /home/xx/linuxppc_2_4_25/include/xenomai/nucleus/timer.h:23,
>                   from  
> /home/xx/linuxppc_2_4_25/include/xenomai/nucleus/thread.h:23,
>                   from  
> /home/xx/linuxppc_2_4_25/include/xenomai/nucleus/pod.h:34,
>                   from  
> /home/xx/linuxppc_2_4_25/include/xenomai/nucleus/xenomai.h:23,
>                   from  
> /home/xx/linuxppc_2_4_25/include/xenomai/rtdm/rtdm_driver.h:36,
>                   from heartbeat-x86.c:21:
> 
> also a type qualifier warning.
> 
> /home/xx/linuxppc_2_4_25/include/asm/time.h:60: warning: type qualifiers  
> ignored on function return type
> 
> Did anyone know what i make wrong?
> 
> I use xenomai 2.3.5 and the Kernelsource 2.4.25 from the Denx repository  
> with the ELDK4.1.
> 
> my make to build the modules is like <make XENO=$DESTDIR/root/xenomai  
> CC=ppc_6xx-gcc> where DESTDIR is set to the Path where the rootfs is.

Is your kernel configured and built?
Does adding ARCH=ppc help?
Is module support enabled in the kernel?
What ELDK version do you use?

It works fine here.

Wolfgang.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Xenomai-help] compiling probs
@ 2008-06-24 21:13 belatronix
  2008-06-25  6:33 ` Wolfgang Grandegger
  0 siblings, 1 reply; 6+ messages in thread
From: belatronix @ 2008-06-24 21:13 UTC (permalink / raw)
  To: Wolfgang Grandegger; +Cc: Xenomai-help


----- original Nachricht --------

Betreff: Re: [Xenomai-help] compiling probs
Gesendet: Di 24 Jun 2008 13:12:26 CEST
Von: "Wolfgang Grandegger"<wg@domain.hid>

> Axel Beierlein wrote:
> > Hello,
> > 
> > when i try to compile the module examples from the xenomai source  
> > directory i get many <in file included> like this
> > 
> > In file included from  
> > /home/xx/linuxppc_2_4_25/include/asm/xenomai/hal.h:50,
> >                   from  
> > /home/xx/linuxppc_2_4_25/include/asm-generic/xenomai/system.h:39,
> >                   from  
> > /home/xx/linuxppc_2_4_25/include/asm/xenomai/system.h:29,
> >                   from  
> > /home/xx/linuxppc_2_4_25/include/xenomai/nucleus/types.h:39,
> >                   from  
> > /home/xx/linuxppc_2_4_25/include/xenomai/nucleus/queue.h:24,
> >                   from  
> > /home/xx/linuxppc_2_4_25/include/xenomai/nucleus/timer.h:23,
> >                   from  
> > /home/xx/linuxppc_2_4_25/include/xenomai/nucleus/thread.h:23,
> >                   from  
> > /home/xx/linuxppc_2_4_25/include/xenomai/nucleus/pod.h:34,
> >                   from  
> > /home/xx/linuxppc_2_4_25/include/xenomai/nucleus/xenomai.h:23,
> >                   from  
> > /home/xx/linuxppc_2_4_25/include/xenomai/rtdm/rtdm_driver.h:36,
> >                   from heartbeat-x86.c:21:
> > 
> > also a type qualifier warning.
> > 
> > /home/xx/linuxppc_2_4_25/include/asm/time.h:60: warning: type qualifiers 
> 
> > ignored on function return type
> > 
> > Did anyone know what i make wrong?
> > 
> > I use xenomai 2.3.5 and the Kernelsource 2.4.25 from the Denx repository 
> 
> > with the ELDK4.1.
> > 
> > my make to build the modules is like <make XENO=$DESTDIR/root/xenomai  
> > CC=ppc_6xx-gcc> where DESTDIR is set to the Path where the rootfs is.
> 
> Is your kernel configured and built?
Yes, the kernel is configured and built
> Does adding ARCH=ppc help?
No, ARCH=ppc is already set by the eldk_init script
> Is module support enabled in the kernel?
Yes, it is enabled
> What ELDK version do you use?
> 
As i said before, i use the ELDK4.1
> It works fine here.
> 
Here not

> Wolfgang.
> 
Any other Ideas?

> 
> 
> 

--- original Nachricht Ende ----




Unbegrenzter Speicher, Top-Spamschutz, 120 SMS und eigene E-MailDomain inkl.
http://office.freenet.de/dienste/emailoffice/produktuebersicht/power/mail/index.html



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Xenomai-help] compiling probs
  2008-06-24 21:13 [Xenomai-help] compiling probs belatronix
@ 2008-06-25  6:33 ` Wolfgang Grandegger
  2008-06-25  8:18   ` Axel Beierlein
  0 siblings, 1 reply; 6+ messages in thread
From: Wolfgang Grandegger @ 2008-06-25  6:33 UTC (permalink / raw)
  To: belatronix; +Cc: Xenomai-help

belatronix@domain.hid wrote:
> ----- original Nachricht --------
> 
> Betreff: Re: [Xenomai-help] compiling probs
> Gesendet: Di 24 Jun 2008 13:12:26 CEST
> Von: "Wolfgang Grandegger"<wg@domain.hid>
> 
>> Axel Beierlein wrote:
>>> Hello,
>>>
>>> when i try to compile the module examples from the xenomai source  
>>> directory i get many <in file included> like this
>>>
>>> In file included from  
>>> /home/xx/linuxppc_2_4_25/include/asm/xenomai/hal.h:50,
>>>                   from  
>>> /home/xx/linuxppc_2_4_25/include/asm-generic/xenomai/system.h:39,
>>>                   from  
>>> /home/xx/linuxppc_2_4_25/include/asm/xenomai/system.h:29,
>>>                   from  
>>> /home/xx/linuxppc_2_4_25/include/xenomai/nucleus/types.h:39,
>>>                   from  
>>> /home/xx/linuxppc_2_4_25/include/xenomai/nucleus/queue.h:24,
>>>                   from  
>>> /home/xx/linuxppc_2_4_25/include/xenomai/nucleus/timer.h:23,
>>>                   from  
>>> /home/xx/linuxppc_2_4_25/include/xenomai/nucleus/thread.h:23,
>>>                   from  
>>> /home/xx/linuxppc_2_4_25/include/xenomai/nucleus/pod.h:34,
>>>                   from  
>>> /home/xx/linuxppc_2_4_25/include/xenomai/nucleus/xenomai.h:23,
>>>                   from  
>>> /home/xx/linuxppc_2_4_25/include/xenomai/rtdm/rtdm_driver.h:36,
>>>                   from heartbeat-x86.c:21:
>>>
>>> also a type qualifier warning.
>>>
>>> /home/xx/linuxppc_2_4_25/include/asm/time.h:60: warning: type qualifiers 
>>> ignored on function return type
>>>
>>> Did anyone know what i make wrong?
>>>
>>> I use xenomai 2.3.5 and the Kernelsource 2.4.25 from the Denx repository 
>>> with the ELDK4.1.
>>>
>>> my make to build the modules is like <make XENO=$DESTDIR/root/xenomai  
>>> CC=ppc_6xx-gcc> where DESTDIR is set to the Path where the rootfs is.
>> Is your kernel configured and built?
> Yes, the kernel is configured and built
>> Does adding ARCH=ppc help?
> No, ARCH=ppc is already set by the eldk_init script
>> Is module support enabled in the kernel?
> Yes, it is enabled
>> What ELDK version do you use?
>>
> As i said before, i use the ELDK4.1

For Linux 2.4 you should use ELDK 3.1.1 because the GLIBC uses 2.4 includes.

>> It works fine here.
>>
> Here not
> 
>> Wolfgang.
>>
> Any other Ideas?

See above. I will try if I get the error with ELDK 4.1.

Wolfgang.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Xenomai-help] compiling probs
  2008-06-25  6:33 ` Wolfgang Grandegger
@ 2008-06-25  8:18   ` Axel Beierlein
  2008-06-25  9:16     ` Wolfgang Grandegger
  0 siblings, 1 reply; 6+ messages in thread
From: Axel Beierlein @ 2008-06-25  8:18 UTC (permalink / raw)
  To: Xenomai-help@domain.hid

Am 25.06.2008, 08:33 Uhr, schrieb Wolfgang Grandegger <wg@domain.hid>:

> belatronix@domain.hid wrote:
>> ----- original Nachricht --------
>>  Betreff: Re: [Xenomai-help] compiling probs
>> Gesendet: Di 24 Jun 2008 13:12:26 CEST
>> Von: "Wolfgang Grandegger"<wg@domain.hid>
>>
>>> Axel Beierlein wrote:
>>>> Hello,
>>>>
>>>> when i try to compile the module examples from the xenomai source   
>>>> directory i get many <in file included> like this
>>>>
>>>> In file included from   
>>>> /home/xx/linuxppc_2_4_25/include/asm/xenomai/hal.h:50,
>>>>                   from   
>>>> /home/xx/linuxppc_2_4_25/include/asm-generic/xenomai/system.h:39,
>>>>                   from   
>>>> /home/xx/linuxppc_2_4_25/include/asm/xenomai/system.h:29,
>>>>                   from   
>>>> /home/xx/linuxppc_2_4_25/include/xenomai/nucleus/types.h:39,
>>>>                   from   
>>>> /home/xx/linuxppc_2_4_25/include/xenomai/nucleus/queue.h:24,
>>>>                   from   
>>>> /home/xx/linuxppc_2_4_25/include/xenomai/nucleus/timer.h:23,
>>>>                   from   
>>>> /home/xx/linuxppc_2_4_25/include/xenomai/nucleus/thread.h:23,
>>>>                   from   
>>>> /home/xx/linuxppc_2_4_25/include/xenomai/nucleus/pod.h:34,
>>>>                   from   
>>>> /home/xx/linuxppc_2_4_25/include/xenomai/nucleus/xenomai.h:23,
>>>>                   from   
>>>> /home/xx/linuxppc_2_4_25/include/xenomai/rtdm/rtdm_driver.h:36,
>>>>                   from heartbeat-x86.c:21:
>>>>
>>>> also a type qualifier warning.
>>>>
>>>> /home/xx/linuxppc_2_4_25/include/asm/time.h:60: warning: type  
>>>> qualifiers ignored on function return type
>>>>
>>>> Did anyone know what i make wrong?
>>>>
>>>> I use xenomai 2.3.5 and the Kernelsource 2.4.25 from the Denx  
>>>> repository with the ELDK4.1.
>>>>
>>>> my make to build the modules is like <make  
>>>> XENO=$DESTDIR/root/xenomai  CC=ppc_6xx-gcc> where DESTDIR is set to  
>>>> the Path where the rootfs is.
>>> Is your kernel configured and built?
>> Yes, the kernel is configured and built
>>> Does adding ARCH=ppc help?
>> No, ARCH=ppc is already set by the eldk_init script
>>> Is module support enabled in the kernel?
>> Yes, it is enabled
>>> What ELDK version do you use?
>>>
>> As i said before, i use the ELDK4.1
>
> For Linux 2.4 you should use ELDK 3.1.1 because the GLIBC uses 2.4  
> includes.
>
>>> It works fine here.
>>>
>> Here not
>>
>>> Wolfgang.
>>>
>> Any other Ideas?
>
> See above. I will try if I get the error with ELDK 4.1.
>
> Wolfgang.

Thats it! With ELDK 3.1.1 it works already fine by me.

Thank you.

Axel


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Xenomai-help] compiling probs
  2008-06-25  8:18   ` Axel Beierlein
@ 2008-06-25  9:16     ` Wolfgang Grandegger
  0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Grandegger @ 2008-06-25  9:16 UTC (permalink / raw)
  To: Axel Beierlein; +Cc: Xenomai-help@domain.hid

Axel Beierlein wrote:
> Am 25.06.2008, 08:33 Uhr, schrieb Wolfgang Grandegger <wg@domain.hid>:
> 
>> belatronix@domain.hid wrote:
>>> ----- original Nachricht --------
>>>  Betreff: Re: [Xenomai-help] compiling probs
>>> Gesendet: Di 24 Jun 2008 13:12:26 CEST
>>> Von: "Wolfgang Grandegger"<wg@domain.hid>
>>>
>>>> Axel Beierlein wrote:
>>>>> Hello,
>>>>>
>>>>> when i try to compile the module examples from the xenomai source   
>>>>> directory i get many <in file included> like this
>>>>>
>>>>> In file included from   
>>>>> /home/xx/linuxppc_2_4_25/include/asm/xenomai/hal.h:50,
>>>>>                   from   
>>>>> /home/xx/linuxppc_2_4_25/include/asm-generic/xenomai/system.h:39,
>>>>>                   from   
>>>>> /home/xx/linuxppc_2_4_25/include/asm/xenomai/system.h:29,
>>>>>                   from   
>>>>> /home/xx/linuxppc_2_4_25/include/xenomai/nucleus/types.h:39,
>>>>>                   from   
>>>>> /home/xx/linuxppc_2_4_25/include/xenomai/nucleus/queue.h:24,
>>>>>                   from   
>>>>> /home/xx/linuxppc_2_4_25/include/xenomai/nucleus/timer.h:23,
>>>>>                   from   
>>>>> /home/xx/linuxppc_2_4_25/include/xenomai/nucleus/thread.h:23,
>>>>>                   from   
>>>>> /home/xx/linuxppc_2_4_25/include/xenomai/nucleus/pod.h:34,
>>>>>                   from   
>>>>> /home/xx/linuxppc_2_4_25/include/xenomai/nucleus/xenomai.h:23,
>>>>>                   from   
>>>>> /home/xx/linuxppc_2_4_25/include/xenomai/rtdm/rtdm_driver.h:36,
>>>>>                   from heartbeat-x86.c:21:
>>>>>
>>>>> also a type qualifier warning.
>>>>>
>>>>> /home/xx/linuxppc_2_4_25/include/asm/time.h:60: warning: type  
>>>>> qualifiers ignored on function return type
>>>>>
>>>>> Did anyone know what i make wrong?
>>>>>
>>>>> I use xenomai 2.3.5 and the Kernelsource 2.4.25 from the Denx  
>>>>> repository with the ELDK4.1.
>>>>>
>>>>> my make to build the modules is like <make  
>>>>> XENO=$DESTDIR/root/xenomai  CC=ppc_6xx-gcc> where DESTDIR is set to  
>>>>> the Path where the rootfs is.
>>>> Is your kernel configured and built?
>>> Yes, the kernel is configured and built
>>>> Does adding ARCH=ppc help?
>>> No, ARCH=ppc is already set by the eldk_init script
>>>> Is module support enabled in the kernel?
>>> Yes, it is enabled
>>>> What ELDK version do you use?
>>>>
>>> As i said before, i use the ELDK4.1
>> For Linux 2.4 you should use ELDK 3.1.1 because the GLIBC uses 2.4  
>> includes.
>>
>>>> It works fine here.
>>>>
>>> Here not
>>>
>>>> Wolfgang.
>>>>
>>> Any other Ideas?
>> See above. I will try if I get the error with ELDK 4.1.
>>
>> Wolfgang.
> 
> Thats it! With ELDK 3.1.1 it works already fine by me.

OK, with 4.1 I was also not able to compile it properly.

Wolfgang.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-06-25  9:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-24 21:13 [Xenomai-help] compiling probs belatronix
2008-06-25  6:33 ` Wolfgang Grandegger
2008-06-25  8:18   ` Axel Beierlein
2008-06-25  9:16     ` Wolfgang Grandegger
  -- strict thread matches above, loose matches on Subject: below --
2008-06-24 10:13 Axel Beierlein
2008-06-24 11:12 ` Wolfgang Grandegger

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.