Paulo Cavalcanti wrote: > Axel, > > I think you will not be able to compile alsa-driver for the new F10 kernel. > > Fedora defined fmode_t in the kernel, and it is conflicting with > the definition in the alsa tarball. > > I do not see an elegant way to patch it, because the test in the tarball > if for kernels < 2.6.28. Furthermore, it was not supposed to appear > a new typedef in the 2.6.27 kernel. > > The tarball file is: include/adriver.h > > /* other missing types */ > #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 28) > typedef unsigned int fmode_t; > #endif > > Even removing this typedef, the compilation aborts, and I do not know > why. I see only warnings. I have to save the log and look better. > > If you get any further, please let me know. > > > In file included from > /home/roma/redhat/BUILD/alsa-driver/include/config.h:6, > from > /home/roma/redhat/BUILD/alsa-driver/include/adriver.h:25, > from > /home/roma/redhat/BUILD/alsa-driver/pci/ymfpci/ymfpci_main.c:2: > /home/roma/redhat/BUILD/alsa-driver/include/config1.h:65:1: warning: > "CONFIG_SND_AC97_POWER_SAVE_DEFAULT" redefined > In file included from <command-line>:0: > ./include/linux/autoconf.h:261:1: warning: this is the location of the > previous definition > LD [M] /home/roma/redhat/BUILD/alsa-driver/pci/vx222/snd-vx222.o > LD [M] /home/roma/redhat/BUILD/alsa-driver/pci/snd-als300.o > LD [M] /home/roma/redhat/BUILD/alsa-driver/pci/snd-als4000.o > LD [M] /home/roma/redhat/BUILD/alsa-driver/pci/snd-atiixp.o > LD [M] /home/roma/redhat/BUILD/alsa-driver/pci/snd-atiixp-modem.o > LD [M] /home/roma/redhat/BUILD/alsa-driver/pci/snd-azt3328.o > LD [M] /home/roma/redhat/BUILD/alsa-driver/pci/snd-bt87x.o > LD [M] /home/roma/redhat/BUILD/alsa-driver/pci/trident/snd-trident.o > LD [M] /home/roma/redhat/BUILD/alsa-driver/pci/snd-cmipci.o > LD [M] /home/roma/redhat/BUILD/alsa-driver/pci/snd-cs4281.o > LD [M] /home/roma/redhat/BUILD/alsa-driver/pci/snd-cs5530.o > LD [M] /home/roma/redhat/BUILD/alsa-driver/pci/snd-ens1370.o > LD [M] /home/roma/redhat/BUILD/alsa-driver/pci/snd-ens1371.o > LD [M] /home/roma/redhat/BUILD/alsa-driver/pci/snd-es1938.o > LD [M] /home/roma/redhat/BUILD/alsa-driver/pci/snd-es1968.o > LD [M] /home/roma/redhat/BUILD/alsa-driver/pci/snd-fm801.o > LD [M] /home/roma/redhat/BUILD/alsa-driver/pci/snd-intel8x0.o > LD [M] /home/roma/redhat/BUILD/alsa-driver/pci/snd-intel8x0m.o > LD [M] /home/roma/redhat/BUILD/alsa-driver/pci/snd-maestro3.o > LD [M] /home/roma/redhat/BUILD/alsa-driver/pci/snd-rme32.o > LD [M] /home/roma/redhat/BUILD/alsa-driver/pci/snd-rme96.o > LD [M] /home/roma/redhat/BUILD/alsa-driver/pci/snd-sonicvibes.o > LD [M] /home/roma/redhat/BUILD/alsa-driver/pci/snd-via82xx.o > LD [M] /home/roma/redhat/BUILD/alsa-driver/pci/snd-via82xx-modem.o > LD [M] /home/roma/redhat/BUILD/alsa-driver/pci/ymfpci/snd-ymfpci.o > make[1]: *** [_module_/home/roma/redhat/BUILD/alsa-driver] Error 2 > make[1]: Leaving directory `/usr/src/kernels/2.6.27.9-159.fc10.x86_64' > make: *** [compile] Error 2 > error: Bad exit status from /home/roma/redhat/tmp/rpm-tmp.Pn5gCb (%build) > > > RPM build errors: > Bad exit status from /home/roma/redhat/tmp/rpm-tmp.Pn5gCb (%build)
It's not built with -Werror is it? // Stefan _______________________________________________ atrpms-devel mailing list [email protected] http://lists.atrpms.net/mailman/listinfo/atrpms-devel
