Wolfgang Grandegger wrote:
> Jan Kiszka wrote:
> 
>> Wolfgang Grandegger wrote:
>>
>>> ...
>>> As mentioned, I fiddled with and "--with-rtext" and "--with-linux"
>>> without success. In the meantime I realized (from the README) the
>>> interactive configuration but still it does not work. It does not find
>>> "rtdm/rtdm.h". Should'nt it look for "xenomai/rtdm/rtdm.h"
>>
>>
>>
>> This should be catched by an appropriate "-I" in the CFLAGS - to remain
>> portable (see also the related recent thread on xenomai-core).
>>
>>
>>> Attached is the log file of "make CROSS_COMPILE=ppc_8xx- ARCH=ppc
>>> config".
>>>
>>
>>
>> What does config.log says about the compilation failure? I think there
>> should also be a print-out of the invoked compiler commands. But I will
>> also re-check if this could be an arch- or 2.4-related bug.
> 
> 
> ...
> /home/wolf/rt/linuxppc_2_4_devel-2006-01-04_1034-ipipe/include/asm/mpc8xx.h:96:30:
> platforms/tqm8xx.h: No such file or directory
> ...
> 
> I see, it's a PowerPC related problem. Apart from
> 
> -I/home/wolf/rt/linuxppc_2_4_devel-2006-01-04_1034-ipipe/include
> 
> we need
> 
> -I/home/wolf/rt/linuxppc_2_4_devel-2006-01-04_1034-ipipe/arch/ppc
> 
> to find all kernel related header files.
> 

Ah! Yes, with 2.4 on xeno.2.1 we have to take care of all compiler
arguments on our own.

You certainly know of some out-of-tree PPC-specific drivers. Could you
check if they use other special switches? Is this specific for the
mpc8xx? Do you see a clean, generic solution? Feel free to patch
configure.ac when you think you found one.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to