Hi all,
I'm trying to port Xenomai to the new PowerPC-based MPC5121e micro from
Freescale. I'm using the toolchain included in the LTIB (Linux Target Image
Builder) envirnoment from Freescale.
I've got problems when compiling the RTDM xenomai examples. It seems that a
"-m64" option is used, which is not supported, but I cannot see how to
disable it. I'm not an expert (really a newbie!) so excuse me, maybe this is
not an issue at all. The output is:

make -C ../linux-2.6.24
SUBDIRS=/home/antonio/tools/ltib-mpc5121ads-20080528/rpm/BUILD/rtdm-test-1.0
modules
make[1]: Entering directory
`/home/antonio/tools/ltib-mpc5121ads-20080528/rpm/BUILD/linux-2.6.24'
  CC [M]
/home/antonio/tools/ltib-mpc5121ads-20080528/rpm/BUILD/rtdm-test-1.0/heartbeat.o
  CC [M]
/home/antonio/tools/ltib-mpc5121ads-20080528/rpm/BUILD/rtdm-test-1.0/tut01-skeleton-drv.o
  CC [M]
/home/antonio/tools/ltib-mpc5121ads-20080528/rpm/BUILD/rtdm-test-1.0/tut02-skeleton-drv.o
cc1: error: unrecognized command line option "-mno-red-zone"
cc1: error: unrecognized command line option "-mcmodel=kernel"
cc1: error: unrecognized command line option "-maccumulate-outgoing-args"
/home/antonio/tools/ltib-mpc5121ads-20080528/rpm/BUILD/rtdm-test-1.0/heartbeat.c:1:
error: -m64 not supported in this configuration
cc1: error: unrecognized command line option "-mno-red-zone"
cc1: error: unrecognized command line option "-mcmodel=kernel"
cc1: error: unrecognized command line option "-maccumulate-outgoing-args"
/home/antonio/tools/ltib-mpc5121ads-20080528/rpm/BUILD/rtdm-test-1.0/tut02-skeleton-drv.c:1:
error: -m64 not supported in this configuration
cc1: error: unrecognized command line option "-mno-red-zone"
cc1: error: unrecognized command line option "-mcmodel=kernel"
cc1: error: unrecognized command line option "-maccumulate-outgoing-args"
/home/antonio/tools/ltib-mpc5121ads-20080528/rpm/BUILD/rtdm-test-1.0/tut01-skeleton-drv.c:1:
error: -m64 not supported in this configuration
make[2]: ***
[/home/antonio/tools/ltib-mpc5121ads-20080528/rpm/BUILD/rtdm-test-1.0/heartbeat.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: ***
[/home/antonio/tools/ltib-mpc5121ads-20080528/rpm/BUILD/rtdm-test-1.0/tut02-skeleton-drv.o]
Error 1
make[2]: ***
[/home/antonio/tools/ltib-mpc5121ads-20080528/rpm/BUILD/rtdm-test-1.0/tut01-skeleton-drv.o]
Error 1
make[1]: ***
[_module_/home/antonio/tools/ltib-mpc5121ads-20080528/rpm/BUILD/rtdm-test-1.0]
Error 2
make[1]: Leaving directory
`/home/antonio/tools/ltib-mpc5121ads-20080528/rpm/BUILD/linux-2.6.24'
make: *** [all] Error 2
error: Bad exit status from
/home/antonio/tools/ltib-mpc5121ads-20080528/tmp/rpm-tmp.55885 (%build)

Thanks
Antonio
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to