[alsa-devel] 答复: [asoc:for-5.2 105/107] ERROR: "sprd_platform_compr_ops"[sound/soc/sprd/sprd-pcm-dma.ko] undefined!

wen.yang99 at zte.com.cn wen.yang99 at zte.com.cn
Wed Apr 3 05:07:17 CEST 2019


Hi Baolin & Yintang,

    This build error may be caused by commit cce1396936ef(“ASoC: sprd: Add Spreadtrum audio compress offload support”).
     Perhaps this line:    
            +obj-$(CONFIG_SND_SOC_SPRD)	+= sprd-pcm-dma.o sprd-pcm-compress.o 
     may be changed to:  
            obj-$(CONFIG_SND_SOC_SPRD)	+= sprd-pcm-dma.o
            sprd-pcm-dma-objs += sprd-pcm-compress.o

---
Best wishes
Wen

> Hi Wen,
> 
> First bad commit (maybe != root cause):
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.2
> head:   6d5e2bf9d203e4d9e08ca2e9420c6ff22ad190af
> commit: c705247136a523488eac806bd357c3e5d79a7acd [105/107] ASoC: fsl_utils: fix a leaked reference by adding missing of_node_put
> config: mips-allmodconfig (attached as .config)
> compiler: mips-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
> reproduce:
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout c705247136a523488eac806bd357c3e5d79a7acd
> # save the attached .config to linux build tree
> GCC_VERSION=7.2.0 make.cross ARCH=mips
> 
> All errors (new ones prefixed by >>):
> 
> >> ERROR: "sprd_platform_compr_ops" [sound/soc/sprd/sprd-pcm-dma.ko] undefined!
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 59148 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20190403/6418ee05/attachment-0001.obj>


More information about the Alsa-devel mailing list