Hello all,
I downloaded alsa-driver-1.0.17 and tried to compile it. I started with "./configure --with-suse=auto --with-oss=yes --with-cards=all,mts64=n" and then "make".
But I always get following: ... CC [M] /tmp/alsa-driver-1.0.17/drivers/mts64.o /tmp/alsa-driver-1.0.17/drivers/mts64.c: In function ‘snd_mts64_attach’: /tmp/alsa-driver-1.0.17/drivers/mts64.c:896: error: implicit declaration of function ‘platform_device_alloc’ /tmp/alsa-driver-1.0.17/drivers/mts64.c:896: warning: assignment makes pointer from integer without a cast /tmp/alsa-driver-1.0.17/drivers/mts64.c:903: error: implicit declaration of function ‘platform_device_add’ /tmp/alsa-driver-1.0.17/drivers/mts64.c:904: error: implicit declaration of function ‘platform_device_put’ make[4]: *** [/tmp/alsa-driver-1.0.17/drivers/mts64.o] Error 1 make[3]: *** [/tmp/alsa-driver-1.0.17/drivers] Error 2 make[2]: *** [_module_/tmp/alsa-driver-1.0.17] Error 2 make[1]: *** [modules] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.13-15'
My GCC:
gcc --version
gcc (GCC) 4.0.2 20050901 (prerelease) (SUSE Linux)
Is there something missing ? What should I do now ?
Thank you in advance, Vaclav