So you're trying to build development software on a beta release, and
you're getting errors you say? SHOCKING!
On 4/2/07, Jerry Geis <geisj at pagestation.com>
wrote:> I was trying to compile alsa 1.0.14rc3 on centos 4.92 and there are errors.
> I have informed alsa. They dont seem to happy redhat has once again
> messed up
> alsa with their custom kernel.
>
> Just FYI.
>
> Jerry
>
> CC [M] /usr/src/alsa-driver-1.0.14rc3/misc/ac97_bus.o
> In file included from /usr/src/alsa-driver-1.0.14rc3/misc/ac97_bus.c:1:
> /usr/src/alsa-driver-1.0.14rc3/misc/../alsa-kernel/ac97_bus.c:30: error:
> syntax error before "pm_message_t"
> /usr/src/alsa-driver-1.0.14rc3/misc/../alsa-kernel/ac97_bus.c:31:
> warning: function declaration isn't a prototype
> /usr/src/alsa-driver-1.0.14rc3/misc/../alsa-kernel/ac97_bus.c: In
> function `ac97_bus_suspend':
> /usr/src/alsa-driver-1.0.14rc3/misc/../alsa-kernel/ac97_bus.c:34: error:
> `dev' undeclared (first use in this function)
> /usr/src/alsa-driver-1.0.14rc3/misc/../alsa-kernel/ac97_bus.c:34: error:
> (Each undeclared identifier is reported only once
> /usr/src/alsa-driver-1.0.14rc3/misc/../alsa-kernel/ac97_bus.c:34: error:
> for each function it appears in.)
> /usr/src/alsa-driver-1.0.14rc3/misc/../alsa-kernel/ac97_bus.c:35: error:
> `state' undeclared (first use in this function)
> /usr/src/alsa-driver-1.0.14rc3/misc/../alsa-kernel/ac97_bus.c: In
> function `ac97_bus_resume':
> /usr/src/alsa-driver-1.0.14rc3/misc/../alsa-kernel/ac97_bus.c:45: error:
> too few arguments to function
> make[3]: *** [/usr/src/alsa-driver-1.0.14rc3/misc/ac97_bus.o] Error 1
> make[2]: *** [/usr/src/alsa-driver-1.0.14rc3/misc] Error 2
> make[1]: *** [_module_/usr/src/alsa-driver-1.0.14rc3] Error 2
> make[1]: Leaving directory
`/usr/src/kernels/2.6.9-42.0.10.EL-smp-x86_64'
> make: *** [compile] Error 2
>
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
--
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell