Error compiling for OMAP 5912

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear friends,

I am trying to compile the kernel for omap5912, and it's not working.
My current kernel version is:
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 27
EXTRAVERSION = -rc5
NAME = Rotary Wombat

I got this error from compiler:
-----------------------------------------------------------------------------------------------------------
LD drivers/hwmon/built-in.o
CC drivers/i2c/i2c-boardinfo.o
CC drivers/i2c/i2c-core.o
CC drivers/i2c/i2c-dev.o
LD drivers/i2c/algos/built-in.o
CC drivers/i2c/busses/i2c-omap.o
LD drivers/i2c/busses/built-in.o
CC drivers/i2c/chips/tps65010.o
LD drivers/i2c/chips/built-in.o
CC [M] drivers/i2c/chips/tlv320aic23.o
drivers/i2c/chips/tlv320aic23.c: In function ‘omap_mcbsp3_aic23_clock_init’:
drivers/i2c/chips/tlv320aic23.c:113: error: implicit declaration of function ‘OMAP_MCBSP_WRITE’ drivers/i2c/chips/tlv320aic23.c:113: error: ‘SPCR1’ undeclared (first use in this function) drivers/i2c/chips/tlv320aic23.c:113: error: (Each undeclared identifier is reported only once drivers/i2c/chips/tlv320aic23.c:113: error: for each function it appears in.) drivers/i2c/chips/tlv320aic23.c:114: error: ‘SPCR2’ undeclared (first use in this function) drivers/i2c/chips/tlv320aic23.c:117: error: ‘PCR0’ undeclared (first use in this function) drivers/i2c/chips/tlv320aic23.c:120: error: ‘SRGR1’ undeclared (first use in this function) drivers/i2c/chips/tlv320aic23.c:121: error: ‘SRGR2’ undeclared (first use in this function) drivers/i2c/chips/tlv320aic23.c:124: error: implicit declaration of function ‘OMAP_MCBSP_READ’
drivers/i2c/chips/tlv320aic23.c: At top level:
drivers/i2c/chips/tlv320aic23.c:287: error: redefinition of ‘aic23_power_down’ arch/arm/plat-omap/include/mach/aic23.h:122: error: previous definition of ‘aic23_power_down’ was here
drivers/i2c/chips/tlv320aic23.c:296: error: redefinition of ‘aic23_power_up’
arch/arm/plat-omap/include/mach/aic23.h:118: error: previous definition of ‘aic23_power_up’ was here
make[3]: *** [drivers/i2c/chips/tlv320aic23.o] Error 1
make[2]: *** [drivers/i2c/chips] Error 2
make[1]: *** [drivers/i2c] Error 2
make: *** [drivers] Error 2
-----------------------------------------------------------------------------------------------------------

Any help will be welcome!

--
Regards,
Eng. Ramon F. Lilienthal
Project Engineer
Instramed Ltda. - www.instramed.com.br
+55 (51) 33344199 ext. 213

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux