Hello,
While trying to compile the latest alsa-kernel + alsa-drivers from HG using ./hgcompile, I am hitting the following error:
CC [M] /home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.o In file included from /home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:23: /home/pavel/projects/alsa/alsa-driver/include/sound/driver.h:1:2: warning: #warning "This file is deprecated" /home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:60: error: redefinition of ‘video_get_drvdata’ include/media/v4l2-dev.h:383: error: previous definition of ‘video_get_drvdata’ was here /home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:65: error: redefinition of ‘video_set_drvdata’ include/media/v4l2-dev.h:388: error: previous definition of ‘video_set_drvdata’ was here /home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:101:5: warning: "LINUX_VERSION_CODE" is not defined /home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:101:26: warning: "KERNEL_VERSION" is not defined /home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:101:40: error: missing binary operator before token "(" /home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:112:5: warning: "LINUX_VERSION_CODE" is not defined /home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:112:27: warning: "KERNEL_VERSION" is not defined /home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:112:41: error: missing binary operator before token "(" /home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:120:5: warning: "LINUX_VERSION_CODE" is not defined /home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:120:27: warning: "KERNEL_VERSION" is not defined /home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:120:41: error: missing binary operator before token "(" /home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:124:5: warning: "LINUX_VERSION_CODE" is not defined /home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:124:27: warning: "KERNEL_VERSION" is not defined /home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:124:41: error: missing binary operator before token "(" /home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:204:5: warning: "LINUX_VERSION_CODE" is not defined /home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:204:27: warning: "KERNEL_VERSION" is not defined /home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:204:41: error: missing binary operator before token "(" /home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:227:5: warning: "LINUX_VERSION_CODE" is not defined /home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:227:26: warning: "KERNEL_VERSION" is not defined /home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:227:40: error: missing binary operator before token "(" /home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:230:5: warning: "LINUX_VERSION_CODE" is not defined /home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:230:27: warning: "KERNEL_VERSION" is not defined /home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:230:41: error: missing binary operator before token "(" /home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:234:5: warning: "LINUX_VERSION_CODE" is not defined /home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:234:26: warning: "KERNEL_VERSION" is not defined /home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:234:40: error: missing binary operator before token "(" /home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c: In function ‘snd_tea575x_init’: /home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.c:243: warning: assignment from incompatible pointer type make[4]: *** [/home/pavel/projects/alsa/alsa-driver/i2c/other/tea575x-tuner.o] Error 1
The system runs on 2.6.22-14-rt kernel, corresponding package with headers installed correctly. Perhaps I am doing something wrong.
Thanks a lot for any help.
Regards,
Pavel Hofman.