You are not logged in.

#1 2011-10-18 13:35:26

casacristo
Member
Registered: 2011-09-29
Posts: 10

[SOLVED] error compiling kernel 2.6.29

Hi,

Due to having the DVD-S card mentioned here
http://www.linuxtv.org/pipermail/linux- … 23265.html

I am trying to compile kernel 2.6.29.6 with the above mentioned patch but get an error:

include/sound/soc-dai.h: At top level:
include/sound/soc-dai.h:224:25: error: duplicate member ‘codec’
sound/soc/soc-core.c: In function ‘snd_soc_init_card’:
sound/soc/soc-core.c:1360:18: warning: variable ‘ac97’ set but not used
[-Wunused-but-set-variable]
make[2]: *** [sound/soc/soc-core.o] Error 1
make[1]: *** [sound/soc] Error 2
make: *** [sound] Error 2



bash: vim include/sound/soc-dai.h

        /* DAI runtime info */
        struct snd_pcm_runtime *runtime;
        struct snd_soc_codec *codec;
        unsigned int active;
        unsigned char pop_wait:1;
        void *dma_data;

        /* DAI private data */
        void *private_data;

        /* parent codec/platform */
        union {
                struct snd_soc_codec *codec;
                struct snd_soc_platform *platform;
        };


Note:

I found a solution:
http://mailman.alsa-project.org/piperma … 16949.html

Last edited by casacristo (2011-10-19 07:46:01)

Offline

Board footer

Powered by FluxBB