ELDK with Xenomai for PPC

Scott Wood scottwood at freescale.com
Fri Mar 27 03:11:54 EST 2009


On Wed, Mar 25, 2009 at 07:06:50PM +0200, Goldberger, Yigal wrote:
> I'll try to be as accurate as I can.
> Yesterday I downloaded ELDK 4.2 from DENX site and Installed it.
> I want to build a Xenomai enabled kernel.
> I saw that my kernel is 2.6.24-xenomai and that's what I'm trying to build.
[snip]
> Currently I did :
> > make ads8272_defconfig
> > make uImage
> 
> and I'm failing on :
>   CC      drivers/net/fs_enet/mac-fcc.o
> drivers/net/fs_enet/mac-fcc.c: In function 'fcc_cr_cmd':
> drivers/net/fs_enet/mac-fcc.c:85: error: implicit declaration of function 'cpm_command'
> make[3]: *** [drivers/net/fs_enet/mac-fcc.o] Error 1
> make[2]: *** [drivers/net/fs_enet] Error 2
> make[1]: *** [drivers/net] Error 2
> make: *** [drivers] Error 2

Please try a more recent kernel; there was a lot of cleanup of 82xx
support going on in the 2.6.24 timeframe.  Also, in general you should
try building a vanilla kernel of the same version/platform, to see if it
is a problem introduced by xenomai.  Note that in vanilla 2.6.24 I do not
see any reference to cpm_command -- it looks like you have the 2.6.25
version of mac-fcc.c.

Is this arch/powerpc or arch/ppc?  If the latter, it's no longer
supported, is gone in current kernels, and was highly deprecated back
when 2.6.24 came out.  It seems that the last two releases with arch/ppc
(2.6.25 and 2.6.26) had this problem.

-Scott



More information about the Linuxppc-dev mailing list