From: Marcelo Utikawa da Fonseca <marcelo.fonseca@tecnequip.com.br>
To: alsa-devel@alsa-project.org
Subject: Problem compiling soc - imx31 and wm8753
Date: Wed, 11 Mar 2009 11:47:25 -0300 [thread overview]
Message-ID: <49B7CEFD.1080006@tecnequip.com.br> (raw)
Hi!
I am new here and do not know if I am posting correctly, please
understand! :-)
I knew about this list in the wolfsonmicro website and I hope someone
can help me...
I am facing a problem while compiling the sound support for imx31ads board.
I got the kernel from wolfsonmicro using the following command:
git clone git://opensource.wolfsonmicro.com/linux-2.6-asoc linux-2.6-asoc
After this I just copy the arch/arm/configs/mx31ads_defconfig to .config
and run:
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig
I selected Alsa support, SoC, Support for i.MX CPU and Support for
i.MX31 - WM8753.
After this I run:
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- zImage
and I receive this error message:
CC sound/soc/imx/imx-ssi.o
In file included from sound/soc/imx/imx-ssi.c:29:
include/sound/driver.h:1:2: warning: #warning "This file is deprecated"
sound/soc/imx/imx-ssi.c:34:26: error: asm/arch/dma.h: No such file or
directory
sound/soc/imx/imx-ssi.c:35:28: error: asm/arch/clock.h: No such file or
directory
sound/soc/imx/imx-ssi.c:37:26: error: asm/hardware.h: No such file or
directory
In file included from sound/soc/imx/imx-ssi.c:39:
sound/soc/imx/imx-ssi.h:10:31: error: asm/arch/hardware.h: No such file
or directory
In file included from sound/soc/imx/imx-ssi.c:39:
sound/soc/imx/imx-ssi.h:213: error: array type has incomplete element type
In file included from sound/soc/imx/imx-ssi.c:40:
sound/soc/imx/imx31-pcm.h:62: error: expected specifier-qualifier-list
before 'dma_channel_params'
sound/soc/imx/imx31-pcm.h:65: error: array type has incomplete element type
sound/soc/imx/imx-ssi.c:72: error: unknown field 'params' specified in
initializer
sound/soc/imx/imx-ssi.c:72: error: extra brace group at end of initializer
sound/soc/imx/imx-ssi.c:72: error: (near initialization for
'imx_ssi1_pcm_stereo_out0')
sound/soc/imx/imx-ssi.c:74: error: 'emi_2_per' undeclared here (not in a
function)
sound/soc/imx/imx-ssi.c:76: error: 'SSI1_BASE_ADDR' undeclared here (not
in a function)
sound/soc/imx/imx-ssi.c:77: error: 'DMA_REQ_SSI1_TX1' undeclared here
(not in a function)
sound/soc/imx/imx-ssi.c:78: error: 'SSI' undeclared here (not in a function)
sound/soc/imx/imx-ssi.c:79: warning: excess elements in struct initializer
sound/soc/imx/imx-ssi.c:79: warning: (near initialization for
'imx_ssi1_pcm_stereo_out0')
sound/soc/imx/imx-ssi.c:84: error: unknown field 'params' specified in
initializer
sound/soc/imx/imx-ssi.c:84: error: extra brace group at end of initializer
sound/soc/imx/imx-ssi.c:84: error: (near initialization for
'imx_ssi1_pcm_stereo_out1')
...
...
...
sound/soc/imx/imx-ssi.c:836: error: field name not in record or union
initializer
sound/soc/imx/imx-ssi.c:836: error: (near initialization for
'imx_ssi_pcm_dai')
sound/soc/imx/imx-ssi.c:837: error: field name not in record or union
initializer
sound/soc/imx/imx-ssi.c:837: error: (near initialization for
'imx_ssi_pcm_dai')
sound/soc/imx/imx-ssi.c:838: error: field name not in record or union
initializer
sound/soc/imx/imx-ssi.c:838: error: (near initialization for
'imx_ssi_pcm_dai')
sound/soc/imx/imx-ssi.c:841: warning: type defaults to 'int' in
declaration of 'imx_ssi_pcm_dai'
make[3]: *** [sound/soc/imx/imx-ssi.o] Error 1
make[2]: *** [sound/soc/imx] Error 2
make[1]: *** [sound/soc] Error 2
make: *** [sound] Error 2
I did not change nothing, just configure and compile...
My gcc version is 4.1.2 from Freescale.
What can be wrong? Could be this version of gcc a problem?
I already tried to correct the missing include files but the other
errors are still there after the corrections...
Thanks in advance,
Marcelo Utikawa da Fonseca
---------------------------------------------
Tecnequip Tecnologia em Equipamentos
Endereço/Address: Rua Juno, 527
Cidade/City: São Paulo
Estado/State: SP
País/Country: Brasil
CEP/Postal Code: 03445-000
Fone/Phone: 55-11-20937199
FAX: 55-11-29412289
next reply other threads:[~2009-03-11 14:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-11 14:47 Marcelo Utikawa da Fonseca [this message]
2009-03-11 15:36 ` Problem compiling soc - imx31 and wm8753 Mark Brown
2009-03-11 17:08 ` Marcelo Utikawa da Fonseca
2009-03-11 21:53 ` Mark Brown
2009-03-11 22:34 ` Liam Girdwood
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49B7CEFD.1080006@tecnequip.com.br \
--to=marcelo.fonseca@tecnequip.com.br \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.