This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Error building kernel

Other Parts Discussed in Thread: DA8XX

I'm trying to recomplie the Linux kernel in ti-dvsdk_omapl138-evm_4_00_00-15.

I added some more options in the menuconfig for serial ATA and SCSI. When I compile, I get the following errors:

  CC      drivers/ata/ahci.o
drivers/ata/ahci.c:53:26: error: mach/cputype.h: No such file or directory
drivers/ata/ahci.c:54:24: error: mach/da8xx.h: No such file or directory
drivers/ata/ahci.c: In function 'ahci_init_one':
drivers/ata/ahci.c:3353: error: expected expression before '}' token
drivers/ata/ahci.c:3353: error: expected ';' before '}' token
drivers/ata/ahci.c:3121: warning: unused variable 'clock'
drivers/ata/ahci.c: At top level:
drivers/ata/ahci.c:3387: warning: initialization from incompatible pointer type
drivers/ata/ahci.c: In function 'ahci_init':
drivers/ata/ahci.c:3400: warning: unused variable 'rc'
make[2]: *** [drivers/ata/ahci.o] Error 1
make[1]: *** [drivers/ata] Error 2
make: *** [drivers] Error 2

Any suggestions? Thanks

Jeff