Jan Kiszka wrote:
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.
Adding -I${RTEXT_LINUX_DIR}/arch/ppc to RTEXT_KMOD_CFLAGS in
configure.ac fixed the configure problem. Apart from that the flags look
OK (but the kernel uses a lot more to compile modules). I will provide a
patch when I have RTnet succesfully built. There are a few other issues,
e.g. min_t does not exist in 2.4 kernels.
Wolfgang.
Jan
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users