compile error w/ envy24ht + linux 2.5.67
Hi there,
When I try to compile a Linux 2.5.67 kernel with Alsa (from today's CVS) I get the following error:
gcc -Wp,-MD,sound/pci/ice1712/.ice1724.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc -iwithprefix include -DKBUILD_BASENAME=ice1724 -DKBUILD_MODNAME=snd_ice1724 -c -o sound/pci/ice1712/ice1724.o sound/pci/ice1712/ice1724.csound/pci/ice1712/ice1724.c:1297: parse error before __attribute__' sound/pci/ice1712/ice1724.c:1214: warning: snd_vt1724_pro_internal_clock_info' defined but not used sound/pci/ice1712/ice1724.c:1243: warning: snd_vt1724_pro_internal_clock_get' defined but not used sound/pci/ice1712/ice1724.c:1266: warning: snd_vt1724_pro_internal_clock_put' defined but not used make[3]: *** [sound/pci/ice1712/ice1724.o] Error 1
make[2]: *** [sound/pci/ice1712] Error 2
make[1]: *** [sound/pci] Error 2
make: *** [sound] Error 2
I have both gcc 2.95.4 and 3.2.3-0pre5 installed (debian - testing).
Any help would be appreciated.
Thanks,
Steve
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Quoted 13 lines · Stephen Hassard
Hi there,
When I try to compile a Linux 2.5.67 kernel with Alsa (from today's CVS) I get the following error:
gcc -Wp,-MD,sound/pci/ice1712/.ice1724.o.d -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -nostdinc -iwithprefix include -DKBUILD_BASENAME=ice1724 -DKBUILD_MODNAME=snd_ice1724 -c -osound/pci/ice1712/ice1724.osound/pci/ice1712/ice1724.csound/pci/ice1712/ice1724.c:1297: parse error before__attribute__' sound/pci/ice1712/ice1724.c:1214: warning:snd_vt1724_pro_internal_clock_info' defined but not usedsound/pci/ice1712/ice1724.c:1243: warning:snd_vt1724_pro_internal_clock_get' defined but not used sound/pci/ice1712/ice1724.c:1266: warning:snd_vt1724_pro_internal_clock_put' defined but not used make[3]: *** [sound/pci/ice1712/ice1724.o] Error 1
make[2]: *** [sound/pci/ice1712] Error 2
make[1]: *** [sound/pci] Error 2
make: *** [sound] Error 2
Quoted 1 line
I have both gcc 2.95.4 and 3.2.3-0pre5 installed (debian - testing).
Try this patch (already in CVS):
ice1724.c 16 Apr 2003 08:45:53 -0000 1.4 renamed from ice1724.c 15 Mar 2003 15:38:29 -0000 1.3 +1 -1
@@ -1294,7 +1294,7 @@ return change; } -static snd_kcontrol_new_t snd_vt1724_pro_internal_clock = __devinitdata { +static snd_kcontrol_new_t snd_vt1724_pro_internal_clock __devinitdata = { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = "Multi Track Internal Clock", .info = snd_vt1724_pro_internal_clock_info,
Jaroslav
-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf