2008-04-25 06:21:11     Compiling WM8731 error on BF527-EZKIT board

Document created by Aaronwu Employee on Aug 6, 2013
Version 1Show Document
  • View in full screen mode

2008-04-25 06:21:11     Compiling WM8731 error on BF527-EZKIT board

Aaron Zhong (CHINA)

Message: 54948   

 

Hi all, I am compiling the WM8731 driver on my BF527-EZKIT board and get the following error messages.

 

Could someone help me? The uClinux version is 2008R1-RC8 and the toolchain version is 08r1-8.

 

The kernel configuration for WM8731 is:

 

CONFIG_SND_SOC_AC97_BUS=y

CONFIG_SND_SOC=y

CONFIG_SND_BF5XX_SOC=y

CONFIG_SND_MMAP_SUPPORT=y

CONFIG_SND_BF5XX_SOC_I2S=y

CONFIG_SND_BF5XX_SOC_AC97=y

# CONFIG_SND_BF5XX_SOC_WM8750 is not set

CONFIG_SND_BF5XX_SOC_WM8731=y

CONFIG_SND_BF5XX_SOC_BF5xx=y

CONFIG_SND_BF5XX_SPORT_NUM=0

# CONFIG_SND_BF5XX_HAVE_COLD_RESET is not set

CONFIG_SND_SOC_WM8731=y

CONFIG_SND_SOC_AD1980=y

CONFIG_SND_SOC_WM8731_SPI=y

 

error messages:

 

  CHK     include/linux/version.h

  CHK     include/linux/utsrelease.h

  CALL    scripts/checksyscalls.sh

  CHK     include/linux/compile.h

  CC      arch/blackfin/kernel/bfin_gpio.o

  LD      arch/blackfin/kernel/built-in.o

  CC      arch/blackfin/mach-bf527/boards/ezkit.o

  LD      arch/blackfin/mach-bf527/boards/built-in.o

  GZIP    kernel/config_data.gz

  IKCFG   kernel/config_data.h

  CC      kernel/configs.o

  LD      kernel/built-in.o

  CC      drivers/i2c/busses/i2c-bfin-twi.o

  LD      drivers/i2c/busses/built-in.o

  LD      drivers/i2c/built-in.o

  CC      drivers/net/bfin_mac.o

  LD      drivers/net/built-in.o

  CC      drivers/serial/bfin_5xx.o

drivers/serial/bfin_5xx.c: In function 'bfin_serial_stop_tx':

drivers/serial/bfin_5xx.c:67: warning: unused variable 'xmit'

  LD      drivers/serial/built-in.o

  CC      drivers/spi/spi_bfin5xx.o

  LD      drivers/spi/built-in.o

  LD      drivers/built-in.o

  CC      sound/soc/blackfin/bf5xx-board.o

  CC      sound/soc/blackfin/bf5xx-ac97.o

  CC      sound/soc/blackfin/bf5xx-i2s.o

sound/soc/blackfin/bf5xx-i2s.c: In function 'bf5xx_i2s_startup':

sound/soc/blackfin/bf5xx-i2s.c:326: warning: unused variable 'sport'

  CC      sound/soc/blackfin/bf5xx-wm8731.o

  LD      sound/soc/blackfin/snd-soc-bf5xx.o

  LD      sound/soc/blackfin/snd-soc-bf5xx-ac97.o

  LD      sound/soc/blackfin/snd-soc-bf5xx-i2s.o

  LD      sound/soc/blackfin/snd-ad1981.o

  LD      sound/soc/blackfin/snd-soc-bf5xx-wm8731.o

  LD      sound/soc/blackfin/built-in.o

sound/soc/blackfin/snd-soc-bf5xx-i2s.o: In function `sport_send_and_recv':

(.text+0xe18): multiple definition of `sport_send_and_recv'

sound/soc/blackfin/snd-soc-bf5xx-ac97.o:(.text+0x122c): first defined here

sound/soc/blackfin/snd-soc-bf5xx-i2s.o: In function `sport_set_err_callback':

(.text+0x2e4): multiple definition of `sport_set_err_callback'

sound/soc/blackfin/snd-soc-bf5xx-ac97.o:(.text+0x6f8): first defined here

sound/soc/blackfin/snd-soc-bf5xx-i2s.o: In function `sport_dump_stat':

(.text+0x3bc): multiple definition of `sport_dump_stat'

sound/soc/blackfin/snd-soc-bf5xx-ac97.o:(.text+0x7d0): first defined here

sound/soc/blackfin/snd-soc-bf5xx-i2s.o: In function `sport_tx_start':

(.text+0x12d8): multiple definition of `sport_tx_start'

sound/soc/blackfin/snd-soc-bf5xx-ac97.o:(.text+0x16ec): first defined here

sound/soc/blackfin/snd-soc-bf5xx-i2s.o: In function `sport_rx_start':

(.text+0x110c): multiple definition of `sport_rx_start'

sound/soc/blackfin/snd-soc-bf5xx-ac97.o:(.text+0x1520): first defined here

sound/soc/blackfin/snd-soc-bf5xx-i2s.o: In function `incfrag':

(.text+0xe0): multiple definition of `incfrag'

sound/soc/blackfin/snd-soc-bf5xx-ac97.o:(.text+0x4f4): first defined here

sound/soc/blackfin/snd-soc-bf5xx-i2s.o: In function `sport_set_multichannel':

(.text+0x670): multiple definition of `sport_set_multichannel'

sound/soc/blackfin/snd-soc-bf5xx-ac97.o:(.text+0xa84): first defined here

sound/soc/blackfin/snd-soc-bf5xx-i2s.o: In function `sport_config_rx_dma':

(.text+0x1024): multiple definition of `sport_config_rx_dma'

sound/soc/blackfin/snd-soc-bf5xx-ac97.o:(.text+0x1438): first defined here

sound/soc/blackfin/snd-soc-bf5xx-i2s.o: In function `sport_init':

(.text+0xa40): multiple definition of `sport_init'

sound/soc/blackfin/snd-soc-bf5xx-ac97.o:(.text+0xe54): first defined here

sound/soc/blackfin/snd-soc-bf5xx-i2s.o: In function `sport_rx_stop':

(.text+0x740): multiple definition of `sport_rx_stop'

sound/soc/blackfin/snd-soc-bf5xx-ac97.o:(.text+0xb54): first defined here

sound/soc/blackfin/snd-soc-bf5xx-i2s.o: In function `sport_done':

(.text+0x268): multiple definition of `sport_done'

sound/soc/blackfin/snd-soc-bf5xx-ac97.o:(.text+0x67c): first defined here

sound/soc/blackfin/snd-soc-bf5xx-i2s.o: In function `sport_tx_stop':

(.text+0x478): multiple definition of `sport_tx_stop'

sound/soc/blackfin/snd-soc-bf5xx-ac97.o:(.text+0x88c): first defined here

sound/soc/blackfin/snd-soc-bf5xx-i2s.o: In function `sport_config_rx':

(.text+0x5f8): multiple definition of `sport_config_rx'

sound/soc/blackfin/snd-soc-bf5xx-ac97.o:(.text+0xa0c): first defined here

sound/soc/blackfin/snd-soc-bf5xx-i2s.o: In function `sport_curr_offset_rx':

(.text+0x45c): multiple definition of `sport_curr_offset_rx'

sound/soc/blackfin/snd-soc-bf5xx-ac97.o:(.text+0x870): first defined here

sound/soc/blackfin/snd-soc-bf5xx-i2s.o: In function `decfrag':

(.text+0x10c): multiple definition of `decfrag'

sound/soc/blackfin/snd-soc-bf5xx-ac97.o:(.text+0x520): first defined here

sound/soc/blackfin/snd-soc-bf5xx-i2s.o: In function `sport_curr_offset_tx':

(.text+0x440): multiple definition of `sport_curr_offset_tx'

sound/soc/blackfin/snd-soc-bf5xx-ac97.o:(.text+0x854): first defined here

sound/soc/blackfin/snd-soc-bf5xx-i2s.o: In function `sport_set_rx_callback':

(.text+0x374): multiple definition of `sport_set_rx_callback'

sound/soc/blackfin/snd-soc-bf5xx-ac97.o:(.text+0x788): first defined here

sound/soc/blackfin/snd-soc-bf5xx-i2s.o: In function `sport_config_tx_dma':

(.text+0x898): multiple definition of `sport_config_tx_dma'

sound/soc/blackfin/snd-soc-bf5xx-ac97.o:(.text+0xcac): first defined here

sound/soc/blackfin/snd-soc-bf5xx-i2s.o: In function `sport_set_tx_callback':

(.text+0x32c): multiple definition of `sport_set_tx_callback'

sound/soc/blackfin/snd-soc-bf5xx-ac97.o:(.text+0x740): first defined here

sound/soc/blackfin/snd-soc-bf5xx-i2s.o: In function `sport_config_tx':

(.text+0x638): multiple definition of `sport_config_tx'

sound/soc/blackfin/snd-soc-bf5xx-ac97.o:(.text+0xa4c): first defined here

sound/soc/blackfin/snd-soc-bf5xx-wm8731.o:(.bss+0x0): multiple definition of `sport_handle'

sound/soc/blackfin/snd-soc-bf5xx-ac97.o:(.bss+0x0): first defined here

make[4]: *** [sound/soc/blackfin/built-in.o] Error 1

make[3]: *** [sound/soc/blackfin] Error 2

make[2]: *** [sound/soc] Error 2

make[1]: *** [sound] Error 2

make[1]: Leaving directory `/home/aaron/bf527/uClinux-dist-2008R1-RC8/linux-2.6.x'

make: *** [linux] Error 1

 

 

QuoteReplyEditDelete

 

 

2008-04-26 18:59:48     Re: Compiling WM8731 error on BF527-EZKIT board

Robin Getz (UNITED STATES)

Message: 55030    Aaron:

 

We do not have not tested that driver - so it does not work. It is not likely that we would spend alot of time on a Wolfson codec, so you are on your own.

 

We will be doing the driver for the BF52xC as soon as some technical details are published.

Have a look at:

http://blackfin.uclinux.org/gf/project/uclinux-dist/tracker/?action=TrackerItemEdit&tracker_item_id=3810

 

-Robin

Attachments

    Outcomes