Image building, porting issues
Hi, all!
Once again I have come across several error codes when I try the build image command.
Same Ubuntu 8.04 distro, here.
(All ELDK installing and configuring are now correctly done. Bad installing and configuring were causing the previous errors I mailed before; doesn't matter now)
Check the code so far:
$ export CROSS_COMPILE=ppc_6xx-
$ git clone git://git.denx.de/linux-2.6-denx.git $ export KDIR=$PWD/linux-2.6-denx
$ svn co http://svn.gna.org/svn/xenomai/branches/v2.4.x xenomai-2.4.x $ export XDIR=$PWD/xenomai-2.4.x
$ cd $KDIR $ git checkout origin/DENX-v2.6.25-stable
(All tools and sources acquired)
$ cd $XDIR $ scripts/prepare-kernel.sh --linux=$KDIR --verbose --arch=powerpc
$ cd $KDIR $ make ARCH=powerpc mpc5200_defconfig $ make ARCH=powerpc menuconfig
(Here's the options I've enabled in the config menu that followed)
... enable RT-Socket-CAN and MSCAN driver ... <*> RT-Socket-CAN, CAN raw socket interface
[*] Enable debug output (NEW)
[ ] Enable TX loopback to local sockets (NEW)
(1024) Size of receive ring buffers (must be 2^N) (NEW)
(4) Maximum number of devices (NEW) (16) Maximum number of receive filters per device (NEW) < > Virtual CAN bus driver (NEW) <*> MSCAN driver for MPC52xx
[*] Enable CAN 1 (NEW)
[*] Enable CAN 2 (NEW)
(66000000) Clock Frequency in Hz (NEW)
Pin Configuration (CAN 1 on I2C1 pins, CAN 2 on TMR01 pin
...
$ make ARCH=powerpc uImage
It then echoes the following lines plus the error messages:
CHK include/linux/version.h CHK include/linux/utsrelease.h CALL scripts/checksyscalls.sh CHK include/linux/compile.h CALL arch/powerpc/kernel/systbl_chk.sh CC drivers/xenomai/can/mscan/rtcan_mscan.o
drivers/xenomai/can/mscan/rtcan_mscan.c: In function 'mscan_gpio_config':drivers/xenomai/can/mscan/rtcan_mscan.c:705: error: implicit declaration of function 'mpc52xx_find_and_map'
make[4]: ** [drivers/xenomai/can/mscan/rtcan_mscan.o] Erro 1 make[3]: ** [drivers/xenomai/can/mscan] Erro 2
make[2]: ** [drivers/xenomai/can] Erro 2
make[1]: ** [drivers/xenomai] Erro 2
make: ** [drivers] Erro 2
I've also tested with the following command:
$ make ARCH=powerpc uImage
and it issued the same error lines.
Any thoughts?
Thanks in advance!
Marco Antônio Possamai
Universidade Federal de Santa Catarina
Signature · 3 lines
Be Yourself @ mail.com! Choose From 200+ Email Addresses Get a Free Account at www.mail.com