public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* Error compiling for OMAP 5912
@ 2008-09-09 18:23 Ramón Finger Lilienthal
  2008-09-09 18:29 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Ramón Finger Lilienthal @ 2008-09-09 18:23 UTC (permalink / raw)
  To: linux-omap

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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Error compiling for OMAP 5912
  2008-09-09 18:23 Error compiling for OMAP 5912 Ramón Finger Lilienthal
@ 2008-09-09 18:29 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2008-09-09 18:29 UTC (permalink / raw)
  To: Ramón Finger Lilienthal; +Cc: linux-omap

Hi,

* Ramón Finger Lilienthal <ramon@instramed.com.br> [080909 11:24]:
> 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!

Sorry, we're in process of getting rid of the old audio drivers to
move to the omap ASoC, and the old drivers will then be removed.

Please search for the mailling list archives for ASoC and osk,
there's some work in progress to make the omap ASoC to work with osk.

Alternatively, there's a patch that still allows direct messing of
McBSP registers that you can use as a temporary fix.

Regards,

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-09-09 18:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-09 18:23 Error compiling for OMAP 5912 Ramón Finger Lilienthal
2008-09-09 18:29 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox