* Compilation of Alsa 1.0.17 on Suse10 crashes
@ 2008-08-21 21:59 Vaclav Peroutka
2008-08-22 6:26 ` Takashi Iwai
0 siblings, 1 reply; 5+ messages in thread
From: Vaclav Peroutka @ 2008-08-21 21:59 UTC (permalink / raw)
To: alsa-devel
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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Compilation of Alsa 1.0.17 on Suse10 crashes 2008-08-21 21:59 Compilation of Alsa 1.0.17 on Suse10 crashes Vaclav Peroutka @ 2008-08-22 6:26 ` Takashi Iwai 2008-08-22 18:47 ` Vaclav Peroutka [not found] ` <3870.6922-16169-444391253-1219424909@seznam.cz> 0 siblings, 2 replies; 5+ messages in thread From: Takashi Iwai @ 2008-08-22 6:26 UTC (permalink / raw) To: Vaclav Peroutka; +Cc: alsa-devel At Thu, 21 Aug 2008 23:59:14 +0200 (CEST), Vaclav Peroutka wrote: > > 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 ? Use the later version, at best, the daily snapshot tarball http://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/ Or, you can try alsa-driver-kmp on standard SUSE systems. http://download.opensuse.org/repositories/multimedia:/audio:/KMP/ Check openSUSE Wiki SDB:AudioTroubleshooting for details. Takashi _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Compilation of Alsa 1.0.17 on Suse10 crashes 2008-08-22 6:26 ` Takashi Iwai @ 2008-08-22 18:47 ` Vaclav Peroutka 2008-08-23 12:29 ` Ben Stanley [not found] ` <3870.6922-16169-444391253-1219424909@seznam.cz> 1 sibling, 1 reply; 5+ messages in thread From: Vaclav Peroutka @ 2008-08-22 18:47 UTC (permalink / raw) To: alsa-devel Hello all, I tried to compile alsa-driver-snapshort but the same erro appeared. I found that in suse 10.0 kernel 2.6.13-15 there are following functions missing: platform_device_alloc(), platform_device_add(), platform_device_put() I tried to find them on internet and add them into platform_device_compat.h . But no success at all - more errors. So they were not the correct one. Can somebody send me those necessary functions ? Thank you in advance, Vaclav > ------------ Původní zpráva ------------ > Předmět: Re: [alsa-devel] Compilation of Alsa 1.0.17 on Suse10 crashes > Datum: 22.8.2008 08:40:47 > ---------------------------------------- > At Thu, 21 Aug 2008 23:59:14 +0200 (CEST), > Vaclav Peroutka wrote: > > > > 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 ? > > Use the later version, at best, the daily snapshot tarball > http://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/ > > Or, you can try alsa-driver-kmp on standard SUSE systems. > http://download.opensuse.org/repositories/multimedia:/audio:/KMP/ > > Check openSUSE Wiki SDB:AudioTroubleshooting for details. > > > Takashi > > > _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Compilation of Alsa 1.0.17 on Suse10 crashes 2008-08-22 18:47 ` Vaclav Peroutka @ 2008-08-23 12:29 ` Ben Stanley 0 siblings, 0 replies; 5+ messages in thread From: Ben Stanley @ 2008-08-23 12:29 UTC (permalink / raw) To: Vaclav Peroutka; +Cc: alsa-devel Vaclav, If you really want to run new alsa on a kernel that old, you will have to backport the functions you mentioned from a kernel in which they appear. The code you need will be in Linus' git tree at http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=tree You might consider modifying the alsa autoconf system to supply these functions if they are not present in the kernel. Backporting new features to old kernels is not a trivial task and will require kernel hacking knowledge. The difficulty increases with the distance between the introduction of the new feature and the target of the backport. Good Luck. Ben Stanley. On Fri, 2008-08-22 at 20:47 +0200, Vaclav Peroutka wrote: > Hello all, > > I tried to compile alsa-driver-snapshort but the same erro appeared. > > I found that in suse 10.0 kernel 2.6.13-15 there are following functions missing: > platform_device_alloc(), platform_device_add(), platform_device_put() > > I tried to find them on internet and add them into platform_device_compat.h . But no success at all - more errors. So they were not the correct one. > > Can somebody send me those necessary functions ? > > Thank you in advance, > Vaclav > > > ------------ Původní zpráva ------------ > > Předmět: Re: [alsa-devel] Compilation of Alsa 1.0.17 on Suse10 crashes > > Datum: 22.8.2008 08:40:47 > > ---------------------------------------- > > At Thu, 21 Aug 2008 23:59:14 +0200 (CEST), > > Vaclav Peroutka wrote: > > > > > > 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 ? > > > > Use the later version, at best, the daily snapshot tarball > > http://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/ > > > > Or, you can try alsa-driver-kmp on standard SUSE systems. > > http://download.opensuse.org/repositories/multimedia:/audio:/KMP/ > > > > Check openSUSE Wiki SDB:AudioTroubleshooting for details. > > > > > > Takashi > > > > > > > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@alsa-project.org > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <3870.6922-16169-444391253-1219424909@seznam.cz>]
* Re: Compilation of Alsa 1.0.17 on Suse10 crashes [not found] ` <3870.6922-16169-444391253-1219424909@seznam.cz> @ 2008-08-26 6:49 ` Takashi Iwai 0 siblings, 0 replies; 5+ messages in thread From: Takashi Iwai @ 2008-08-26 6:49 UTC (permalink / raw) To: Vaclav Peroutka; +Cc: alsa-devel At Fri, 22 Aug 2008 19:08:29 +0200 (CEST), Vaclav Peroutka wrote: > > Hello Mr. Takashi, > > I tried to compile alsa-driver-snapshot from the page you advised me. But the problem was the same. I am sending you configure.log and make.log files. Hopefully they will clarify the problem. > > I still have problem with mts64.c. OK, I see the problem, too. As a temporary workaround, you can change alsa-driver/kconfig-vers. This is a list of the least kernel version for some drivers, and mts64 is there, too. Change the version to 2.6.26 or such, so that it won't be built for your kernel. Meanwhile, I'll try to fix the problem in the upstream. thanks, Takashi > > Can you help me please ? > > Thank you in advance, > Vaclav > > > ------------ Původní zpráva ------------ > > Od: Takashi Iwai <tiwai@suse.de> > > Předmět: Re: [alsa-devel] Compilation of Alsa 1.0.17 on Suse10 crashes > > Datum: 22.8.2008 08:27:13 > > ---------------------------------------- > > At Thu, 21 Aug 2008 23:59:14 +0200 (CEST), > > Vaclav Peroutka wrote: > > > > > > 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 ? > > > > Use the later version, at best, the daily snapshot tarball > > http://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/ > > > > Or, you can try alsa-driver-kmp on standard SUSE systems. > > http://download.opensuse.org/repositories/multimedia:/audio:/KMP/ > > > > Check openSUSE Wiki SDB:AudioTroubleshooting for details. > > > > > > Takashi > > _______________________________________________ > > Alsa-devel mailing list > > Alsa-devel@alsa-project.org > > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel > > > > > > _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-08-26 6:49 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-21 21:59 Compilation of Alsa 1.0.17 on Suse10 crashes Vaclav Peroutka
2008-08-22 6:26 ` Takashi Iwai
2008-08-22 18:47 ` Vaclav Peroutka
2008-08-23 12:29 ` Ben Stanley
[not found] ` <3870.6922-16169-444391253-1219424909@seznam.cz>
2008-08-26 6:49 ` Takashi Iwai
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.