James Kilts wrote:
> When I try to configure RTnet using the autotools in a cross-compile
> environment, I get the error "*** Unsupported kernel version". What's
> interesting is that I had this issue before, but by commenting out the
> variable "CONFIG_RTNET_RTEXT_CLASSIC=y" in the configure.ac script it
> could identify xenomai and the linux kernel. This allowed me to build
> valid kernel modules for arm-linux. I committed all of the changes
> into a local GIT repository and noted all of the environment variables
> (PATH, CROSS_COMPILE, ARCH, etc) to ensure that I could get back to a
> working build.
>
> This most recent problem started after I rebuilt my development
> machine kernel with Xenomai and RTnet so that I could properly test
> the device. Now that I go back to the cross-compile environment, I'm
> running into the same problem as before, and I can verify that my
> environment now to cross-compile RTnet is the same as before.
>
> I've also tried re-running the "scripts/autogen.sh" with
> "CONFIG_RTNET_RTEXT_CLASSIC=y" enabled again, but it still gives the
> same error.
>
> Finally, to my questions: Why did I have to disable
> CONFIG_RTNET_RTEXT_CLASSIC to make the build work in the first place?
> Are there known issues with the autotool configuration for RTnet? Any
> ideas as to what could be going wrong?
CONFIG_RTNET_RTEXT_CLASSIC only applies to very old Xenomai version (or
to RTAI), so this is probably wrongly configured. But you did not tell
us what your Xenomai version is.
BTW, a short description how to cross-compile RTnet can also be found a
trtnet/drivers/mpc52xx_fec/README.
Jan
--
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux
|