[uClinux-dev] ColdFire 5475EVB Compilation Error.

Rajan Batra rbatra5 at rediffmail.com
Wed Aug 3 17:38:28 EDT 2005

      i am currently working on Motorolla Coldfire - 5475EVB.

      I enabled SPI support in kernel compilation, and got error
saying,  MACROS undeclared. ( Attached Error log )

     Without SPI support, kernel compiles complete.
          i looked in to include/asm/m527xsim.h, didn't find these macros defined.


1. Is porting to 5475 complete ! or for SPI Support.
2. Pls suggest me something to get this solved, and also hints
  of whether i need to do more work on this, to port it and working.
Thanking you for your time

-Rajan Batra.

In file included from init/do_mounts.c:18:
/home/rajan/Workarea/uclinux/uClinux-dist/linux-2.4.x/include/linux/cramfs_fs.h:129: warning: #warning "__BYTE_ORDER == __BIG_ENDIAN"
mcf_qspi.c: In function `init':
mcf_qspi.c:749: `MCFSIM_ICR4' undeclared (first use in this function)
mcf_qspi.c:749: (Each undeclared identifier is reported only once
mcf_qspi.c:749: for each function it appears in.)
mcf_qspi.c:759: `MCFSIM_PACNT' undeclared (first use in this function)
mcf_qspi.c:761: `MCFSIM_PDCNT' undeclared (first use in this function)
mcf_qspi.c:697: warning: unused variable `cp'
mcf_qspi.c:696: warning: `lp' might be used uninitialized in this function
mcf_qspi.c: In function `qspi_exit':
mcf_qspi.c:841: `MCFSIM_ICR4' undeclared (first use in this function)
make[4]: *** [mcf_qspi.o] Error 1
make[3]: *** [first_rule] Error 2
make[2]: *** [_subdir_char] Error 2
make[1]: *** [_dir_drivers] Error 2
make: *** [linux] Error 1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.uclinux.org/pipermail/uclinux-dev/attachments/20050803/36743015/attachment.html>

More information about the uClinux-dev mailing list